/* 关于我们页面样式 */
.about-intro {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.about-intro h1 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-size: 2.5em;
}

.about-content {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.about-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8em;
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-content ul {
    list-style-position: inside;
    margin-left: 20px;
    margin-bottom: 20px;
}

.about-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.cultural-significance {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background: white;
}

.cultural-significance h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 2em;
}

.significance-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 20px;
}

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

.significance-content li {
    padding: 15px;
    margin-bottom: 10px;
    background: var(--light-gray);
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.significance-content li:hover {
    transform: translateX(10px);
    background: #e8e8e8;
}

/* 团队成员展示区域样式 */
.team-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px 20px;
}

.team-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-size: 2em;
}

.team-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px;
}

.team-member {
    background: white;
    border: 1px solid var(--secondary-color);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: row;
    padding: 30px;
    gap: 30px;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(205, 175, 113, 0.2);
}

.member-left {
    flex: 0 0 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 2px solid var(--accent-color);
    padding-right: 30px;
}

.member-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 3px solid var(--secondary-color);
}

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

.member-info {
    flex: 1;
    text-align: left;
    padding: 0;
}

.member-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.5em;
    text-align: center;
}

.member-info .role {
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

.member-info .quote {
    font-style: italic;
    color: var(--text-color);
    line-height: 1.8;
    padding: 20px;
    background: var(--accent-color);
    border-radius: 8px;
    margin-top: 15px;
}

/* 上海漫步页面样式 */
.timeline-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    padding: 20px 0;
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    z-index: 0;
}

.timeline-era {
    margin-bottom: 100px;
    position: relative;
    clear: both;
}

.timeline-era::after {
    content: '';
    display: table;
    clear: both;
}

.era-title {
    text-align: center;
    margin: 40px 0;
    padding: 15px;
    background-color: var(--secondary-color);
    color: var(--dark-bg);
    border-radius: 8px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    visibility: hidden;
    width: 100%;
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.era-title.animate {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.timeline-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 60px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    width: calc(50% - 50px);
    border: 1px solid var(--secondary-color);
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    clear: both;
    z-index: 1;
    transform-origin: center center;
    will-change: transform, width, box-shadow;
    cursor: pointer;
}

.timeline-item:nth-child(odd) {
    float: left;
    clear: both;
    transform-origin: center center;
}

.timeline-item:nth-child(even) {
    float: right;
    clear: both;
    transform-origin: center center;
}

.timeline-item.active {
    width: 90%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    float: none;
    transform: scale(1.01);
    box-shadow: 0 15px 35px rgba(166, 25, 46, 0.25);
    z-index: 100;
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item:nth-child(even).active {
    flex-direction: row-reverse;
}

.timeline-content {
    flex: 1;
    transition: all 0.5s cubic-bezier(0.1, 0.7, 0.1, 1);
    position: relative;
    z-index: 2;
}

.timeline-image {
    position: relative;
    width: 0;
    height: 0;
    flex: 0;
    background: var(--accent-color);
    border: 2px solid var(--secondary-color);
    border-radius: 12px;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: none;
}

.timeline-item.active .timeline-image {
    width: 400px;
    height: 300px;
    flex: 0 0 400px;
    opacity: 1;
    display: block;
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border: 4px solid var(--secondary-color);
    border-radius: 50%;
    top: 20px;
    z-index: 2;
}

.timeline-item:nth-child(odd)::before {
    right: -60px;
}

.timeline-item:nth-child(even)::before {
    left: -60px;
}

.timeline-item.active::before {
    width: 30px;
    height: 30px;
    top: 15px;
    background: var(--primary-light);
    border-color: var(--secondary-light);
    box-shadow: 0 0 10px rgba(166, 25, 46, 0.5);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.4em;
}

.timeline-content h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.2em;
}

.timeline-content p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Timeline animations */
.timeline-item.slide-in-left {
    animation: slideInLeft 0.8s ease forwards;
}

.timeline-item.slide-in-right {
    animation: slideInRight 0.8s ease forwards;
}

/* Responsive adjustments for timeline */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .era-title {
        width: calc(100% - 60px);
        margin-left: 60px;
        font-size: 1.6em;
        text-align: left;
    }
    
    .timeline-item {
        width: calc(100% - 60px);
        float: right;
        margin-left: 60px;
    }
    
    .timeline-item::before {
        left: -45px !important;
    }
    
    .timeline-item.active {
        width: calc(100% - 60px);
        margin-left: 60px;
        flex-direction: column !important;
    }
    
    .timeline-item.active .timeline-image {
        width: 100%;
        flex: none;
        height: 200px;
        margin-top: 20px;
    }
}

/* 城市漫步活动样式 */
.city-walks {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.city-walks h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-size: 2em;
}

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

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

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

.event-item h3 {
    color: var(--primary-color);
    padding: 20px;
    margin: 0;
    background: var(--light-gray);
}

.event-item p {
    padding: 20px;
    margin: 0;
    line-height: 1.6;
}

.event-details {
    list-style: none;
    padding: 0 20px 20px;
    margin: 0;
}

.event-details li {
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray);
}

.event-details li:last-child {
    border-bottom: none;
}

/* 上海话页面样式 */
.dialect-intro {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.dialect-intro h1 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 2.5em;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 10px;
}

.intro-content p {
    line-height: 1.8;
    margin-bottom: 20px;
}

/* 基本短语部分 */
.basic-phrases {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.basic-phrases h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-size: 2em;
}

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

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

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

.phrase-card h3 {
    background: var(--primary-color);
    color: white;
    padding: 15px;
    margin: 0;
    text-align: center;
}

.phrase-item {
    padding: 20px;
}

.phrase-item p {
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
}

.shanghainese {
    font-weight: bold;
    color: var(--primary-color);
    background: var(--light-gray);
}

.mandarin {
    color: #666;
}

.pinyin {
    font-style: italic;
    color: #888;
}

.meaning {
    border-top: 1px solid var(--light-gray);
    padding-top: 10px;
}

/* 发音指南部分 */
.pronunciation-guide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background: var(--light-gray);
    border-radius: 10px;
}

.pronunciation-guide h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-size: 2em;
}

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

.guide-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.guide-item h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.guide-item ul {
    list-style-type: none;
    padding: 0;
}

.guide-item li {
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray);
}

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

/* 联系我们页面样式 */
.contact-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.contact-section h1 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 50px;
    font-size: 2.5em;
}

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

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

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

.social-card h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8em;
}

.qr-code {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    padding: 10px;
    background: white;
    border: 1px solid var(--light-gray);
    border-radius: 10px;
}

.qr-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.social-card p {
    color: #666;
    line-height: 1.6;
}

/* 社交媒体卡片特定样式 */
.social-card.wechat {
    border-top: 5px solid #07C160;
}

.social-card.xiaohongshu {
    border-top: 5px solid #FE2C55;
}

.social-card.bilibili {
    border-top: 5px solid #00A1D6;
}

.bilibili-info {
    padding: 20px;
    background: var(--light-gray);
    border-radius: 10px;
    margin-top: 20px;
}

.username {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.description {
    font-size: 0.9em;
}

/* 其他联系信息样式 */
.contact-info {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: var(--light-gray);
    border-radius: 10px;
    text-align: center;
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8em;
}

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

/* 上海戏曲页面样式 */
.opera-intro {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.opera-intro h1 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 2.5em;
}

.opera-intro .intro-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: var(--light-gray);
    border-radius: 10px;
    text-align: left;
}

.opera-intro p {
    line-height: 1.8;
    margin-bottom: 20px;
}

/* 艺术特色部分 */
.opera-features {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.opera-features h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-size: 2em;
}

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

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

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

.feature-card h3 {
    background: var(--primary-color);
    color: white;
    padding: 20px;
    margin: 0;
    text-align: center;
}

.feature-card p {
    padding: 20px;
    line-height: 1.6;
    color: #666;
}

/* 经典剧目部分 */
.classic-plays {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background: var(--light-gray);
    border-radius: 10px;
}

.classic-plays h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-size: 2em;
}

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

.play-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.play-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5em;
    text-align: center;
}

.play-item p {
    color: #666;
    line-height: 1.6;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
    padding: 0;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./images/shanghai-skyline.jpg');
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 0.5s ease;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-buttons .btn {
    min-width: 160px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1;
}

/* Statistics Section */
.statistics-section {
    padding: 80px 0;
    background: var(--accent-color);
    position: relative;
    overflow: hidden;
}

.statistics-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(205, 175, 113, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(166, 25, 46, 0.1) 0%, transparent 30%);
    z-index: 0;
}

.statistics-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.statistic-item {
    text-align: center;
    padding: 30px;
    min-width: 200px;
    transition: transform 0.3s ease;
}

.statistic-item:hover {
    transform: translateY(-10px);
}

.statistic-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.statistic-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.statistic-label {
    font-size: 1.2rem;
    color: var(--text-color);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

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

.section-description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Enhanced Content Blocks */
.blocks-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.block:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    color: white;
    background: rgba(166, 25, 46, 0.8);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.block:hover .overlay-content {
    transform: translateY(0);
}

.btn-sm {
    padding: 5px 15px;
    font-size: 0.9em;
}

/* Then & Now Section */
.then-now-section {
    padding: 80px 0;
    background: white;
}

.image-comparison {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 500px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.before, .after {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.before {
    left: 0;
    z-index: 1;
}

.after {
    right: 0;
}

.before img, .after img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comparison-slider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: white;
    z-index: 2;
    cursor: ew-resize;
}

.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-handle::before, .slider-handle::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 2px;
    background: var(--primary-color);
}

.slider-handle::before {
    transform: rotate(45deg);
}

.slider-handle::after {
    transform: rotate(-45deg);
}

.label {
    position: absolute;
    bottom: 20px;
    padding: 5px 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 20px;
    font-weight: bold;
}

.before .label {
    left: 20px;
}

.after .label {
    right: 20px;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: var(--accent-color);
    position: relative;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-item {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 20px;
    opacity: 0;
    display: none;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.testimonial-item:first-child {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.quote-icon {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
    opacity: 0.3;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 20px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid var(--secondary-color);
}

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

.author-info h4 {
    margin: 0;
    color: var(--primary-color);
}

.author-info p {
    margin: 5px 0 0;
    color: var(--text-light);
    font-size: 0.9em;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.prev-testimonial, .next-testimonial {
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.prev-testimonial:hover, .next-testimonial:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(166, 25, 46, 0.3);
}

.testimonial-dots {
    display: flex;
    margin: 0 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(166, 25, 46, 0.3);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background: white;
}

.newsletter-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    background: var(--gradient-primary);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(166, 25, 46, 0.2);
    position: relative;
}

.newsletter-content {
    flex: 1;
    padding: 40px;
    color: white;
    position: relative;
    z-index: 1;
}

.newsletter-content h2 {
    margin-bottom: 15px;
    color: white;
}

.newsletter-content p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form .form-group {
    display: flex;
    margin-bottom: 15px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-size: 1rem;
}

.newsletter-form button {
    border-radius: 0 30px 30px 0;
    padding: 12px 25px;
    background: var(--secondary-color);
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--secondary-dark);
    transform: translateY(-3px);
}

.form-privacy {
    font-size: 0.9em;
    opacity: 0.8;
}

.form-privacy input[type="checkbox"] {
    margin-right: 10px;
}

.newsletter-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    overflow: hidden;
}

.decoration-element {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.decoration-element::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    border: 30px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

/* Enhanced Footer */
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
    text-align: center;
}

.footer-logo-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.footer-logo h3 {
    color: white;
    margin: 0;
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.footer-column {
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-column h4 {
    color: white;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
}

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

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: white;
    opacity: 0.8;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-column ul li a:hover {
    opacity: 1;
    transform: translateX(5px);
}

.footer-column ul li i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.social-icons {
    display: flex;
    gap: 15px;
}

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

.social-icon:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 20px 20px 0;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.8;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-bottom-links a:hover {
    opacity: 1;
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(166, 25, 46, 0.3);
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(166, 25, 46, 0.4);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .newsletter-container {
        flex-direction: column;
    }
    
    .newsletter-decoration {
        display: none;
    }
    
    .image-comparison {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 80vh;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .statistic-item {
        width: 50%;
    }
    
    .image-comparison {
        height: 300px;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
    }
    
    .newsletter-form input[type="email"] {
        border-radius: 30px;
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        border-radius: 30px;
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
    
    #back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    .statistic-item {
        width: 100%;
    }
    
    .image-comparison {
        height: 250px;
    }
} 