html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-yellow: #FFD700; /* Gold, a vibrant yellow */
    --light-yellow: #333333; /* Dark gray for subtle contrast or backgrounds */
    --dark-blue: #1a1a1a; /* Very dark gray/black for main backgrounds */
    --medium-gray: #bbbbbb;
    --light-gray: #444444; /* Darker gray for borders/dividers */
    --white: #ffffff;
    --black: #000000; /* Pure black for deepest contrast */
    --text-on-dark: #e0e0e0; /* Light gray for text on dark backgrounds */
    --accent-red: #e74c3c;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-on-dark);
    background-color: var(--black);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    display: none; /* Hide the old header */
}

/* Top Bar */
.top-bar {
    background-color: var(--dark-blue); /* Dark background */
    color: var(--white);
    padding: 1rem 0;
    position: sticky; /* Sticky positioning */
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4); /* Subtle shadow */
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-yellow);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.6); /* Yellow glow effect */
}

.top-bar-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

.top-bar-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.top-bar-nav a:hover {
    color: var(--primary-yellow);
}

/* Main */
main {
    background: var(--dark-blue);
    margin: 3rem auto; /* Adjusted margin */
    border-radius: 18px; /* Adjusted radius */
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.35); /* Adjusted shadow */
    overflow: hidden;
    padding: 0;
}

/* Hero Section */
.hero {
    padding: 4rem 2rem; /* Adjusted padding */
    background: var(--black);
    color: var(--text-on-dark);
    border-bottom: 1px solid var(--light-gray);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align content to the left */
    gap: 2.5rem; /* Slightly reduced gap to make it feel more attached */
    flex-wrap: wrap;
    text-align: left; /* Align text within the content to the left */
}

.hero-image {
    width: 400px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    flex-shrink: 0;
}

.hero-text {
    max-width: 600px;
}

.hero-text h2 {
    font-size: 2.8rem;
    margin-bottom: 0.8rem; /* Reverted to original margin for text */
    font-weight: 700;
    color: var(--primary-yellow);
    text-align: left;
    /* Removed position: relative; and padding-bottom: 0.5rem; */
}

/* Removed .hero-text h2::after rules */

.hero-text p {
    font-size: 1.3rem;
    opacity: 0.95;
    color: var(--text-on-dark);
    text-align: left;
}

/* Sections */
section {
    padding: 3.5rem 2.5rem; /* Adjusted padding */
    border-bottom: 1px solid var(--light-gray);
}

section:last-of-type {
    border-bottom: none;
}

section h2 {
    font-size: 2.2rem; /* Reduced font size */
    margin-bottom: 2.5rem; /* Adjusted margin */
    color: var(--white);
    text-align: center;
    /* Removed position: relative; and padding-bottom: 0.5rem; */
}

/* Removed section h2::after rules */

/* Program Overview */
.program-overview h2 {
    margin-bottom: 3rem; /* Adjusted margin */
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Adjusted min-width */
    gap: 2.5rem; /* Adjusted gap */
    margin-bottom: 3.5rem; /* Adjusted margin */
}

.overview-item {
    background: var(--light-yellow);
    padding: 2.2rem; /* Adjusted padding */
    border-radius: 12px; /* Adjusted radius */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35); /* Adjusted shadow */
    border: 1px solid var(--light-gray);
}

.overview-item:hover {
    transform: translateY(-8px); /* Adjusted lift */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45); /* Adjusted shadow */
}

.overview-item h3 {
    color: var(--primary-yellow);
    margin-bottom: 1rem; /* Adjusted margin */
    font-size: 1.5rem; /* Reduced font size */
}

.overview-item p {
    color: var(--text-on-dark);
    font-size: 1.05rem; /* Reduced font size */
}

.selection-areas h3 {
    text-align: center;
    margin-bottom: 2.5rem; /* Adjusted margin */
    color: var(--white);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Adjusted min-width */
    gap: 2.5rem; /* Adjusted gap */
}

.area-card {
    background: var(--light-yellow); /* Changed to darker gray for better visibility */
    color: var(--text-on-dark);
    padding: 2.2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.area-card:hover {
    transform: translateY(-8px);
    background: var(--primary-yellow);
    color: var(--dark-blue);
}

.area-card h4 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: var(--primary-yellow); /* Keeping yellow for heading */
}

.area-card:hover h4 {
    color: var(--dark-blue);
}

.area-card p {
    color: var(--text-on-dark); /* Keeping light text for paragraph */
    font-size: 1.05rem;
}

.area-card:hover p {
    color: var(--dark-blue);
}

/* Content Grid */
.consulting-sections {
    display: flex;
    flex-direction: column;
    gap: 3.5rem; /* Adjusted gap */
}

.consulting-section {
    background: var(--light-yellow);
    padding: 3rem; /* Adjusted padding */
    border-radius: 15px; /* Adjusted radius */
    border-left: 5px solid var(--primary-yellow); /* Adjusted thickness */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35); /* Adjusted shadow */
}

.consulting-section h3 {
    color: var(--white);
    margin-bottom: 1.2rem; /* Adjusted margin to accommodate description */
    font-size: 1.8rem;
    text-align: center;
}

.consulting-section .section-description {
    color: var(--medium-gray);
    font-size: 1rem;
    text-align: center;
    margin-bottom: 2rem; /* Spacing before the grid */
    line-height: 1.5;
}

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

.content-item {
    background: var(--dark-blue);
    border: 1px solid var(--light-gray);
    padding: 2rem; /* Adjusted padding */
    border-radius: 12px; /* Adjusted radius */
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.45); /* Adjusted shadow */
}

.content-item:hover {
    background: var(--primary-yellow);
    color: var(--dark-blue);
    transform: translateY(-8px); /* Adjusted lift */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.55); /* Adjusted shadow */
}

.content-item h3,
.content-item h4 {
    margin-bottom: 1rem; /* Adjusted margin */
    color: var(--primary-yellow);
}

.content-item:hover h3,
.content-item:hover h4,
.content-item:hover p {
    color: var(--dark-blue);
}

.content-item h4 {
    font-size: 1.3rem; /* Reduced font size */
    font-weight: 600;
}

.content-item p {
    color: var(--text-on-dark);
    font-size: 1.05rem; /* Reduced font size */
}

/* Process Steps */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2.5rem; /* Adjusted gap */
}

.step {
    display: flex;
    align-items: center;
    gap: 1.8rem; /* Adjusted gap */
    padding: 2rem; /* Adjusted padding */
    background: var(--light-yellow);
    border-radius: 12px; /* Adjusted radius */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35); /* Adjusted shadow */
    border: 1px solid var(--light-gray);
}

.step:hover {
    transform: translateY(-8px); /* Adjusted lift */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45); /* Adjusted shadow */
}

.step-number {
    background: var(--primary-yellow);
    color: var(--dark-blue);
    width: 50px; /* Adjusted size */
    height: 50px; /* Adjusted size */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem; /* Reduced font size */
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35); /* Adjusted shadow */
}

.step-content h3 {
    margin-bottom: 0.5rem; /* Adjusted margin */
    color: var(--white);
    font-size: 1.4rem; /* Reduced font size */
}

.step-content p {
    color: var(--medium-gray);
    font-size: 1.05rem; /* Reduced font size */
}

/* Pricing */
.price-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem; /* Adjusted gap */
}

.price-card,
.kakao-card {
    background: var(--light-yellow);
    color: var(--text-on-dark);
    padding: 3.5rem; /* Adjusted padding */
    border-radius: 12px; /* Adjusted radius */
    text-align: center;
    flex: 1;
    min-width: 340px; /* Adjusted min-width */
    max-width: 480px; /* Adjusted max-width */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35); /* Adjusted shadow */
    border: 1px solid var(--light-gray);
}

.price-card {
    border-top: 6px solid var(--primary-yellow); /* Adjusted thickness */
}

.price-amount {
    font-size: 3.5rem; /* Reduced font size */
    font-weight: bold;
    margin-bottom: 0.8rem; /* Adjusted margin */
    color: var(--primary-yellow);
}

.price-details {
    font-size: 1.2rem; /* Reduced font size */
    opacity: 0.9;
    margin-bottom: 2.5rem; /* Adjusted margin */
    color: var(--medium-gray);
}

.price-includes {
    background: var(--dark-blue);
    padding: 1.8rem; /* Adjusted padding */
    border-radius: 10px; /* Adjusted radius */
    margin-bottom: 1.8rem; /* Adjusted margin */
}

.price-includes ul {
    list-style: none;
    padding: 0;
}

.price-includes li {
    padding: 0.8rem 0; /* Adjusted padding */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); /* Adjusted separator visibility */
    color: var(--text-on-dark);
    font-size: 1.05rem; /* Reduced font size */
}

.price-includes li:last-child {
    border-bottom: none;
}

.price-note {
    font-size: 1rem; /* Reduced font size */
    opacity: 0.7;
    color: var(--medium-gray);
}

.kakao-card {
    background: var(--light-yellow);
    color: var(--text-on-dark);
    border-top: 6px solid #FEE500; /* Adjusted thickness */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.kakao-card h3 {
    color: var(--primary-yellow);
    margin-bottom: 1.2rem; /* Adjusted margin */
    font-size: 1.8rem; /* Reduced font size */
}

.kakao-card p {
    font-size: 1.1rem; /* Reduced font size */
    margin-bottom: 1.8rem; /* Adjusted margin */
    color: var(--medium-gray);
}

.kakao-button {
    display: inline-block;
    padding: 14px 28px; /* Adjusted padding */
    background-color: #FEE500;
    color: var(--dark-blue);
    text-decoration: none;
    border-radius: 10px; /* Adjusted radius */
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4); /* Adjusted shadow */
}

.kakao-button:hover {
    background-color: #FFDE00;
    transform: translateY(-3px); /* Adjusted lift */
}

/* CTA Section */
.cta {
    background: var(--dark-blue);
    color: var(--white);
    padding: 5rem 3rem; /* Adjusted padding */
    text-align: center;
    border-radius: 18px; /* Adjusted radius */
    margin: 3.5rem auto; /* Adjusted margin */
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.4); /* Adjusted shadow */
}

.cta h2 {
    font-size: 2.8rem; /* Reduced font size */
    margin-bottom: 1.8rem; /* Adjusted margin */
    font-weight: 700;
    color: var(--primary-yellow);
}

.cta p {
    font-size: 1.3rem; /* Reduced font size */
    margin-bottom: 1.8rem; /* Adjusted margin */
    opacity: 0.9;
    color: var(--white);
}

.process-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.8rem; /* Adjusted gap */
    margin: 2.5rem auto; /* Adjusted margin */
    background: rgba(255, 255, 255, 0.08); /* Adjusted background opacity */
    padding: 1.8rem 2.5rem; /* Adjusted padding */
    border-radius: 12px; /* Adjusted radius */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25); /* Adjusted shadow */
}

.process-flow span {
    background: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    font-weight: bold;
    font-size: 1.1rem; /* Reduced font size */
    transition: none;
    color: var(--white);
}

.process-flow span:hover {
    transform: none;
    background: none;
}

.process-flow span:not(:last-child)::after {
    content: ' → ';
    margin-left: 0.7rem; /* Adjusted margin */
    margin-right: 0.7rem; /* Adjusted margin */
    color: rgba(255, 255, 255, 0.6); /* Adjusted color */
}

.process-flow span:last-of-type {
    margin-right: 0;
}

.contact-info {
    background: var(--primary-yellow);
    color: var(--dark-blue);
    padding: 1.8rem 2.5rem; /* Adjusted padding */
    border-radius: 12px; /* Adjusted radius */
    margin-top: 2.5rem; /* Adjusted margin */
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35); /* Adjusted shadow */
    display: inline-block;
    max-width: 700px; /* Adjusted width */
}

.contact-info p {
    font-size: 1.1rem; /* Reduced font size */
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .cta {
        padding: 4rem 2rem;
    }

    .cta h2 {
        font-size: 2.2rem;
    }

    .cta p {
        font-size: 1.1rem;
    }

    .process-flow {
        gap: 1rem;
    }

    .process-flow span {
        max-width: 300px;
        font-size: 1rem;
    }
}

/* Footer */
footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 2.5rem 0; /* Adjusted padding */
    text-align: center;
    font-size: 1rem; /* Reduced font size */
    margin-top: 4rem; /* Adjusted margin */
}

footer p {
    margin-bottom: 0.5rem; /* Adjusted margin */
}

footer a {
    color: var(--primary-yellow);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Refund Policy Section */
.refund-policy-section {
    padding: 3.5rem 2.5rem; /* Adjusted padding */
    background: var(--dark-blue);
    border-top: 1px solid var(--light-gray);
    text-align: center;
    margin-top: 3.5rem; /* Adjusted margin */
    border-radius: 18px; /* Adjusted radius */
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.35); /* Adjusted shadow */
}

.refund-policy-section h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 2rem; /* Adjusted margin */
    /* Removed position: relative; and padding-bottom: 0.5rem; */
}

/* Removed .refund-policy-section h2::after rules */

.refund-details {
    background: var(--light-yellow);
    border-radius: 12px; /* Adjusted radius */
    padding: 1.8rem 2.2rem; /* Adjusted padding */
    margin-top: 1.8rem; /* Adjusted margin */
    text-align: left;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.35); /* Adjusted shadow */
}

.refund-summary {
    font-size: 1.2rem; /* Reduced font size */
    font-weight: bold;
    color: var(--primary-yellow);
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 25px; /* Adjusted padding */
}

.refund-summary::-webkit-details-marker {
    display: none;
}

.refund-summary::after {
    content: '▼';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.2s ease;
    font-size: 1rem; /* Reduced font size */
}

details[open] .refund-summary::after {
    transform: translateY(-50%) rotate(180deg);
}

.refund-content ul {
    list-style: disc inside;
    margin-top: 1.2rem; /* Adjusted margin */
    padding-left: 1rem;
    color: var(--text-on-dark);
    font-size: 1rem; /* Reduced font size */
}

.refund-content li {
    margin-bottom: 0.5rem; /* Adjusted margin */
}

/* Responsive adjustments for new section */
@media (max-width: 768px) {
    .refund-policy-section {
        padding: 2.5rem 1.2rem; /* Adjusted padding */
        margin-top: 2.5rem; /* Adjusted margin */
    }

    .refund-policy-section h2 {
        font-size: 1.8rem;
    }

    .refund-details {
        padding: 1.2rem 1.2rem; /* Adjusted padding */
    }

    .refund-summary {
        font-size: 1.1rem;
    }

    .refund-summary::after {
        font-size: 0.9rem;
    }

    .refund-content ul {
        font-size: 0.95rem;
    }
}

/* Kakao Inquiry Section */
.kakao-inquiry-section {
    padding: 3rem 2.5rem; /* Consistent section padding */
    background: var(--dark-blue); /* Consistent background */
    text-align: center;
    margin-top: 3rem; /* Spacing from previous section */
}

.kakao-inquiry-section .kakao-card {
    background: var(--light-yellow); /* Darker gray background */
    color: var(--text-on-dark);
    padding: 1.5rem 2rem; /* Reduced padding to make it thinner */
    border-radius: 12px;
    text-align: center;
    max-width: 600px; /* Limit width for thin appearance */
    margin: 0 auto; /* Center the card */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35); /* Consistent shadow */
    border-top: 6px solid #FEE500; /* Kakao yellow accent */
}

.kakao-inquiry-section .kakao-card h3 {
    color: var(--primary-yellow); /* Yellow heading */
    font-size: 1.6rem; /* Slightly smaller heading */
    margin-bottom: 0.8rem; /* Adjusted margin */
}

.kakao-inquiry-section .kakao-card p {
    font-size: 1rem; /* Slightly smaller text */
    margin-bottom: 1.5rem; /* Adjusted margin */
    color: var(--medium-gray);
}

.kakao-inquiry-section .kakao-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #FEE500;
    color: var(--dark-blue);
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.kakao-inquiry-section .kakao-button:hover {
    background-color: #FFDE00;
    transform: translateY(-2px);
}

.kakao-inquiry-section h2 {
    color: var(--white);
    font-size: 2.2rem; /* Consistent heading size */
    margin-bottom: 2.5rem; /* Consistent margin */
    /* Removed position: relative; and padding-bottom: 0.5rem; */
}

/* Removed .kakao-inquiry-section h2::after rules */

@media (max-width: 768px) {
    .kakao-inquiry-section {
        padding: 2rem 1.5rem;
        margin-top: 2rem;
    }

    .kakao-inquiry-section .kakao-card {
        max-width: 100%;
        padding: 1.2rem 1.5rem;
    }

    .kakao-inquiry-section .kakao-card h3 {
        font-size: 1.4rem;
    }

    .kakao-inquiry-section .kakao-card p {
        font-size: 0.9rem;
    }

    .kakao-inquiry-section .kakao-button {
        padding: 10px 20px;
    }
}
