/* Global Styles */
:root {
    --primary-color: #3F7CC4;
    --primary-hover: #3569A6;
    --secondary-color: #5FA0E0;
    --text-color: #333333;
    --light-text: #666666;
    --bg-color: #ffffff;
    --light-blue-bg: rgba(95, 160, 224, 0.08);
    --card-bg: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --hover-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    
    /* Override Bootstrap navbar colors */
    --bs-navbar-color: #333333;
    --bs-navbar-hover-color: #3F7CC4;
}

@font-face {
    font-family: 'Moneta Bold';
    src: url('/fonts/Moneta-Bold.woff2') format('woff2'),
         url('/fonts/Moneta-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

/* Base Styles */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

/* Container Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-color);
}

h1 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 1.875rem;
    margin-bottom: 0.75rem;
}

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

p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--light-text);
    margin-bottom: 1rem;
}

/* Common Text Styles */
.highlight {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.main-text {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

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

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

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

.campaign-description {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px dotted rgba(63, 124, 196, 0.3);
}

.donation-info {
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 0.5rem 0;
}

.benefit-text {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.amount {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    display: inline-block;
    margin: 0 0.2rem;
}

/* Navigation */
.navbar {
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.navbar-brand {
    font-family: 'Moneta Bold', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff !important;
    padding: 0;
    margin: 0;
    text-align: left;
    flex: 0 0 auto;
}

.navbar-collapse {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.navbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 1rem;
}

.nav-item {
    margin: 0;
    white-space: nowrap;
}

.nav-link {
    color: #ffffff !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.nav-link:hover,
.nav-link.active {
    color: rgba(255, 255, 255, 0.8) !important;
}

.navbar-toggler {
    display: none;
}

/* Section Styles */
.section {
    padding: 2rem 0;
    background-color: var(--light-blue-bg);
    border-bottom: 2px dotted rgba(63, 124, 196, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.section .container,
.benefits-section .container,
.how-to-section .container,
.hero-section .container,
.campaign-content .container,
.donation-stats .container,
.kakao-links .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #3F7CC4, #5FA0E0);
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #3F7CC4 0%, #5FA0E0 100%);
    padding: 3rem 0 2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 1;
}

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

.hero-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
    filter: brightness(0) invert(1);
}

.hero-description {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.hero-description .highlight {
    font-size: 1.3rem;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border-radius: 50px;
    display: inline-block;
}

.hero-description .main-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-description .sub-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(222, 235, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Common Card Styles */
.campaign-card, 
.completed-campaign, 
.benefit, 
.donation-calculation,
.donor-table,
.step {
    background-color: var(--light-blue-bg);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    margin: 1rem auto;
    max-width: 800px;
    width: 100%;
    text-align: center;
    transition: all 0.3s ease;
}

.campaign-card:hover, 
.completed-campaign:hover, 
.benefit:hover, 
.donation-calculation:hover,
.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.campaign-card h3, 
.completed-campaign h3,
.step h3,
.benefit h3 {
    color: var(--text-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.campaign-card .campaign-description, 
.completed-campaign .campaign-description,
.step p,
.benefit .benefit-text {
    color: var(--text-color);
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Campaign Content */
.campaign-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

/* Donation Stats */
.donation-stats {
    background: linear-gradient(135deg, #3F7CC4 0%, #5FA0E0 100%);
    padding: 1.5rem;
    margin: 1.5rem auto;
    border-radius: 1rem;
    max-width: 600px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow);
    color: white;
}

.donation-count {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.donation-total {
    font-size: 1.2rem;
    opacity: 0.9;
}

.donation-total .amount {
    font-weight: 600;
    font-size: 1.4rem;
}

/* Benefits Section */
.benefits-section {
    padding: 2rem 0;
    border-bottom: 2px dotted rgba(63, 124, 196, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* How to Section */
.how-to-section {
    padding: 3rem 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.how-to-section .container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.how-to-section .step {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto 2rem;
    padding: 1.5rem;
    text-align: center;
}

.how-to-section .step p, 
.how-to-section .step .note {
    text-align: center;
}

/* Step-specific background colors */
.step:nth-child(1) {
    background-color: rgba(63, 124, 196, 0.05);
}

.step:nth-child(2) {
    background-color: rgba(63, 124, 196, 0.15);
}

.step:nth-child(3) {
    background-color: rgba(63, 124, 196, 0.25);
}

.step:nth-child(4) {
    background-color: rgba(63, 124, 196, 0.35);
}

.step:nth-child(5) {
    background-color: rgba(63, 124, 196, 0.45);
}

.step:nth-child(n+6) {
    background-color: rgba(63, 124, 196, 0.55);
}

.step:nth-child(n+6) h3,
.step:nth-child(n+6) p {
    color: #ffffff;
}

/* Carousel */
.carousel-container {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

.carousel {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding: 0 2rem;
}

.carousel-inner {
    padding: 0.5rem;
}

/* 캐러셀 아이템 높이 고정 */
.carousel-item {
    padding: 0.5rem;
    height: 400px; /* 캐러셀 높이 고정 */
}

.carousel-indicators {
    bottom: -1rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 3rem;
    height: 3rem;
    background: none;
    opacity: 0.8;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1) brightness(0.8);
}

.carousel-control-prev {
    left: -1.5rem;
}

.carousel-control-next {
    right: -1.5rem;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

/* 캠페인 카드 높이 고정 및 레이아웃 조정 */
.carousel-item .campaign-card,
.carousel-item .completed-campaign {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* 캠페인 설명 텍스트 말줄임표 처리 */
.carousel-item .campaign-description {
    display: -webkit-box;
    -webkit-line-clamp: 4; /* 최대 표시할 줄 수 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 150px; /* 설명 부분 최대 높이 */
}

/* 버튼 위치 조정 */
.carousel-item .btn-container,
.carousel-item .btn {
    margin-top: auto; /* 하단에 고정 */
}

/* No Campaign Message */
.no-campaign {
    color: var(--text-color);
    font-size: 1.2rem;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 0.5rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Donation Highlight Styles */
.donation-highlight {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    background-color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.donation-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    background-color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    display: inline-block;
    margin-bottom: 1.5rem;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn i, .btn .emoji {
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 4px 6px rgba(63, 124, 196, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(63, 124, 196, 0.3);
}

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

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

/* Kakao Links */
.kakao-links {
    background-color: var(--light-blue-bg);
    padding: 1.5rem;
    border-radius: 1rem;
    margin: 1.5rem auto;
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.kakao-links h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: none;
}

.kakao-links p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: center;
}

.kakao-links-list {
    margin-top: 1.5rem;
}

.kakao-links-list p {
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.kakao-links-list li {
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 5px;
    transition: all 0.3s ease;
    color: #2c3e50;
    font-size: 0.95rem;
    line-height: 1.5;
}

.kakao-links-list li:hover {
    background-color: rgba(52, 152, 219, 0.2);
    transform: translateY(-2px);
}

/* Donation Links */
.donation-links {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.donation-links li {
    margin-bottom: 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    background-color: transparent;
}

/* 데스크톱 호버 효과 */
@media (hover: hover) {
    .donation-links li:hover {
        transform: translateX(5px);
        background-color: var(--primary-color);
    }
    
    .donation-links li:hover .donation-link {
        color: white;
    }
}

/* 활성 상태 (클릭/탭) - 모바일 대응 */
.donation-links li:active {
    transform: translateX(5px);
    background-color: var(--primary-color);
}

.donation-links li:active .donation-link {
    color: white;
}

.donation-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    width: 100%;
}

.donation-link i {
    font-size: 0.8rem;
    flex-shrink: 0;
}

.donation-link span {
    flex: 1;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Donor List Page */
.donor-list-page {
    background-color: var(--light-blue-bg);
}

.donor-list-page .campaign-info {
    padding: 1.5rem 0 0 0;
    margin: 0;
}

.donor-list-page .campaign-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.donor-list-page .campaign-content h1 {
    color: var(--text-color);
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

.donor-list-page .campaign-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 0 auto 1.5rem;
    display: block;
    border-radius: 8px;
}

.donor-list-page .campaign-description {
    color: var(--text-color);
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0 auto;
}

/* Donor List Title Section */
.donor-list-title-section {
    background-color: var(--light-blue-bg);
    padding: 1rem 0 0.3rem 0;
    text-align: center;
    border-bottom: none;
}

.donor-list-title-section .donor-list-header h2 {
    color: var(--text-color);
    margin-bottom: 0.3rem;
    font-size: 1.8rem;
    display: block;
}

.total-count {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    padding: 0.3rem 1rem;
    display: block;
    margin: 0.3rem 0 0.3rem 0;
}

/* Search Section */
.search-section {
    padding: 0.3rem 0;
    text-align: center;
    background-color: var(--light-blue-bg);
    border-bottom: none;
    width: 100%;
}

.search-section .search-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

.search-section .input-group {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

/* Donor List Section */
.donor-list-section {
    padding: 0.5rem 0;
    text-align: center;
    border-bottom: none;
    width: 100%;
    margin: 0;
    background-color: var(--light-blue-bg);
}

.donor-list-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.donor-list-section .donor-table {
    width: 100%;
    margin: 0;
    padding: 0;
    max-width: none;
}

.donor-list-section .table {
    width: 100%;
    margin: 0;
    background-color: transparent;
}

.donor-list-section .table th,
.donor-list-section .table td {
    padding: 0.75rem;
    border-bottom: 1px solid rgba(63, 124, 196, 0.2);
}

.donor-list-section .table th {
    font-weight: 600;
    color: var(--primary-color);
}

/* Table column widths */
.donor-list-section .table th:nth-child(1),
.donor-list-section .table td:nth-child(1),
.donor-list-section .table th:nth-child(2),
.donor-list-section .table td:nth-child(2),
.donor-list-section .table th:nth-child(3),
.donor-list-section .table td:nth-child(3) {
    width: 33.33%;
}

/* Email display */
.email-prefix {
    display: inline-block;
}

.email-domain {
    display: inline-block;
    color: var(--light-text);
}

/* Donor List Table */
.donor-list-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    table-layout: fixed;
}

.donor-list-table th,
.donor-list-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
    word-break: break-word;
}

.donor-list-table th {
    background-color: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
    white-space: nowrap;
}

.donor-list-table tr:last-child td {
    border-bottom: none;
}

.donor-list-table tr:hover {
    background-color: #f8f9fa;
}

.donor-list-table td:first-child {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Instructions Page */
.instructions-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--light-blue-bg);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
}

.instructions-content {
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.instructions-content .step {
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 1.5rem;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-align: center;
    width: 100%;
}

.instructions-content .kakao-links {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-align: left;
    width: 100%;
}

/* Donation Certificate */
.donation-certificate-image {
    margin: 1.5rem auto;
    max-width: 600px;
    text-align: center;
}

.donation-certificate-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* whiskynavi-donation section */
.whiskynavi-donation {
    padding: 2rem 0;
    background-color: var(--light-blue-bg);
    border-bottom: 2px dotted rgba(63, 124, 196, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Footer Styles */
.site-footer {
    background-color: #1A2B45;
    color: #ffffff;
    padding: 3rem 0 1.5rem;
    margin-top: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    min-width: 150px;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

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

.footer-section ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 0.8;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: #ffffff;
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom p {
    color: #ffffff;
    margin: 0;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-links li {
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-link {
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.3s ease;
}

.social-link:hover {
    opacity: 0.8;
}

.social-link i {
    font-size: 1.2rem;
}

.social-link span {
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    body {
        padding: 0;
        margin: 0;
    }

    p, .text, .main-text, .sub-text, .campaign-description, 
    .donation-info, .benefit-text, .note {
        font-size: 0.9rem;
        text-align: center;
    }

    h1 {
        font-size: 1.75rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    h2 {
        font-size: 1.5rem;
        text-align: center;
    }

    h3 {
        font-size: 1.25rem;
        text-align: center;
    }

    .highlight {
        font-size: 1rem;
        text-align: center;
    }

    .main-text,
    .sub-text,
    .campaign-description,
    .donation-info,
    .benefit-text {
        text-align: center;
        margin: 0 auto;
        max-width: 90%;
    }

    .note {
        font-size: 0.8rem;
        text-align: center;
    }

    .navbar {
        padding: 0.5rem 1rem;
    }

    .navbar-brand {
        font-size: 1.75rem;
        text-align: center;
    }

    .navbar-collapse {
        text-align: center;
    }

    .nav-link {
        text-align: center;
        padding: 0.5rem;
    }

    .section,
    .benefits-section,
    .how-to-section,
    .hero-section {
        padding: 1.5rem 0;
        text-align: center;
    }

    .section-title {
        font-size: 1.5rem;
        text-align: center;
    }

    .campaign-card, 
    .carousel-item .campaign-card {
        margin: 1rem auto;
        max-width: 90%;
        text-align: center;
    }

    .campaign-card h3, 
    .carousel-item .campaign-card h3 {
        font-size: 1.25rem;
        text-align: center;
    }

    .campaign-card .campaign-description, 
    .carousel-item .campaign-card .campaign-description {
        font-size: 0.9rem;
        text-align: center;
        padding: 0 1rem;
    }

    .hero-section {
        padding: 2rem 0;
        text-align: center;
    }

    .hero-logo {
        max-width: 80%;
        margin: 0 auto;
    }

    .hero-description .highlight {
        text-align: center;
    }

    .hero-description .main-text {
        display: none;
    }

    .hero-description .sub-text {
        text-align: center;
    }

    .carousel {
        margin: 0 auto;
        max-width: 100%;
        padding: 0;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    .carousel-control-prev {
        left: 0;
    }

    .carousel-control-next {
        right: 0;
    }

    .carousel-item {
        text-align: center;
        height: auto;
        min-height: 400px;
    }

    .carousel-item .campaign-description {
        text-align: center;
        padding: 0 1rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: 4.5em;
        line-height: 1.5;
    }

    .donation-highlight {
        text-align: center;
    }

    .donation-amount {
        text-align: center;
    }

    .amount {
        font-size: 1.2rem;
        text-align: center;
    }

    .btn {
        width: 100%;
        max-width: 200px;
        margin: 0.5rem auto;
        text-align: center;
    }

    .donation-count {
        text-align: center;
    }

    .kakao-links h4 {
        text-align: center;
    }

    .donation-links li {
        text-align: center;
    }

    .donation-link {
        text-align: center;
        justify-content: center;
    }

    .donation-link i {
        margin-right: 0.5rem;
    }

    .how-to-section .container {
        text-align: center;
    }

    .how-to-section .btn {
        width: 100%;
        max-width: 200px;
        margin: 0.5rem auto;
    }

    .donor-list-title-section,
    .search-section {
        text-align: center;
    }

    .search-section .search-form {
        text-align: center;
    }

    .donor-list-section .donor-table {
        text-align: center;
    }

    .donor-list-section .table th,
    .donor-list-section .table td {
        text-align: center;
        padding: 0.5rem;
    }

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

    .campaign-info {
        text-align: center;
    }

    .campaign-info h1 {
        text-align: center;
    }

    .campaign-info .campaign-description {
        text-align: center;
    }

    .instructions-container {
        text-align: center;
    }

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

    .instructions-content .step,
    .instructions-content .kakao-links {
        text-align: center;
        margin: 0 auto;
    }

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

    .footer-links {
        text-align: center;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section:nth-child(3) {
        text-align: center;
    }

    .footer-section h4 {
        text-align: center;
    }

    .footer-section ul li {
        text-align: center;
    }

    .social-links li {
        text-align: center;
    }

    .social-link i {
        margin-right: 0.5rem;
    }

    .social-link span {
        display: inline-block;
    }

    .footer-bottom {
        text-align: center;
    }

    .copyright {
        text-align: center;
    }

    .footer-bottom p {
        text-align: center;
    }
}