/* 문제-해결 이미지 반응형 레이아웃 */
.problem-solution-images {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin: 2rem 0;
}
@media (min-width: 600px) {
    .problem-solution-images {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: 2.5rem;
    }
    .problem-solution-images figure {
        margin: 0;
    }
}
    /* 문제-해결 이미지 반응형 및 세로 중앙 정렬 */
    .problem-solution-images {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        margin: 2rem 0;
    }
    .problem-solution-images figure {
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    @media (min-width: 600px) {
        .problem-solution-images {
            flex-direction: row;
            justify-content: center;
            align-items: center;
            gap: 2.5rem;
        }
    }
/* Global Styles */
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f5f7;
    color: #333;
}

@font-face {
    font-family: 'Paperlogy-8ExtraBold';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-8ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
}

/* Header */
.header {
    background-color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Hamburger menu button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    z-index: 1001;
}
.hamburger span {
    height: 3px;
    width: 100%;
    background: #0C0FA6;
    margin: 4px 0;
    border-radius: 2px;
    transition: 0.3s;
}

.header .logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: #0C0FA6;
}

.header .nav-links a {
    margin-left: 1.5rem;
    color: #555;
    font-weight: 500;
    transition: color 0.2s ease-in-out;
}

.header .nav-links a:hover {
    color: #0C0FA6;
}

/* Hamburger & nav-links responsive */
@media (max-width: 767px) {
    .header .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        right: 1.5rem;
        background: #fff;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        border-radius: 0.75rem;
        flex-direction: column;
        min-width: 150px;
        padding: 1rem 0.5rem;
        z-index: 1000;
    }
    .header .nav-links.active {
        display: flex;
    }
    .hamburger {
        display: flex;
    }
}

/* Hero Section - About Page */
.about-hero-section {
    background-color: #555;
    padding: 4rem 2rem;
    text-align: center;
}

.about-hero-section .hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.about-hero-section .hero-subtitle {
    font-size: 1rem;
    max-width: 600px;
    line-height: 1.5;
    opacity: 0.9;
    color: #FFFFFF;
    margin: 0 auto;
}

/* Common Section Styles */
.content-section {
    padding: 4rem 2rem;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0C0FA6;
    margin-bottom: 2rem;
}

.section-box {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.about-section-box {
    background-color: #ffffff;
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

/* Grid Styles */
.values-grid,
.partners-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {

    .values-grid,
    .partners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.value-card,
.partner-card {
    background-color: #f4f5f7;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    text-align: left;
}

.value-card h3,
.partner-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0C0FA6;
}

.value-card p,
.partner-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.partner-card {
    text-align: center;
}

.partner-card h3 {
    color: #333;
}

/* Footer */
.footer {
    background-color: #f4f5f7;
    color: #555;
    padding: 2rem;
    text-align: left;
}

.footer .logo {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer .info {
    font-size: 0.875rem;
    opacity: 0.8;
    line-height: 1.6;
    margin: 0 auto;
}

.footer .social-icons {
    margin-top: 1rem;
}

.footer .social-icons a {
    margin: 0 0.5rem;
    font-size: 1.5rem;
    opacity: 0.8;
    transition: opacity 0.2s ease-in-out;
}

.footer .social-icons a:hover {
    opacity: 1;
}

@media (max-width: 767px) {
    .header .nav-links {
        display: none;
    }
}

/* Hero Section */
.hero-section {
    background-image: url('https://placehold.co/1920x1080/000000/555555?text=WAYDRAFT');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1rem;
    max-width: 600px;
    line-height: 1.5;
    opacity: 0.9;
}

/* Core Values Section */
.core-values-section {
    background-color: #ffffff;
    padding: 4rem 2rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0C0FA6;
    text-align: center;
    margin-bottom: 2rem;
}

.values-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    max-width: 900px;
    margin: 0 auto;
}

.value-card {
    background-color: #f4f5f7;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0C0FA6;
}

.value-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.white-value-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
.white-value-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0C0FA6;
}
.white-value-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

/* Our Services Section */
.services-section {
    background-color: #f4f5f7;
    padding: 4rem 2rem;
}

.services-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    max-width: 900px;
    margin: 0 auto;
}

.service-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0C0FA6;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .values-grid,
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.problem-card,
.solution-card {
    background-color: #f4f5f7;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.problem-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #d90000;
}

.solution-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0C0FA6;
}

.problem-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.problem-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
    color: #555;
}

.problem-list li::before {
    content: '🚨';
    position: absolute;
    left: 0;
    font-size: 1rem;
}

.solution-text {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #333;
}

.features-section {
    background-color: #f4f5f7;
    padding: 4rem 2rem;
}

.features-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 900px;
    margin: 0 auto;
}

.feature-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0C0FA6;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.comparison-section {
    background-color: #ffffff;
    padding: 4rem 2rem;
}

.comparison-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 900px;
    margin: 0 auto;
}

.comparison-card {
    background-color: #f4f5f7;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    text-align: left;
}

.comparison-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0C0FA6;
}

.comparison-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.services-content {
    padding: 4rem 2rem;
    text-align: center;
}

.service-list {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 900px;
    margin: 0 auto;
}

.service-card ul {
    text-align: left;
    margin-top: 1rem;
    list-style-type: disc;
    padding-left: 1.5rem;
}

.service-card li {
    color: #555;
    margin-bottom: 0.5rem;
}

.cta-section {
    background-color: #f4f5f7;
    padding: 4rem 2rem;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    transition: all 0.3s ease;
    background-color: #0C0FA6;
    color: white;
}

.cta-button:hover {
    background-color: #1417a8;
}


.content-section {
    padding: 4rem 2rem;
    text-align: center;
}

.project-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 900px;
    margin: 0 auto;
}

.project-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    text-align: left;
}

.project-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #0C0FA6;
}

.project-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.project-image {
    width: 100%;
    height: 200px;
    background-color: #e0e0e0;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #888;
}

.timeline-section {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-container {
    position: relative;
    padding-left: 2rem;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10px;
    width: 2px;
    height: 100%;
    background-color: #ddd;
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background-color: #0C0FA6;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0C0FA6;
    margin-bottom: 1rem;
    position: relative;
    left: -2rem;
}

.timeline-content {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-left: 1rem;
    text-align: left;
}

.timeline-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/* community.html - Community, Notice, Press, Contact */

.community-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid #ccc;
}

.community-tabs button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: #555;
    background-color: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease-in-out;
}

.community-tabs button:hover,
.community-tabs button.active {
    color: #0C0FA6;
}

.community-tabs button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #0C0FA6;
}

.notice-board {
    max-width: 900px;
    margin: 0 auto;
}

.notice-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-radius: 0.75rem;
    overflow: hidden;
}

.notice-table th,
.notice-table td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.notice-table th {
    background-color: #f4f5f7;
    font-weight: 700;
    color: #555;
    font-size: 0.9rem;
}

.notice-table td {
    font-size: 0.95rem;
}

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

.notice-table a {
    color: #333;
    transition: color 0.2s ease-in-out;
}

.notice-table a:hover {
    color: #0C0FA6;
}

.press-release-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 900px;
    margin: 0 auto;
}

.press-card {
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    overflow: hidden;
    text-align: left;
    transition: transform 0.2s ease-in-out;
}

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

.press-image {
    width: 100%;
    height: 200px;
    background-color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #888;
}

.press-content {
    padding: 1.5rem;
}

.press-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.press-content p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

.contact-section {
    padding: 4rem 2rem;
    text-align: center;
}