/* 績碩科技官網樣式表 */

/* 變數定義 */
:root {
    --primary-color: #1a237e;
    --secondary-color: #2196f3;
    --accent-color: #ff6f00;
    --success-color: #4caf50;
    --text-dark: #424242;
    --text-light: #666666;
    --bg-light: #f5f5f5;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

/* 全域樣式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Microsoft JhengHei", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

/* 導航列 */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

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

.nav-brand a {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

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

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

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* 主要橫幅輪播 */
#mainCarousel {
    margin-top: 70px;
}

.carousel-item {
    height: 600px;
}

.hero-slide {
    position: relative;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.8), rgba(33, 150, 243, 0.8));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

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

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

.carousel-indicators .active {
    background-color: var(--accent-color);
}

/* 按鈕樣式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: #e65100;
}

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

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

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

.btn-secondary:hover {
    background-color: #1976d2;
}

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

.btn-white:hover {
    background-color: var(--bg-light);
}

/* 區塊標題 */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

/* 服務預覽 */
.services-preview {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

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

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

/* 關於我們預覽 */
.about-preview {
    padding: 80px 0;
}

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

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* 案例預覽 */
.cases-preview {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.case-item {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

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

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

.case-content {
    padding: 1.5rem;
}

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

/* CTA區塊 */
.cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* 頁尾 */
.footer {
    background-color: #1a1a1a;
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}

/* 工具類別 */
.text-center {
    text-align: center;
}

/* 頁面橫幅 */
.page-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 70px;
}

.page-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* 關於我們頁面 */
.about-intro {
    padding: 80px 0;
}

.about-intro h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-intro .lead {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.vision-mission {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.info-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
}

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

.info-card .icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

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

.core-values {
    padding: 80px 0;
}

.value-item {
    text-align: center;
    padding: 2rem;
}

.value-item i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.value-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.company-culture {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.culture-gallery {
    margin-top: 3rem;
}

.culture-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

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

.culture-item:hover img {
    transform: scale(1.1);
}

.culture-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    padding: 2rem 1rem 1rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.culture-item:hover .overlay {
    transform: translateY(0);
}

.team-section {
    padding: 80px 0;
}

.team-member {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.member-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
}

.team-member h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* 產品與服務頁面 */
.services-overview {
    padding: 100px 0;
}

.service-box {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
    margin-bottom: 2rem;
}

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

.service-image {
    width: 100%;
    max-width: 180px;
    height: auto;
    margin-bottom: 2rem;
}

.service-box h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.service-box p {
    line-height: 1.8;
}

.service-detail {
    padding: 120px 0;
}

.service-detail .row {
    align-items: center;
}

.service-detail img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.service-detail h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.service-detail .lead {
    color: var(--secondary-color);
    font-size: 1.35rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.service-detail p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.service-detail h4 {
    color: var(--primary-color);
    margin: 3rem 0 2rem;
    font-size: 1.5rem;
}

.service-features {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0.5rem 0;
}

.feature-item i {
    color: var(--success-color);
    font-size: 1.5rem;
    margin-right: 1.5rem;
    min-width: 30px;
}

.feature-item span {
    font-size: 1.1rem;
    line-height: 1.6;
}

.why-choose-us {
    padding: 120px 0;
    background-color: var(--bg-light);
}

.why-choose-us .section-title {
    margin-bottom: 4rem;
}

.advantage-item {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
}

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

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

.advantage-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.advantage-item p {
    line-height: 1.8;
    font-size: 1.05rem;
}

.service-process {
    padding: 120px 0;
}

.service-process .section-title {
    margin-bottom: 4rem;
}

.process-timeline {
    position: relative;
    margin-top: 4rem;
}

.process-step {
    text-align: center;
    padding: 2rem 1rem;
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.process-step h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

.process-step p {
    line-height: 1.8;
    font-size: 1.05rem;
}

@media (min-width: 768px) {
    .process-timeline::before {
        content: '';
        position: absolute;
        top: 30px;
        left: 15%;
        right: 15%;
        height: 2px;
        background: var(--secondary-color);
        z-index: 0;
    }
    
    .step-number {
        position: relative;
        z-index: 1;
        background: var(--secondary-color);
    }
}

/* 聯絡我們頁面 */
.contact-section {
    padding: 120px 0 100px;
}

.contact-info {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    height: 100%;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 1.75rem;
}

.info-item {
    display: flex;
    margin-bottom: 2.5rem;
    align-items: flex-start;
}

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

.info-item .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;
    color: var(--white);
    font-size: 1.5rem;
    margin-right: 2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.info-item .content h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.info-item .content p {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.6;
}

.info-item .content a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1.05rem;
}

.info-item .content a:hover {
    text-decoration: underline;
}

.business-hours {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 3rem;
}

.business-hours h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.business-hours p {
    line-height: 1.8;
    font-size: 1.05rem;
}

.business-hours i {
    margin-right: 0.75rem;
    color: var(--secondary-color);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 3.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-form-wrapper h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.contact-form-wrapper > p {
    margin-bottom: 2.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

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

.form-group label {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    display: block;
}

.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    font-size: 1.05rem;
    transition: var(--transition);
    width: 100%;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(33, 150, 243, 0.25);
    outline: none;
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.required {
    color: var(--accent-color);
    font-weight: normal;
}

.form-check {
    margin: 2.5rem 0;
}

.form-check-label {
    color: var(--text-dark);
    font-size: 1rem;
    padding-left: 0.5rem;
}

.btn-lg {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

/* 地圖區塊 */
.map-section {
    position: relative;
    margin-top: 80px;
}

.map-wrapper {
    position: relative;
    overflow: hidden;
    height: 500px;
}

.map-wrapper iframe {
    filter: grayscale(20%);
    width: 100%;
    height: 100%;
}

.map-info {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 0;
}

.map-info h4 {
    color: var(--white);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.transport-list,
.landmark-list {
    list-style: none;
    padding: 0;
}

.transport-list li,
.landmark-list li {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.6;
}

.transport-list li i,
.landmark-list li i {
    position: absolute;
    left: 0;
    top: 0.3rem;
    color: var(--accent-color);
    font-size: 1.1rem;
}

.transport-list li strong {
    color: var(--white);
}

/* FAQ 區塊 */
.faq-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.faq-section .section-title {
    margin-bottom: 4rem;
}

.accordion .card {
    border: none;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    border-radius: 10px;
    overflow: hidden;
}

.accordion .card-header {
    background: var(--white);
    border: none;
    padding: 0;
}

.accordion .btn-link {
    color: var(--primary-color);
    text-decoration: none;
    width: 100%;
    text-align: left;
    padding: 1.75rem 2rem;
    font-size: 1.2rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.accordion .btn-link:hover {
    background: var(--bg-light);
}

.accordion .btn-link:focus {
    box-shadow: none;
}

.accordion .btn-link.collapsed {
    background: var(--white);
}

.accordion .btn-link i {
    margin-right: 1rem;
    color: var(--secondary-color);
    font-size: 1.3rem;
}

.accordion .card-body {
    padding: 0 2rem 2rem 4rem;
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* 載入動畫 */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--bg-light);
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 響應式設計 */
/* 成功案例頁面 */
.cases-section {
    padding: 80px 0;
}

.case-filters {
    margin-bottom: 3rem;
}

.case-filters button {
    margin-bottom: 1rem;
    min-width: 120px;
}

.case-filters button.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.case-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

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

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

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.8));
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: var(--transition);
}

.case-card:hover .case-overlay {
    opacity: 1;
}

.case-title-overlay {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 500;
}

.case-category {
    color: var(--text-light);
    font-size: 0.875rem;
    margin: 0;
}

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

.case-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.case-client {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.case-summary {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.case-content .btn {
    align-self: flex-start;
}

/* 案例詳情模態框 */
.modal-content {
    border-radius: 10px;
}

.modal-header {
    background: var(--bg-light);
    border-bottom: 1px solid #dee2e6;
}

.modal-title {
    color: var(--primary-color);
}

.case-detail img {
    border-radius: 10px;
}

.case-results {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
}

.result-item {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

/* 成功數據展示 */
.success-stats {
    background: var(--bg-light);
}

.stat-box {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.stat-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

/* 案例項目 */
.case-item {
    display: flex;
    margin-bottom: 2rem;
}

/* 客戶見證 */
.testimonials {
    padding: 80px 0;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-style: italic;
    line-height: 1.8;
    color: var(--text-dark);
}

.testimonial-author h5 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    margin: 0;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .carousel-item {
        height: 400px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    /* 產品與服務頁面響應式 */
    .service-detail {
        padding: 60px 0;
    }
    
    .service-detail h2 {
        font-size: 2rem;
    }
    
    .service-detail .lead {
        font-size: 1.15rem;
    }
    
    .why-choose-us,
    .service-process {
        padding: 60px 0;
    }
    
    .advantage-item {
        margin-bottom: 2rem;
    }
    
    .process-step {
        margin-bottom: 2rem;
    }
    
    /* 聯絡我們頁面響應式 */
    .contact-section {
        padding: 80px 0 60px;
    }
    
    .contact-info {
        padding: 2rem;
        margin-bottom: 3rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .info-item .icon {
        width: 50px;
        height: 50px;
        margin-right: 1.5rem;
    }
    
    .map-wrapper {
        height: 350px;
    }
    
    .map-info {
        padding: 3rem 0;
    }
    
    .faq-section {
        padding: 60px 0;
    }
    
    .accordion .btn-link {
        padding: 1.25rem 1.5rem;
        font-size: 1.1rem;
    }
    
    /* 成功案例頁面響應式 */
    .cases-section {
        padding: 60px 0;
    }
    
    .case-filters button {
        font-size: 0.875rem;
        padding: 0.375rem 1rem;
        margin: 0.25rem;
    }
    
    .stat-box {
        margin-bottom: 2rem;
    }
    
    .testimonial-card {
        margin-bottom: 2rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
}