/* Student Community Section */
.student-community {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

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

.community-feature-card {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-subtle);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.community-feature-card .feature-icon {
    width: 60px;
    height: 60px;
    background: var(--tech-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--pure-white);
    font-size: 1.5rem;
}

.community-feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.community-feature-card p {
    color: var(--medium-gray);
    line-height: 1.6;
}

.community-access-notice {
    background: rgba(30, 60, 114, 0.05);
    border: 1px solid rgba(30, 60, 114, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 3rem 0;
}

.access-notice-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.access-notice-content > i {
    font-size: 2rem;
    color: var(--accent-blue);
    flex-shrink: 0;
}

.notice-text h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
}

.notice-text p {
    color: var(--medium-gray);
    margin: 0;
}

.community-cta {
    text-align: center;
    margin-top: 3rem;
}

.community-cta .btn {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    margin-bottom: 1rem;
}

.cta-subtext {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin: 0;
}




/* Page-specific Styles */

/* Page Header */
.page-header {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--light-gray) 0%, rgba(0, 102, 204, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.page-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(0,102,204,0.1)"/><circle cx="80" cy="80" r="1.5" fill="rgba(0,102,204,0.08)"/><circle cx="60" cy="30" r="1" fill="rgba(0,102,204,0.06)"/></svg>');
    animation: float 20s infinite linear;
}

.header-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--tech-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}


/* Services Detail Styles */
.services-detail {
    padding: 80px 0;
}


.services-detail .container {
    max-width: 1400px;
    margin: 0 auto;
}

.service-detail-card {
    background: var(--pure-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    margin-bottom: 0;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-detail-header {
    background: var(--light-gray);
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.service-detail-icon {
    width: 80px;
    height: 80px;
    background: var(--tech-gradient);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--pure-white);
    flex-shrink: 0;
}

.service-detail-info h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
}

.service-tag {
    background: var(--accent-blue);
    color: var(--pure-white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    width: fit-content;
    min-width: 140px;
    text-align: center;
    display: inline-block;
}

.service-detail-content {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-detail-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.service-description p {
    color: var(--medium-gray);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.service-features-detailed {
    margin-bottom: 2rem;
}

.features-list {
    display: grid;
    gap: 1.5rem;
    margin-top: 1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-item i {
    color: var(--accent-blue);
    font-size: 1.2rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
}

.feature-item p {
    color: var(--medium-gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-benefits ul {
    list-style: none;
    margin-top: 1rem;
}

.service-benefits li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.8rem;
    color: var(--primary-black);
}

.service-benefits li:before {
    content: '✓';
    color: var(--accent-blue);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Course Tabs */
.course-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 3rem auto 4rem;
    max-width: 600px;
    padding: 0 1rem;
}

.tab-btn {
    flex: 1;
    max-width: 180px;
    padding: 0.85rem 1.5rem;
    background: var(--pure-white);
    border: 2px solid rgba(0, 102, 204, 0.2);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.tab-btn i {
    font-size: 1.3rem;
    color: var(--medium-gray);
    transition: all 0.3s ease;
}

.tab-btn span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-black);
    transition: all 0.3s ease;
}

.tab-btn:hover {
    border-color: var(--accent-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.tab-btn:hover i {
    color: var(--accent-blue);
}

.tab-btn.active {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-medium);
}

.tab-btn.active i,
.tab-btn.active span {
    color: var(--pure-white);
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.tab-intro h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 0.75rem;
}

.tab-intro p {
    font-size: 1.2rem;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Service Category Styles */
.service-category {
    margin-bottom: 5rem;
}

.service-category:last-child {
    margin-bottom: 0;
}

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

.category-header i {
    font-size: 4rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
    display: block;
}

.category-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 0.75rem;
}

.category-header p {
    font-size: 1.2rem;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Course Grid */
.course-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

/* Course Card Styles */
.course-card {
    background: var(--pure-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.course-header {
    background: var(--light-gray);
    padding: 2rem;
    border-bottom: 3px solid var(--accent-blue);
}

.course-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.course-subtitle {
    font-size: 1rem;
    color: var(--medium-gray);
    margin: 0;
}

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

.course-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 1rem;
}

/* Course Tools */
.course-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tool-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--accent-blue);
    color: var(--pure-white);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Course Outcome */
.course-outcome {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f0fe 100%);
    border-left: 4px solid var(--accent-blue);
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.course-outcome i {
    font-size: 1.8rem;
    color: var(--accent-blue);
    flex-shrink: 0;
}

.course-outcome span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-black);
    line-height: 1.4;
}

/* Seminar Calendar */
.seminar-calendar {
    background: var(--light-gray);
    padding: 80px 0;
}

.calendar-container {
    max-width: none;
    margin: 0;
}

.calendar-placeholder {
    background: var(--pure-white);
    border-radius: var(--border-radius);
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-subtle);
    border: 2px dashed rgba(0, 102, 204, 0.3);
}

.calendar-loading i {
    font-size: 3rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
    animation: spin 2s linear infinite;
}

.calendar-loading p {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
}

.calendar-loading small {
    color: var(--medium-gray);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* CTA Section Full */
.cta-section-full {
    background: var(--primary-black);
    color: var(--pure-white);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

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

/* News Page Styles */
.featured-news {
    padding: 80px 0;
}

.featured-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: var(--pure-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.featured-image {
    background: var(--light-gray);
}

.featured-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--medium-gray);
    font-size: 1.1rem;
}

.featured-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.featured-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.news-category {
    color: var(--pure-white);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 카테고리별 색상 구분 */
.news-category.center {
    background: #2563eb;
}

.news-category.ai-tech {
    background: #7c3aed;
}

.news-category.ai-education {
    background: #059669;
}

.news-category:not(.center):not(.ai-tech):not(.ai-education):not(.development):not(.design):not(.marketing):not(.modeling):not(.admin) {
    background: var(--secondary-black);
}

/* 전문가 카테고리별 색상 */
.news-category.development,
.modern-category.development {
    background: #4285f4;
    color: white;
}

.news-category.design,
.modern-category.design {
    background: #ea4335;
    color: white;
}

.news-category.marketing,
.modern-category.marketing {
    background: #a142f4;
    color: white;
}

.news-category.modeling,
.modern-category.modeling {
    background: #fbbc04;
    color: #333;
}

.news-category.admin,
.modern-category.admin {
    background: #34a853;
    color: white;
}

/* 전문가 필터 버튼 색상 */
.filter-btn[data-filter="development"]:hover,
.filter-btn[data-filter="development"].active {
    background: #4285f4;
    color: white;
    border-color: #4285f4;
}

.filter-btn[data-filter="design"]:hover,
.filter-btn[data-filter="design"].active {
    background: #ea4335;
    color: white;
    border-color: #ea4335;
}

.filter-btn[data-filter="marketing"]:hover,
.filter-btn[data-filter="marketing"].active {
    background: #a142f4;
    color: white;
    border-color: #a142f4;
}

.filter-btn[data-filter="3d-modeling"]:hover,
.filter-btn[data-filter="3d-modeling"].active {
    background: #fbbc04;
    color: #333;
    border-color: #fbbc04;
}

.filter-btn[data-filter="admin-ethics"]:hover,
.filter-btn[data-filter="admin-ethics"].active {
    background: #34a853;
    color: white;
    border-color: #34a853;
}

.news-date {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

/* 조회수 스타일 */
.news-stats {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.news-views,
.modern-views,
.related-news-views {
    color: var(--medium-gray);
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.news-views i,
.modern-views i,
.related-news-views i {
    font-size: 0.8rem;
}

.featured-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-black);
    line-height: 1.3;
}

.featured-excerpt {
    color: var(--medium-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.read-more-btn {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.read-more-btn:hover {
    color: var(--primary-black);
}

.news-grid-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.news-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--pure-white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--primary-black);
    background: #f9fafb;
    color: var(--primary-black);
}

.filter-btn.active {
    background: var(--primary-black);
    color: var(--pure-white);
}

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

.news-card {
    background: var(--pure-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.news-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.1);
}

.news-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-image {
    height: 220px;
    background: #f8fafc;
    overflow: hidden;
    position: relative;
}

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

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

.news-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.news-placeholder i {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
}

.news-content {
    padding: 1.8rem;
}

.news-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-black);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.news-excerpt,
.news-description {
    color: var(--medium-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.news-tags {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.news-tags .tag {
    background: #f1f5f9;
    color: #475569;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.news-tags .tag:hover {
    background: #e2e8f0;
    color: #334155;
}

.tag {
    background: rgba(0, 102, 204, 0.1);
    color: var(--accent-blue);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination-link {
    padding: 0.5rem 1rem;
    background: var(--pure-white);
    color: var(--primary-black);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.pagination-link:hover,
.pagination-link.active {
    background: var(--primary-black);
    color: var(--pure-white);
}

/* Load More Button */
.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    padding-bottom: 1rem;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: var(--pure-white);
    color: var(--primary-black);
    border: 2px solid var(--primary-black);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover:not(:disabled) {
    background: var(--primary-black);
    color: var(--pure-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.load-more-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.load-more-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.load-more-btn:hover:not(:disabled) i {
    transform: rotate(90deg);
}

/* ======================
   전문적인 뉴스 디자인 개선
   ====================== */

/* Featured 뉴스 개선 */
.featured-news {
    background: var(--pure-white);
    border-bottom: 1px solid #e2e8f0;
}

.featured-article {
    background: var(--pure-white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border: 1px solid #f1f5f9;
}

.featured-image {
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

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

.featured-content {
    padding: 2.5rem;
}

.featured-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary-black);
    margin-bottom: 1.2rem;
}

.featured-excerpt {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 2rem;
}

.read-more-btn {
    background: var(--primary-black);
    color: var(--pure-white);
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: var(--secondary-black);
    transform: translateX(2px);
}

/* 로딩 상태 */
.loading-container {
    text-align: center;
    padding: 4rem 2rem;
}

.loading-spinner {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.loading-spinner i {
    font-size: 2rem;
    color: #3b82f6;
    animation: spin 1s linear infinite;
}

.loading-spinner p {
    color: var(--medium-gray);
    font-size: 1.1rem;
}

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

/* 에러 상태 */
.error-container {
    text-align: center;
    padding: 4rem 2rem;
}

.error-content i {
    font-size: 3rem;
    color: #ef4444;
    margin-bottom: 1.5rem;
}

.error-content h3 {
    color: var(--primary-black);
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
}

.error-content p {
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

/* 빈 상태 */
.no-news-message {
    text-align: center;
    padding: 4rem 2rem;
    grid-column: 1 / -1;
}

.no-news-message i {
    font-size: 3rem;
    color: #9ca3af;
    margin-bottom: 1.5rem;
}

.no-news-message h3 {
    color: var(--primary-black);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

/* 필터 버튼 개선 */
.filter-btn {
    background: var(--pure-white);
    border: 2px solid #e5e7eb;
    color: #374151;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover {
    border-color: var(--primary-black);
    background: #f9fafb;
}

.filter-btn.active {
    background: var(--primary-black);
    color: var(--pure-white);
    border-color: var(--primary-black);
}

/* ================================
   뉴스 상세 페이지 스타일 - 모던 디자인
   ================================ */

/* 모던 브레드크럼 */
.detail-breadcrumb-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 0;
}

.detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #64748b;
}

.breadcrumb-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
}

.breadcrumb-link:hover {
    color: var(--primary-black);
    background: rgba(59, 130, 246, 0.1);
}

.breadcrumb-separator {
    color: #cbd5e1;
    font-size: 0.75rem;
}

.breadcrumb-current {
    color: var(--primary-black);
    font-weight: 600;
}

/* 모던 아티클 헤더 */
.modern-article-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 3rem 0 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.article-header-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.article-meta-top {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.modern-category {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.modern-category.center {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    border-color: #93c5fd;
}

.modern-category.ai-tech {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    color: #7c3aed;
    border-color: #c4b5fd;
}

.modern-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

.modern-article-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary-black);
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modern-article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.modern-article-tags .tag {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #475569;
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.modern-article-tags .tag:hover {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.article-header-actions {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
}

.header-action-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.action-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

/* 모던 이미지 섹션 */
.modern-article-image-section {
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.modern-category.center {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    border-color: #93c5fd;
}

.modern-category.ai-tech {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    color: #7c3aed;
    border-color: #c4b5fd;
}

.modern-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

.modern-article-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary-black);
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modern-article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.modern-article-tags .tag {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #475569;
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.modern-article-tags .tag:hover {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.article-header-actions {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
}

.header-action-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.action-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

/* 모던 이미지 섹션 */
.modern-article-image-section {
    margin: 0;
    padding: 0;
}

.modern-article-image-section .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.modern-article-image {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    margin-bottom: 0;
}

.modern-article-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: none;
}

.image-overlay {
    display: none;
}

/* 컨텐츠 레이아웃 */
.modern-article-content-section {
    padding: 0;
    margin-top: 0;
}

.centered-content-layout {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 메인 컨텐츠 */
.main-content-centered {
    width: 100%;
}

.modern-article-body {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.rich-content {
    padding: 3rem;
    line-height: 1.8;
    color: #374151;
    font-size: 1.1rem;
}

.rich-content h1,
.rich-content h2,
.rich-content h3,
.rich-content h4,
.rich-content h5,
.rich-content h6 {
    color: var(--primary-black);
    margin: 2.5rem 0 1.5rem;
    font-weight: 700;
}

.rich-content h1 { font-size: 2.25rem; }
.rich-content h2 { font-size: 1.875rem; }
.rich-content h3 { font-size: 1.5rem; }
.rich-content h4 { font-size: 1.25rem; }

.rich-content p {
    margin-bottom: 1.5rem;
}

.rich-content ul,
.rich-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
    list-style-position: inside;
}

.rich-content ul {
    list-style-type: disc;
}

.rich-content ol {
    list-style-type: decimal;
}

.rich-content li {
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

.rich-content blockquote {
    border-left: 4px solid #3b82f6;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    font-style: italic;
    color: #4b5563;
    border-radius: 0 0.5rem 0.5rem 0;
}

.rich-content code {
    background: #f1f5f9;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9em;
    color: #374151;
}

.rich-content img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 2rem 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* 아티클 푸터 */
.article-footer {
    border-top: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 2rem 3rem;
    margin-top: 2rem;
}

.article-meta-bottom {
    margin-bottom: 2rem;
}

.last-updated {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.9rem;
}

.last-updated i {
    color: #3b82f6;
}

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

.share-section-modern h4 {
    color: var(--primary-black);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.reaction-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.reaction-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 2rem;
    background: white;
    color: #64748b;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.reaction-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    background: #f0f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-btn.primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.nav-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

/* 모던 관련 뉴스 */
.modern-related-news-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 4rem 0;
    border-top: 1px solid #e2e8f0;
}

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

.related-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 0.75rem;
}

.related-title i {
    color: #3b82f6;
}

.related-subtitle {
    color: #64748b;
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

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

.modern-related-news-grid .related-news-item {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.modern-related-news-grid .related-news-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.modern-related-news-grid .related-news-item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.modern-related-news-grid .related-news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.modern-related-news-grid .related-news-item:hover .related-news-image img {
    transform: scale(1.05);
}

.modern-related-news-grid .news-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #94a3b8;
    font-size: 2.5rem;
}

.modern-related-news-grid .related-news-content {
    padding: 1.5rem;
}

.modern-related-news-grid .news-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.modern-related-news-grid .related-news-title {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--primary-black);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .modern-article-header {
        padding: 2rem 0 1.5rem;
    }

    .article-header-wrapper {
        padding: 0 1rem;
    }

    .modern-article-title {
        font-size: 2rem;
    }

    .centered-content-layout {
        max-width: 100%;
        padding: 0 1rem;
    }

    .rich-content {
        padding: 2rem 1.5rem;
    }

    .article-footer {
        padding: 1.5rem;
    }

    .article-actions-bottom {
        flex-direction: column;
        gap: 1.5rem;
    }

    .reaction-buttons {
        justify-content: center;
    }

    .modern-related-news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .article-header-actions {
        padding: 1rem;
        margin-top: 1rem;
    }

    .header-action-buttons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }

    .article-header-actions-right {
        justify-content: center;
        margin-top: 1.5rem;
    }

    .header-action-buttons-right {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .modern-article-tags {
        justify-content: center;
    }

    .article-meta-top {
        justify-content: center;
        text-align: center;
    }

    .breadcrumb-link span {
        display: none;
    }
}


/* ======================
   우측 액션 버튼 스타일
   ====================== */

.article-header-actions-right {
    margin-top: 2rem;
    display: flex;
    justify-content: flex-end;
}

.header-action-buttons-right {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.action-btn-right {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    background: white;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.action-btn-right:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    background: #f0f9ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

/* ======================
   토스트 메시지
   ====================== */

.toast-message {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--primary-black);
    color: var(--pure-white);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.toast-message.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-message i {
    color: #22c55e;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .toast-message {
        left: 1rem;
        right: 1rem;
        transform: translateY(100px);
    }

    .toast-message.show {
        transform: translateY(0);
    }
}

.newsletter-section {
    background: var(--secondary-black);
    color: var(--pure-white);
    padding: 60px 0;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.newsletter-text h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.8);
}

.newsletter-input {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.newsletter-input input {
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    min-width: 300px;
    background: var(--pure-white);
}

.newsletter-input input:focus {
    outline: 2px solid var(--accent-blue);
}


/* Contact Page Styles */
.contact-info-section {
    padding: 80px 0;
}

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

.contact-card {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
    border-top: 4px solid var(--accent-blue);
}

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

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--pure-white);
}

.contact-details h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
}

.contact-details p {
    color: var(--primary-black);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.contact-details small {
    color: var(--medium-gray);
    font-size: 0.85rem;
}

.contact-details a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-form-section {
    padding: 80px 0;
    background: var(--light-gray);
}

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

.form-container {
    background: var(--pure-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

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

.form-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
}

.form-header p {
    color: var(--medium-gray);
    line-height: 1.6;
}

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

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

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

.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: var(--font-primary);
}

.form-group textarea {
    resize: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.1);
}

.checkbox-group {
    flex-direction: row !important;
    align-items: flex-start;
    gap: 0.8rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--medium-gray);
    border-radius: 3px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark:after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.privacy-link {
    color: var(--accent-blue);
    text-decoration: none;
}

.privacy-link:hover {
    text-decoration: underline;
}

.submit-btn {
    margin-top: 1rem;
    align-self: flex-start;
}

.submit-btn:disabled {
    background: var(--medium-gray);
    cursor: not-allowed;
}

.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.quick-contact,
.social-links {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-subtle);
}

.quick-contact h3,
.social-links h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-black);
}

.quick-contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.quick-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.quick-item i {
    color: var(--accent-blue);
    font-size: 1.2rem;
    margin-top: 2px;
}

.quick-item h4 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
    color: var(--primary-black);
}

.quick-item p {
    font-size: 0.9rem;
    color: var(--medium-gray);
    line-height: 1.4;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    background: var(--light-gray);
    color: var(--primary-black);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--primary-black);
    color: var(--pure-white);
}

.social-btn.youtube:hover {
    background: #ff0000;
}

.social-btn.threads:hover {
    background: #000000;
}

.social-btn.naver:hover {
    background: #03c75a;
}

.social-btn.daangn:hover {
    background: #ff6f0f;
}

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

.map-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.map-embed {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
}

.map-embed iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: var(--border-radius);
}

.location-details {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-subtle);
}

.location-details h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-black);
}

.transport-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.transport-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.transport-item i {
    color: var(--accent-blue);
    font-size: 1.3rem;
    margin-top: 2px;
}

.transport-item h4 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
    color: var(--primary-black);
}

.transport-item p {
    font-size: 0.9rem;
    color: var(--medium-gray);
    line-height: 1.4;
}


/* Enhanced Responsive Design */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .featured-article {
        grid-template-columns: 1fr;
    }
    
    .featured-image {
        height: 250px;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .map-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .map-embed iframe {
        height: 300px;
    }
    
    .research-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-input input {
        min-width: 250px;
    }
    
    .timeline:before {
        left: 2rem;
    }

    .timeline-item {
        margin-left: 3rem;
        justify-content: flex-start !important;
        text-align: left !important;
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-item:before {
        content: '';
        position: absolute;
        left: 2rem;
        top: 10px;
        width: 12px;
        height: 12px;
        background: var(--accent-blue);
        border: 3px solid var(--pure-white);
        border-radius: 50%;
        transform: translateX(-50%);
        z-index: 10;
    }

    .timeline-date {
        position: relative;
        left: auto;
        transform: none;
        margin-bottom: 0.75rem;
        z-index: 10;
    }

    .timeline-content {
        width: calc(100% - 4rem) !important;
        margin: 0 !important;
        position: relative;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }
    
    .service-detail-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .service-detail-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .stat-items {
        align-items: center;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .newsletter-input {
        flex-direction: column;
        width: 100%;
    }
    
    .newsletter-input input {
        min-width: auto;
        width: 100%;
    }
}


/* =============================================
   강의 신청 모달 스타일
   ============================================= */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal[style*="flex"],
.modal[style*="block"] {
    opacity: 1;
    visibility: visible;
    display: flex !important;
}

.modal-content {
    background: var(--pure-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-strong);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.7) translateY(50px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal[style*="flex"] .modal-content,
.modal[style*="block"] .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-black);
    margin: 0;
}

.modal-close {
    font-size: 2rem;
    color: var(--medium-gray);
    cursor: pointer;
    transition: var(--transition);
    padding: 0.5rem;
    line-height: 1;
    border: none;
    background: none;
}

.modal-close:hover {
    color: var(--primary-black);
    transform: scale(1.1);
}

.modal-body {
    padding: 2rem;
}

.modal-body h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-black);
    background: var(--light-gray);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    border-left: 4px solid var(--accent-blue);
}

.modal-body h4:first-of-type {
    margin-top: 0;
}

.modal-body p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
}

.modal-body p:last-of-type {
    margin-bottom: 0;
}

/* 선택된 이벤트 정보 카드 */
.selected-event-info {
    margin-bottom: 2rem;
}

.selected-event-card {
    background: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border-left: 4px solid var(--accent-blue);
}

.selected-event-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.selected-event-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-black);
    margin: 0;
    flex: 1;
}

.selected-event-type {
    background: var(--accent-blue);
    color: var(--pure-white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    margin-left: 1rem;
}

.selected-event-details {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.detail-item i {
    color: var(--accent-blue);
    width: 16px;
    font-size: 0.9rem;
}

.selected-event-description {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--medium-gray);
    font-size: 0.9rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* 신청 폼 */
.application-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: grid;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--primary-black);
    font-size: 0.9rem;
}

.form-group input {
    padding: 0.75rem 1rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition);
    background: var(--pure-white);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group input::placeholder {
    color: var(--medium-gray);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

.form-actions .btn {
    min-width: 120px;
}

/* 문의 폼 개선된 스타일 */
.inquiry-form .form-group {
    margin-bottom: 1.5rem;
}

.inquiry-form .form-group:last-child {
    margin-bottom: 0;
}

/* 체크박스 그룹 스타일 */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin: 0;
    accent-color: var(--accent-blue);
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--primary-black);
    cursor: pointer;
    margin-bottom: 0;
}

/* 폼 필드 간격 개선 */
.inquiry-form .form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-black);
    display: block;
}

.inquiry-form .form-group input[type="text"],
.inquiry-form .form-group input[type="tel"],
.inquiry-form .form-group input[type="email"] {
    padding: 0.875rem 1rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    width: 100%;
}

.inquiry-form .form-group input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.inquiry-form .form-actions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* =============================================
   이벤트 카드 호버 효과 및 인터랙션
   ============================================= */

/* 주간 리스트 이벤트 카드 호버 효과 */
.weekly-list-event-card {
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.weekly-list-event-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.weekly-list-event-card:hover .apply-overlay {
    opacity: 1;
    visibility: visible;
}

.apply-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 102, 204, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    font-weight: 600;
    gap: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.apply-overlay i {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

.apply-overlay span {
    font-size: 1rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* 마감된 이벤트는 클릭 불가능하게 표시 */
.weekly-list-event-card.full {
    opacity: 0.7;
}

.weekly-list-event-card.full:hover {
    transform: none;
    box-shadow: var(--shadow-subtle);
}

.weekly-list-event-card.full .apply-overlay {
    background: rgba(102, 102, 102, 0.8);
}

.weekly-list-event-card.full .apply-overlay span {
    content: '마감됨';
}

/* 월간 캘린더 이벤트 호버 효과 */
.calendar-event {
    transition: var(--transition);
    position: relative;
}

.calendar-event:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: var(--shadow-medium);
}

.calendar-event.full {
    opacity: 0.6;
    text-decoration: line-through;
}

.calendar-event.full:hover {
    transform: scale(1.02);
}

/* 반응형 모달 */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 1rem;
    }

    .modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .selected-event-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .selected-event-type {
        margin-left: 0;
        align-self: flex-start;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

    .form-actions .btn {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .modal-header h2 {
        font-size: 1.25rem;
    }

    .selected-event-card {
        padding: 1rem;
    }

    .selected-event-header h3 {
        font-size: 1.1rem;
    }

    .apply-overlay i {
        font-size: 1.25rem;
    }

    .apply-overlay span {
        font-size: 0.9rem;
    }
}

/* ========================================
   ABOUT PAGE - NEW DESIGN
   ======================================== */

/* SECTION 1: Hero Banner */
.about-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    overflow: hidden;
}

.about-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.about-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(26, 26, 26, 0.6) 50%, rgba(0, 0, 0, 0.75) 100%);
    z-index: -1;
}

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

.about-hero-tagline {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.about-hero-number {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.about-hero-number .number {
    font-size: 10rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #4285f4 0%, #1e88e5 50%, #039be5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-hero-number .unit {
    font-size: 3rem;
    font-weight: 700;
    color: var(--pure-white);
    letter-spacing: 3px;
}

.about-hero-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.about-hero-comparison .old {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: line-through;
}

.about-hero-comparison .arrow {
    color: var(--accent-blue);
    font-size: 1.5rem;
}

.about-hero-comparison .new {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pure-white);
    background: linear-gradient(135deg, #4285f4, #039be5);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
}

/* SECTION 2: Core Capabilities */
.about-capabilities {
    padding: 100px 0;
    background: var(--pure-white);
}

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

.capability-card {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.capability-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.capability-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

/* Card 2: Government Support - CSS Gradient */
.card-gov {
    background: linear-gradient(135deg, #1e3a5f 0%, #0d2137 100%);
}

.card-gov .capability-card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.45) 100%);
}

.card-gov::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
}

.capability-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    z-index: 2;
    color: var(--pure-white);
}

.capability-card-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.capability-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.capability-keywords span {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    backdrop-filter: blur(5px);
}

.capability-card-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

/* SECTION 3: Process Timeline */
.about-process {
    padding: 100px 0;
    background: var(--light-gray);
    position: relative;
}

.about-process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/about/about-process.png');
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    z-index: 0;
}

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

.process-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #4285f4 0%, #1e88e5 100%);
    color: var(--pure-white);
    padding: 1rem 2rem;
    border-radius: 50px;
    margin: 0 auto 3rem;
    display: flex;
    justify-content: center;
    width: fit-content;
}

.process-badge .badge-icon {
    font-size: 1.25rem;
}

.process-badge .badge-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Comparison Bar */
.process-comparison {
    max-width: 700px;
    margin: 0 auto 3rem;
}

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

.comparison-label {
    width: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-black);
    text-align: right;
}

.comparison-bar {
    flex: 1;
    height: 36px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 1rem;
    position: relative;
}

.bar-competitor {
    background: #e0e0e0;
    width: 100%;
}

.bar-us {
    background: linear-gradient(90deg, #4285f4, #34a853);
    width: 16.7%;
}

.bar-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-black);
}

.bar-us .bar-value {
    color: var(--pure-white);
}

/* Steps Grid (inside Process section) */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.step-card {
    background: var(--light-gray);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: #4285f4;
    background: var(--pure-white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #4285f4, #1e88e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.step-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 0.75rem;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--medium-gray);
    line-height: 1.6;
}

.step-day-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #4285f4, #1e88e5);
    color: var(--pure-white);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.step-card {
    position: relative;
}

.step-complete {
    border-color: #34a853;
}

.step-complete:hover {
    border-color: #34a853;
}

.step-complete .step-number {
    background: linear-gradient(135deg, #34a853, #2e7d32);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* SECTION 5: CTA */
.about-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.15rem;
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

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

/* ========================================
   PORTFOLIO PAGE STYLES - Full Screen Scroll Snap
   ======================================== */

/* Portfolio Page Body */
.portfolio-page {
    overflow: hidden;
}

/* Portfolio Navbar */
.navbar-portfolio {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
}

.navbar-portfolio .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.navbar-portfolio .nav-link:hover,
.navbar-portfolio .nav-link.active {
    color: var(--pure-white);
}

.navbar-portfolio .logo-text {
    color: var(--pure-white);
}

.navbar-portfolio .hamburger .bar {
    background: var(--pure-white);
}

.navbar-portfolio.navbar-dark {
    background: var(--primary-black);
}

/* Portfolio Showcase Container */
.portfolio-showcase {
    height: 100vh;
    overflow-y: scroll;
    scroll-behavior: smooth;
}

/* Hide scrollbar but keep functionality */
.portfolio-showcase::-webkit-scrollbar {
    width: 0;
    display: none;
}

.portfolio-showcase {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Portfolio Slide */
.portfolio-slide {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Background Image */
.portfolio-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
    transform: scale(1.1);
    transition: transform 0.1s linear;
}

/* Gradient Overlay */
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

/* Slide Content */
.portfolio-slide-content {
    position: relative;
    z-index: 10;
    padding: 0 10%;
    max-width: 1100px;
}

/* Number */
.portfolio-number {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

/* Divider */
.portfolio-divider {
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    margin-bottom: 1rem;
    transition: width 0.6s ease-out;
}

.portfolio-slide.active .portfolio-divider {
    width: 60px;
}

/* Category */
.portfolio-category {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
}

/* Title */
.portfolio-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--pure-white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

/* Description */
.portfolio-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Tags */
.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.portfolio-tag {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.portfolio-tag:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

/* CTA Button */
.portfolio-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--pure-white);
    color: var(--pure-white);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.portfolio-cta:hover {
    background: var(--pure-white);
    color: var(--primary-black);
}

.portfolio-cta i {
    transition: transform 0.3s ease;
}

.portfolio-cta:hover i {
    transform: translateX(5px);
}

/* Scroll Animations */
.animate-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.portfolio-slide.active .animate-item {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation Indicators */
.portfolio-nav {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.portfolio-nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.portfolio-nav-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.portfolio-nav-dot.active {
    background: var(--pure-white);
    transform: scale(1.4);
}

/* Combined CTA + Footer Section */
.portfolio-final-section {
    background: var(--primary-black);
    height: auto;
    min-height: 100vh;
    align-items: stretch;
}

.portfolio-final-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
}

.portfolio-final-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}

.portfolio-cta-content {
    text-align: center;
    padding: 8rem 2rem 4rem;
    max-width: 700px;
    margin: 0 auto;
    flex-shrink: 0;
}

.portfolio-cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--pure-white);
    margin-bottom: 1rem;
}

.portfolio-cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
}

.portfolio-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

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

/* Footer in Combined Section */
.portfolio-footer {
    width: 100%;
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.portfolio-footer .footer-logo .logo-text {
    color: var(--pure-white);
}

.portfolio-footer .footer-description {
    color: rgba(255, 255, 255, 0.7);
}

.portfolio-footer .footer-section h4 {
    color: var(--pure-white);
}

.portfolio-footer .footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.portfolio-footer .footer-links a:hover {
    color: var(--pure-white);
}

.portfolio-footer .copyright {
    color: rgba(255, 255, 255, 0.5);
}

.portfolio-footer .business-info {
    color: rgba(255, 255, 255, 0.4);
}

.portfolio-footer .social-link {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.portfolio-footer .social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--pure-white);
}

/* ========================================
   Policy Pages (Privacy, Terms, Email)
   ======================================== */

.policy-content {
    padding: 80px 0;
    background: var(--light-gray);
}

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

.policy-intro {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-subtle);
    margin-bottom: 2rem;
    border-left: 4px solid var(--accent-blue);
}

.policy-intro p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--dark-gray);
}

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

.policy-section {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-subtle);
    margin-bottom: 1.5rem;
}

.policy-section h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--primary-black);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--light-gray);
}

.policy-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    color: var(--secondary-black);
}

.policy-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--dark-gray);
}

.policy-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.policy-section ul li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    color: var(--dark-gray);
}

.policy-note {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin: 1rem 0;
}

.contact-info-box,
.company-info-box {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.contact-info-box h4,
.company-info-box h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 0.75rem;
}

.contact-info-box p,
.company-info-box p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-info-box p:last-child,
.company-info-box p:last-child {
    margin-bottom: 0;
}

.policy-notice {
    background: rgba(30, 60, 114, 0.05);
    border: 1px solid rgba(30, 60, 114, 0.1);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

.policy-notice p {
    margin: 0;
    line-height: 1.8;
    color: var(--dark-gray);
}

/* Email Collection Refusal Page */
.email-policy-box {
    background: var(--pure-white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-subtle);
    text-align: center;
}

.email-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-blue), #1e3c72);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.email-icon i {
    font-size: 2.5rem;
    color: var(--pure-white);
}

.email-policy-content {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.email-policy-content p {
    margin-bottom: 1.5rem;
    line-height: 1.9;
    color: var(--dark-gray);
}

.email-policy-content .law-reference {
    font-weight: 600;
    color: var(--accent-blue);
    margin: 2rem 0 1rem;
}

.email-policy-content .law-content {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-blue);
}

.email-policy-content .law-content p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.email-policy-content .warning-text {
    color: #c0392b;
    font-weight: 500;
    margin-bottom: 0;
}

.email-policy-content .warning-text a {
    color: var(--accent-blue);
    text-decoration: underline;
}

.email-policy-content .warning-text a:hover {
    color: #1e3c72;
}
