/* Academy Page Specific Styles */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.8/dist/web/static/pretendard.css");

:root {
    --ac-primary-teal: #2b817e;
    --ac-dark-teal: #1A5E5B;
    --ac-light-gray: #f8f9fa;
    --ac-border-color: #e9ecef;
    --ac-text-dark: #212529;
    --ac-text-gray: #6c757d;
    --ac-border-radius: 12px;
}

body.academy-body {
    background-color: #ffffff;
    color: var(--ac-text-dark);
    font-family: 'Pretendard', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    word-break: keep-all;
}

/* Header */
.ac-header {
    background: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid var(--ac-border-color);
}

.ac-logo {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--ac-primary-teal);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Hero Section */
/* Hero Section */
.ac-hero {
    padding: 60px 20px;
    background: #F0F6FF;
    /* Very light blue background */
    display: flex;
    /* Flex for centering container */
    justify-content: center;
}

.ac-hero-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    /* Center vertically */
    gap: 40px;
    flex-wrap: wrap;
    /* Wrap on mobile */
    text-align: left;
    /* Default left align for desktop */
}

.ac-hero-content {
    flex: 1;
    min-width: 300px;
}

.ac-hero-image {
    flex: 1;
    min-width: 300px;
}

.ac-hero-image img {
    width: 100%;
    border-radius: 30px;
    /* Large rounded corners as per image */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.ac-hero-badge {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid var(--ac-primary-teal);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ac-text-dark);
    margin-bottom: 20px;
    background: white;
}

.ac-hero h1 {
    font-size: 2.5rem;
    /* Larger font size */
    font-weight: 800;
    color: var(--ac-text-dark);
    margin-bottom: 20px;
    margin-top: 1px;
    line-height: 1.3;
}

.ac-hero h1 span {
    color: var(--ac-text-dark);
    /* Base color */
}

.ac-hero p {
    font-size: 1rem;
    color: var(--ac-text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.ac-hero-check {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
    /* Space after CTA? Or before? Image shows checks below CTA? No, usually text flow. Let's see. */
    /* Reference image shows checks at the bottom of the text block. CTA button is above checks. */
}

.ac-check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--ac-text-dark);
}

.ac-check-item i {
    color: var(--ac-primary-teal);
    background: #E0F2F1;
    /* Light teal circle bg for icon? */
    padding: 4px;
    border-radius: 50%;
    font-size: 0.7rem;
    width: 16px;
    height: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ac-hero-btn {
    display: inline-block;
    background-color: var(--ac-primary-teal);
    color: white;
    padding: 15px 40px;
    border-radius: 10px;
    /* Slightly less rounded than pill? Image looks rounded. */
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background 0.3s;
    border-radius: 30px;
}

.ac-hero-btn:hover {
    background-color: var(--ac-dark-teal);
}

/* Why Section */
.ac-why {
    background-color: var(--ac-light-gray);
    padding: 60px 20px;
}

.ac-section-title {
    text-align: center;
    margin-bottom: 40px;
}

.ac-section-title h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.ac-section-title p {
    color: var(--ac-text-gray);
}

.ac-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.ac-card {
    background: white;
    padding: 30px;
    border-radius: var(--ac-border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--ac-border-color);
}

.ac-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--ac-primary-teal);
    font-weight: 700;
}

/* Curriculum List */
.ac-curriculum-item {
    background: white;
    border-radius: var(--ac-border-radius);
    overflow: hidden;
    border: 1px solid var(--ac-border-color);
    margin-bottom: 20px;
}

.ac-curriculum-header {
    background: var(--ac-primary-teal);
    color: white;
    padding: 15px 20px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ac-curriculum-body {
    padding: 20px;
}

.ac-curriculum-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--ac-text-dark);
    margin-bottom: 10px;
}

.ac-curriculum-desc {
    color: var(--ac-text-gray);
    font-size: 0.95rem;
}

/* FAQ */
.ac-faq-item {
    border-bottom: 1px solid var(--ac-border-color);
    padding: 20px 0;
}

.ac-faq-q {
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ac-faq-a {
    margin-top: 15px;
    color: var(--ac-text-gray);
    display: none;
    font-size: 0.95rem;
}

.ac-faq-item.active .ac-faq-a {
    display: block;
}

/* Contact Form */
.ac-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: var(--ac-border-radius);
    border: 1px solid var(--ac-border-color);
}

.ac-input-group {
    margin-bottom: 20px;
}

.ac-input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.ac-input,
.ac-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--ac-border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}

.ac-textarea {
    resize: vertical;
    min-height: 120px;
}

.ac-privacy-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.ac-privacy-label {
    display: flex !important;
    /* Override block display */
    align-items: center;
    gap: 8px;
    font-weight: 500 !important;
    cursor: pointer;
    margin-bottom: 0 !important;
}

.ac-privacy-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--ac-primary-teal);
    cursor: pointer;
}

.ac-privacy-label span {
    font-size: 0.8em;
    /* Reduced by 20% */
}

.ac-privacy-link {
    color: var(--ac-text-gray);
    font-size: 0.8rem;
    text-decoration: underline;
    cursor: pointer;
}

.ac-submit-btn {
    width: 100%;
    background-color: var(--ac-primary-teal);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1.1rem;
}

/* Padding for footer */
.spacer {
    height: 100px;
}

/* Sticky Footer */
.ac-sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    z-index: 1000;
}

.ac-footer-btn {
    padding: 15px 0;
    text-align: center;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

@media (max-width: 768px) {
    .ac-sticky-footer {
        grid-template-columns: 1fr 1fr;
    }

    .ac-sticky-footer .ac-footer-btn:nth-child(n+3) {
        /* Keep all 4 or hide? Reference suggests 4 buttons usually. Let's keep grid 1x4 if possible or 2x2 */
        /* Actually reference usually keeps all 4 visible on mobile often. Let's force it or scroll. */
        /* Let's try to fit 4. */
    }

    .ac-sticky-footer {
        display: flex;
        justify-content: space-around;
    }

    .ac-footer-btn {
        flex: 1;
        font-size: 0.8rem;
    }

    .ac-hero h1 {
        font-size: 2rem;
        margin-top: 1px;

    }

}


/* Privacy Policy Modal */
.ac-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    /* Black w/ opacity */
    align-items: center;
    justify-content: center;
}

.ac-modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    /* 15% from the top and centered */
    padding: 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 600px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.ac-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
}

.ac-close:hover,
.ac-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.ac-modal-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--ac-text-dark);
    border-bottom: 2px solid var(--ac-primary-teal);
    padding-bottom: 10px;
}

.ac-modal-body {
    font-size: 0.9rem;
    color: var(--ac-text-gray);
    line-height: 1.6;
    max-height: 400px;
    overflow-y: auto;
    white-space: pre-wrap;
    /* Preserve formatting */
}