/* Additional CSS for Services Page - add these to your modern_style.css file */

/* Services Overview Section */


.education-section {
	margin-top: 100px;
	margin-bottom: 100px;
}

.education-section .section-title {
	text-align: center;
    color: var(--primary-color);
    font-size: 3rem;
}

.educations-overview {
    margin-top: 6rem;
    padding: 6rem 0;
    background-color: white;
    font-family: var(--font-korean);
    color: var(--accent-color);
}

.educations-overview h3 {
    font-size: 1.4rem;
    color: var(--seoncdary-text-color);
}


.education-img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.5s ease;
}


.education-img:hover {
    transform: scale(1.02);
}

.educations-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.educations-content h2 {
    color: var(--primary-color);
}

.educations-content p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.educations-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Main Services Section */
.main-educations {
    padding: 8rem 0;
    font-family: var(--font-korean);
    transition: all 0.3s;
}

.educations-overview h1 {
    color: var(--primary-color);
    font-size: 2.2rem;
}

.main-educations h2 {
    color: var(--primary-color);
}

.education-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 6rem;
}

.education-card {
    background: white;
    background-color: var(--secondary2-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.education-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.education-image {
    height: 200px;
    overflow: hidden;
}

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

.education-card:hover .service-image img {
    transform: scale(1.1);
}

.education-details {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.education-details h3 {
    font-family: var(--font-korean);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.education-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.education-features {
    list-style: none;
    margin-bottom: 1.5rem;
    flex: 1;
}

.education-features li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    color: #666;
    font-size: 0.9rem;
}

.education-features i {
    color: var(--primary-color);
    margin-right: 0.8rem;
    font-size: 0.9rem;
}

.education-details-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1.2rem;
}

.education-price {
    display: flex;
    flex-direction: column;
}

.education-price span {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 0.3rem;
}

.education-price h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.btn-secondary {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background-color: white;
    color: var(--accent-color);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-3px);
}

/* Special Programs Section */
.special-programs {
    padding: 6rem 0;
    background-color: white;
    font-family: var(--font-korean);
}

.special-programs h2 {
    color: var(--primary-color);
}

/* .programs-grid { */
/*     display: grid; */
/*     grid-template-columns: 1fr; */
/*     gap: 2rem; */
/*     margin-top: 3rem; */
/*     max-width: 900px; */
/*     margin-left: auto; */
/*     margin-right: auto; */
/* } */

/* .program-item { */
/*     display: flex; */
/*     align-items: flex-start; */
/*     background-color: #f9fcfc; */
/*     border-radius: 10px; */
/*     padding: 2rem; */
/*     transition: transform 0.3s ease, box-shadow 0.3s ease; */
/* } */
/**/
/* .program-item:hover { */
/*     transform: translateY(-5px); */
/*     box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05); */
/* } */
/**/
/* .program-icon { */
/*     font-size: 2rem; */
/*     color: var(--primary-color); */
/*     margin-right: 1.5rem; */
/*     flex-shrink: 0; */
/*     width: 50px; */
/*     text-align: center; */
/* } */
/**/
/* .program-content h3 { */
/*     font-family: var(--font-korean); */
/*     font-size: 1.3rem; */
/*     margin-bottom: 0.8rem; */
/*     color: var(--text-color); */
/* } */
/**/
/* .program-content p { */
/*     color: #666; */
/*     font-size: 0.95rem; */
/*     line-height: 1.6; */
/*     margin: 0; */
/* } */


/* ====================================== */

/* Program cards grid */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
    transition: all 0.3s;
}

/* Card base style */
.program-card {
    /* background-color: #f9fcfc;  */
    border: 2px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    border: 2px solid var(--border-color);
    transform: translateY(-15px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    z-index: 2;
}


/* Program icon */
.program-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.program-icon i,
.program-icon svg {
    font-size: 24px;
}

.spine-icon {
    width: 24px;
    height: 24px;
}

/* Program content */
.program-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.program-card h3 {
    margin-bottom: 10px;
    font-family: var(--font-korean);
    font-weight: 600;
    font-size: 1.2rem;
}

.program-card p {
    margin-bottom: 15px;
    font-family: var(--font-korean);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Benefits list */
.program-benefits {
    margin-top: 5px;
    padding-left: 5px;
    list-style-type: none;
}

.program-benefits li {
    margin-bottom: 6px;
    position: relative;
    padding-left: 15px;
    font-family: var(--font-korean);
    font-size: 0.85rem;
    line-height: 1.4;
}

.program-benefits li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Make the cards responsive */
@media (max-width: 768px) {


    p {
        text-wrap: balance;
    }

    .programs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}


/* Packages Section */
.packages-section {
    padding: 6rem 0;
    /* background-color: #f9fcfc; */
    font-family: var(--font-korean);
    background-color: var(--primary-text-color);
}

.packages-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 3rem;
}

.package-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 1 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.package-card.featured {
    border: 2px solid var(--border-color);
    transform: scale(1.05);
}

.package-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.package-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-text-color);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-bottom-left-radius: 10px;
}

.package-header {
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--accent-color);
}

.package-header h3 {
    font-family: var(--font-korean);
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.package-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--accent-color);
}

.package-price .price {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-text-color);
}

.package-price .duration {
    font-size: 0.9rem;
    color: #999;
    margin-top: 0.3rem;
}

.package-body {
    padding: 2rem;
    flex: 1;
}

.package-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.package-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.package-features i {
    color: var(--accent-color);
    margin-right: 0.8rem;
    font-size: 1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.package-note {
    background-color: rgba(50, 185, 160, 0.05);
    padding: 1rem;
    border-radius: 5px;
    font-size: 0.85rem;
    color: #666;
    margin-top: 1rem;
}

.package-note p {
    margin: 0;
    line-height: 1.5;
}

.package-footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}


/* Responsive adjustments */
@media (max-width: 992px) {
    .packages-container {
        justify-content: center;
    }

    .package-card {
        max-width: 100%;
        width: 45%;
    }

    .package-card.featured {
        transform: scale(1);
    }

    .package-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 830px) {
    .package-card {
        width: 100%;
    }

    .education-details-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .program-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .program-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .educations-content h1 {
        text-align: left;
    }
}

/* ====================================== */
/* Seminars Section */
/* ====================================== */

.seminars-section {
    padding: 6rem 0;
    /* background-color: #f9fcfc; */
    font-family: var(--font-korean);
}

.seminars-section .section-title {
    color: var(--primary-color);
    font-size: 2.2rem;
}

.seminars-section .section-description {
    color: var(--secondary-text-color);
    margin-bottom: 3rem;
    font-size: 1rem;
}

/* Carousel Container */
.seminar-carousel {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    opacity: 0;
    display: none;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    display: block;
}

/* Seminar Card */
.seminar-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
    padding: 2rem;
    align-items: center;
}

.seminar-poster {
    width: 100%;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.seminar-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.seminar-card:hover .seminar-poster img {
    transform: scale(1.05);
}

/* Seminar Details */
.seminar-details {
    padding: 1rem;
}

.seminar-details h3 {
    font-family: var(--font-korean);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.seminar-date,
.seminar-time {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--accent-color);
    font-size: 1rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.seminar-date i,
.seminar-time i {
    font-size: 1.1rem;
}

.seminar-description {
    color: var(--secondary-text-color);
    line-height: 1.7;
    margin: 1.5rem 0;
    font-size: 1rem;
}

.seminar-details .btn-secondary {
    margin-top: 1rem;
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    color: var(--accent-color);
    border: 2px solid var(--border-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 1.2rem;
}

.carousel-btn:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.carousel-btn.prev {
    left: 1rem;
}

.carousel-btn.next {
    right: 1rem;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: var(--accent-color);
    transform: scale(1.2);
}

.dot.active {
    background: var(--accent-color);
    width: 32px;
    border-radius: 6px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .seminar-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .seminar-poster {
        height: 300px;
    }

    .seminar-details h3 {
        font-size: 1.5rem;
    }

    .seminar-date,
    .seminar-time {
        font-size: 0.9rem;
    }

    .seminar-description {
        font-size: 0.95rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .carousel-btn.prev {
        left: 0.5rem;
    }

    .carousel-btn.next {
        right: 0.5rem;
    }

    .seminars-section .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .seminar-card {
        padding: 1rem;
    }

    .seminar-poster {
        height: 250px;
    }

    .seminar-details {
        padding: 0.5rem;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* =========================================
   Restructuring Styles (Characteristics & New Sections)
   ========================================= */

/* Characteristics Box */
.characteristics-box {
    margin-top: 3rem;
    padding: 2.5rem;
    background-color: #f8f9fa;
    /* Light grey background */
    border-radius: 12px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    text-align: center;
    border: 1px solid #eee;
}

.characteristic-item h4 {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.characteristic-item p {
    font-size: 0.95rem;
    color: #555;
    margin: 0;
    line-height: 1.4;
}

/* Section Containers */
.offline-education {
    padding: 6rem 0;
    background-color: #fff;
    position: relative;
}

.online-education {
    padding: 6rem 0;
    /* background-color: #f8f9fa; */
    border-top: 1px solid #eaeaea;
    position: relative;
}

/* Section Headers */
.section-header-wrapper {
    margin-bottom: 4rem;
    text-align: left;
    border-left: 5px solid var(--accent-color);
    padding-left: 1.5rem;
}

.section-header-wrapper h2 {
    font-size: 2.2rem;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.section-header-wrapper p {
    color: #666;
    font-size: 1.1rem;
}

/* Online Video Placeholder */
.online-video-placeholder {
    width: 100%;
    max-width: 900px;
    height: 500px;
    background-color: #e9ecef;
    margin: 0 auto 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #adb5bd;
    border: 2px dashed #ced4da;
    transition: all 0.3s ease;
}

.online-video-placeholder:hover {
    border-color: var(--accent-color);
    background-color: #e2e6ea;
}

.online-video-placeholder i {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    color: #ced4da;
}

/* Start Learning Button */
.start-learning-container {
    text-align: center;
    margin-top: 2rem;
}

.start-learning-btn {
    display: inline-block;
    padding: 1.2rem 4rem;
    background-color: var(--accent-color);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    /* Ensure no underline */
}

.start-learning-btn:hover {
    background-color: var(--primary-color);
	color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .section-header-wrapper {
        text-align: center;
        border-left: none;
        padding-left: 0;
        margin-bottom: 3rem;
    }

    .section-header-wrapper h2 {
        font-size: 1.8rem;
    }

    .online-video-placeholder {
        height: 300px;
    }

    .online-video-placeholder i {
        font-size: 3rem;
    }

    .start-learning-btn {
        padding: 1rem 2.5rem;
        font-size: 1rem;
        width: 100%;
        /* Full width on mobile */
        max-width: 300px;
    }
}/* Education Hero Section */
.education-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('assets/hero3.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 4rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Updated Education Cards */
.education-cards {
    gap: 40px;
}

.education-card {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* Softer shadow */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); /* Smooth ease */
}

.education-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.education-image {
    height: 250px; /* Taller image */
}

.education-details {
    padding: 2.5rem;
}

.education-details h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
}

.education-features li {
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

/* Modern Online Education Section */
.online-education {
    padding: 8rem 0;
    background-color: #f8f9fa; /* Light gray background */
}

.online-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.online-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.online-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.online-image:hover img {
    transform: scale(1.05); /* Subtle zoom on hover */
}

.online-content {
    text-align: left;
}

.online-content h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1;
}

.online-content .subtitle {
    font-size: 1.2rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 2rem;
    display: block;
}

.online-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.online-content .description {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.start-learning-container {
    text-align: left;
    margin-top: 0;
}

/* Responsive adjustments for new elements */
@media (max-width: 992px) {
    .online-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .online-content {
        text-align: center;
        order: -1; /* Text above image on tablet/mobile */
    }

    .start-learning-container {
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .education-hero {
        height: 50vh;
        min-height: 350px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
    
    .online-content h2 {
        font-size: 2.5rem;
    }
}

/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.image-modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    max-height: 90vh;
    object-fit: contain;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

.image-modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 1001;
}

.image-modal-close:hover,
.image-modal-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Cursor change for clickable images */
.seminar-poster img {
    cursor: pointer;
}

/* Responsive */
@media only screen and (max-width: 700px) {
    .image-modal-content {
        width: 95%;
    }
}

