/* Reset & Base Styles */
:root {
    --primary-color: #3188d7;
    --point-color: #F95164;
    --text-color: #333;
    --light-text: #666;
    --white: #fff;
    --bg-light: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 50px;
    font-weight: 800;
    /* ExtraBold */
    color: var(--primary-color);
    letter-spacing: -1px;
}

nav ul {
    display: flex;
    gap: 40px;
}

nav a {
    font-size: 18px;
    font-weight: 600;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-color);
}

.contact-btn {
    font-weight: 700;
    font-size: 18px;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s;
}

.contact-btn:hover {
    color: #f95164;
}

.hamburger,
.mobile-call-btn {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    background-image: url('../images/hero_bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Dark overlay for text readability */
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 20px;
    font-weight: 400;
    opacity: 0.9;
    line-height: 1.6;
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--primary-color);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.card:hover .card-bg {
    transform: scale(1.05);
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
}

.card h4 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 700;
}

.card p {
    font-size: 16px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.btn-more {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid white;
    border-radius: 30px;
    color: white;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-more:hover {
    background: white;
    color: var(--primary-color);
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: white;
    text-align: center;
}

.cta h3 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    color: var(--light-text);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-call,
.btn-kakao {
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    transition: transform 0.2s;
}

.btn-call {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(124, 187, 245, 0.4);
    pointer-events: none;
    cursor: default;
}

.btn-kakao {
    background-color: #FEE500;
    color: #3C1E1E;
    box-shadow: 0 5px 15px rgba(254, 229, 0, 0.4);
}

.btn-call:hover,
.btn-kakao:hover {
    transform: translateY(-3px);
}

@media (max-width: 600px) {
    .cta-buttons {
        gap: 10px;
    }

    .btn-call,
    .btn-kakao {
        flex: 1;
        padding: 12px 10px;
        font-size: 14px;
        white-space: nowrap;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn-call {
        pointer-events: auto;
        cursor: pointer;
    }
}

/* Footer */
footer {
    background-color: #f1f3f5;
    padding: 50px 0;
    border-top: 1px solid #e9ecef;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    color: #aaa;
}

.footer-info {
    text-align: right;
    color: #888;
    font-size: 14px;
    line-height: 1.6;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

.delay-4 {
    transition-delay: 0.8s;
}

.delay-5 {
    transition-delay: 1.0s;
}

.delay-6 {
    transition-delay: 1.2s;
}

/* Responsive */
@media (max-width: 900px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .card {
        height: 260px;
    }

    .hero h2 {
        font-size: 32px;
    }

    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        height: 60px;
        padding: 0 20px;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        font-size: 24px;
        margin: 0;
    }

    .desktop-nav {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        z-index: 999;
    }

    .desktop-nav.active {
        display: flex;
    }

    nav ul {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        width: 100%;
        margin: 0;
    }

    .contact-btn {
        display: none;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
    }

    .hamburger span {
        width: 100%;
        height: 2px;
        background-color: var(--primary-color);
        transition: all 0.3s;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .mobile-call-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary-color);
        z-index: 1001;
    }

    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-info {
        text-align: center;
    }

    h3 {
        font-size: 23px !important;
    }

    p {
        font-size: 16px !important;
    }


    .sub-hero {
        margin-top: 60px;
    }
}

/* Requirements Section */
.requirements {
    padding: 100px 0;
    background-color: #f8f9fa;
    /* Slightly different bg */
}

.req-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.req-item {
    background: white;
    padding: 40px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.req-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.req-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.req-item h4 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    line-height: 1.4;
}

.req-item .small-text {
    font-size: 14px;
    color: #888;
    font-weight: 400;
}

@media (max-width: 900px) {
    .req-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .req-item {
        padding: 20px 15px;
        /* Reduced from 40px 20px */
    }

    .req-item img {
        width: 50px;
        height: 50px;
        /* Reduced from 80px */
        margin-bottom: 10px;
        /* Reduced from 20px */
    }

    .req-item h4 {
        font-size: 16px;
        /* Reduced from 20px */
    }
}

@media (max-width: 600px) {
    .req-grid {
        grid-template-columns: 1fr;
    }
}

/* Program Page Styles */
.text-center-section {
    padding: 100px 0;
    text-align: center;
    background-color: white;
}

.text-content-box {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
    color: #444;
}

.text-content-box p {
    margin-bottom: 30px;
}

.highlight-text {
    font-size: 20px;
    font-weight: 500;
    color: #333;
    background-color: #f8f9fa;
    /* Subtle highlight bg */
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #e9ecef;
}

.highlight-text strong {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 24px;
}

/* Timeline & Subpage Styles */
/* Sub Hero */
.sub-hero {
    position: relative;
    height: 300px;
    background-image: url('../images/service_nurse.png');
    /* Reusing existing asset */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 80px;
    /* Offset for fixed header */
}

.sub-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.sub-hero-content {
    position: relative;
    z-index: 1;
}

.sub-hero h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Timeline Section */
.timeline-section {
    padding: 80px 0;
    background-color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h3 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.section-header p {
    font-size: 18px;
    color: var(--light-text);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    /* Center line */
    width: 4px;
    background: #e9ecef;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.timeline-number {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-content {
    width: 45%;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f3f5;
    position: relative;
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

/* Alternating Layout */
.timeline-item:nth-child(odd) {
    justify-content: flex-start;
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    text-align: left;
}

/* Connector Lines */
.timeline-content::after {
    content: '';
    position: absolute;
    top: 30px;
    width: 0;
    height: 0;
    border-style: solid;
}

.timeline-item:nth-child(odd) .timeline-content::after {
    right: -10px;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
    /* Right arrow logic adjusted */
    /* Actually for pointing to circle */
}

/* Typography in Timeline */
.timeline-content h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700;
}

.timeline-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-number {
        left: 20px;
        width: 35px;
        height: 35px;
        font-size: 14px;
        font-weight: 700;
        border-width: 3px;
    }

    .timeline-item {
        justify-content: flex-start !important;
        margin-left: 10px;
        /* Space for line/number */
        width: calc(100% - 0px);
        margin-bottom: 30px;
        padding-left: 20px;
    }

    .timeline-content {
        width: 100% !important;
        text-align: left !important;
        padding: 20px;
        margin: 0 !important;
        /* Reset margins */
    }

    .timeline-content::after {
        display: none;
        /* Hide arrows on mobile for cleaner look */
    }

    .timeline-content h4 {
        font-size: 18px;
        margin-bottom: 5px;
    }

    .timeline-content p {
        font-size: 15px !important;
    }
}

/* Program Benefits Section */
.program-benefits {
    padding: 80px 0;
    background-color: #ebf8fe;
}

.benefit-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.benefit-timeline::before {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 40px;
    /* Line alignment */
    width: 4px;
    background: #d0ebff;
    border-radius: 2px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
    position: relative;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
    border: 4px solid white;
}

.benefit-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.benefit-content {
    margin-left: 40px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    flex-grow: 1;
    position: relative;
}

.benefit-content h4 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.benefit-content ul {
    list-style: none;
    /* Custom bullets */
}

.benefit-content ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 16px;
    color: #555;
}

.benefit-content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--point-color);
    font-weight: bold;
}

/* Sub-list Styles */
.benefit-content ul.sub-list {
    margin-top: 5px;
    margin-bottom: 10px;
    padding-left: 20px;
}

.benefit-content ul.sub-list li {
    font-size: 15px;
    color: #666;
}

.benefit-content ul.sub-list li::before {
    content: '-';
    color: #888;
}

/* Example Box Styles */
.example-box {
    margin-top: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    border: 1px solid #e9ecef;
}

.ex-icon {
    font-size: 24px;
    margin-right: 15px;
    line-height: 1;
}

.example-box p {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

/* Connector arrow */
.benefit-content::before {
    content: '';
    position: absolute;
    top: 30px;
    left: -10px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid white;
}

@media (max-width: 768px) {
    .benefit-timeline::before {
        left: 30px;
    }

    .benefit-icon {
        width: 60px;
        height: 60px;
    }

    .benefit-icon img {
        width: 35px;
        height: 35px;
    }

    .benefit-content {
        margin-left: 20px;
        padding: 20px;
    }
}

/* Program Process Section (Step 3) */
.program-process {
    padding: 100px 0;
    background: #f8f9fa;
    /* Light background for contrast */
}

.process-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    /* Increased width for grid */
    margin: 0 auto;
    padding: 0 20px;
}

.process-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: white;
    border-radius: 12px;
    padding: 25px;
    /* Reduced padding */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid var(--primary-color);
    border-left: none;
    height: 100%;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Icon styles removed */

.p-card-content {
    width: 100%;
    border-top: none;
    /* Removed divider since no icon */
    padding-top: 0;
}

.p-card-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Left align everything */
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e9ecef;
    /* Move divider to under title */
}

.step-num {
    font-size: 24px;
    font-weight: 800;
    color: #e9ecef;
    margin-right: 15px;
    line-height: 1;
}

.p-card-header h4 {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
}

.p-card-content p {
    font-size: 15px;
    /* Slightly smaller for compact look */
    color: #555;
    margin: 0;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 900px) {
    .process-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .process-list {
        grid-template-columns: 1fr;
    }

    .process-card {
        text-align: left;
        border-top: none;
        border-left: 5px solid var(--primary-color);
        padding: 20px;
    }

    /* Icon overrides removed */

    .p-card-content {
        padding: 0;
        border-top: none;
        border-left: none;
    }

    .p-card-header {
        justify-content: flex-start;
    }

    .step-num {
        color: #ddd;
        /* Visible light grey */
    }
}

/* Program Considerations Section (Step 4) */
.program-considerations {
    padding: 100px 0;
    background: white;
}

.consideration-list {
    max-width: 1000px;
    /* Increased max-width for 2 columns */
    margin: 0 auto;
    background: #fff;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 50px;
    row-gap: 30px;
}

.consideration-item {
    display: flex;
    align-items: flex-start;
    padding: 30px;
    /* Internal spacing */
    border: 1px solid #e9ecef;
    /* Light full border */
    border-radius: 12px;
    /* Rounded corners */
    background: white;
    height: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    /* Very subtle shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.consideration-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
    /* Highlight on hover */
}

/* Remove previous list-based borders */
.consideration-item:first-child,
.consideration-item:last-child {
    border-bottom: 1px solid #e9ecef;
    /* Reset to standard border */
    border-top: 1px solid #e9ecef;
}

/* Add a clean look: maybe no heavy borders, just the check items. 
   Or if we want the top/bottom solid lines for the whole group, we wrap grid in a container with borders.
   For now, simple dashed separators for items. 
*/

.c-check-icon {
    background: transparent;
    border: 2px solid #333;
    color: #333;
    width: 30px;
    height: 30px;
    font-size: 16px;
    font-weight: bold;
    margin-right: 20px;
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 5px;
    /* Align with title */
    display: flex;
    align-items: center;
    justify-content: center;
}

.c-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    /* Stack title and text */
    align-items: flex-start;
}

.c-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    margin-right: 0;
    min-width: auto;

    .c-content h4 {
        margin-bottom: 5px;
        margin-right: 0;
    }
}

.c-content p {
    font-size: 16px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .consideration-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Program Reviews Section (Step 5) */
.program-reviews {
    padding: 80px 0;
    /* Reduced padding */
    background: #f8f9fa;
}

.reviews-list {
    max-width: 800px;
    margin: 0 auto 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* Reduced gap */
}

.review-card {
    background: white;
    padding: 25px 30px;
    /* Reduced padding */
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    position: relative;
    border: 1px solid #f1f3f5;
    text-align: center;
}

.r-content {
    position: relative;
    padding: 0;
    border: none;
    margin: 0;
}

.r-content p {
    font-size: 17px;
    color: #333;
    line-height: 1.6;
    font-weight: 500;
    display: inline;
}

.quote-mark {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 800;
    margin: 0 4px;
    vertical-align: top;
}

.highlight-bg {
    background: rgba(254, 229, 0, 0.3);
    padding: 0 4px;
}

.r-content strong {
    color: var(--point-color);
    font-weight: 700;
}

.reviews-footer {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}

@media (max-width: 600px) {
    .review-card {
        padding: 20px;
    }

    .r-content p {
        font-size: 15px;
    }
}

/* Program Reviews Section (Step 5) */
.program-reviews {
    padding: 100px 0;
    background: #f8f9fa;
}

.reviews-list {
    max-width: 1200px;
    /* Increased for 1 row */
    margin: 0 auto 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 columns */
    gap: 20px;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    border: 1px solid #f1f3f5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
}

.r-content {
    position: relative;
    padding: 0;
    border: none;
    margin: 0;
}

.r-content p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    font-weight: 500;
}

.quote-mark {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 800;
    margin: 0 4px;
    vertical-align: top;
}

.highlight-bg {
    background: rgba(254, 229, 0, 0.3);
    padding: 0 4px;
}

.r-content strong {
    color: var(--point-color);
    font-weight: 700;
}

/* Author styles removed */

.reviews-footer {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 20px;
    /* Increased to 20px */
    color: #555;
    line-height: 1.8;
    font-weight: 500;
    /* Added weight for better readability at larger size */
}

@media (max-width: 900px) {
    .reviews-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .reviews-list {
        grid-template-columns: 1fr;
    }

    .review-card {
        padding: 20px;
    }
}

@media (max-width: 600px) {
    .review-card {
        padding: 30px 20px;
    }

    .r-content p {
        font-size: 16px;
    }
}

.c-content p {
    font-size: 16px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .consideration-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* =========================================
   Company Introduction Page
   ========================================= */

.company-intro {
    padding: 50px 0;
    background: white;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.intro-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.intro-img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.intro-image-wrapper:hover .intro-img {
    transform: scale(1.05);
}

.intro-heading {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.5;
    word-break: keep-all;
    margin-bottom: 0;
}

.intro-divider {
    width: 100%;
    height: 1px;
    background: #e0e0e0;
    margin: 30px 0;
}

.intro-description p {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    word-break: keep-all;
}

.intro-description p:last-child {
    margin-bottom: 0;
}

.company-section {
    padding: 100px 0;
    background: white;
}

.border-top {
    border-top: 1px solid #eee;
}

.company-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    /* Fixed width title, flexible content */
    gap: 60px;
}

.c-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.section-num {
    font-family: 'Montserrat', sans-serif;
    /* Or Pretendard if preferred */
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.c-title {
    font-size: 32px;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
}

.c-right p {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
    word-break: keep-all;
}

.company-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.company-list li {
    font-size: 17px;
    color: #333;
    padding-left: 15px;
    position: relative;
    margin-bottom: 12px;
    font-weight: 500;
}

.company-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
}

.company-closing {
    position: relative;
    padding: 100px 0;
    background-image: url('../images/service_company.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: white;
    overflow: hidden;
}

.closing-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.closing-content {
    position: relative;
    z-index: 1;
}

.company-closing .closing-text {
    font-size: 24px;
    /* Increased from 20px */
    color: white;
    font-weight: 600;
    line-height: 1.6;
    word-break: keep-all;
}

/* Responsive for Company Page */
@media (max-width: 900px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .intro-heading {
        font-size: 24px;
    }

    .company-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .c-title {
        font-size: 28px;
    }

    .c-right p {
        font-size: 16px;
    }

    .company-closing .closing-text {
        font-size: 20px;
    }
}

/* Breadcrumbs */
.breadcrumb-bar {
    background-color: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #666;
}

.breadcrumb-bar a {
    color: #888;
    transition: color 0.2s;
}

.breadcrumb-bar a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.breadcrumb-bar span {
    color: #333;
    font-weight: 500;
    margin-left: 5px;
}