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

/* Services Overview Section */

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

.services-overview h3{
    font-size: 1.4rem;
    color: var(--primary-color);
}


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


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

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

.services-content h2{
    color: var(--primary-color);
}
.services-content p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

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

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

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

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

.service-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;
}

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

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

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

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

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

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

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

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

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

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

.service-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;
}

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

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

.service-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(--primary-color);
    border: 1px solid var(--primary-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(--primary-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;  */
    background-color: var(--secondary2-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 {
    transform: translateY(-15px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    z-index: 2;
    border: 2px solid var(--primary-color); /* Add a border as a test */
}


/* Program icon */
.program-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-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);
}

.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(--primary-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-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);
}

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

.package-price {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.package-price .price {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-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(--primary-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);
}

/* Testimonials Section with author images */
.testimonials-section {
    padding: 6rem 0;
    /* background-color: #f9fcfc;  */
    background-color: var(--secondary-color);
    font-family: var(--font-korean);
}

.testimonials-section h2{
    color: var(--primary-color);
}

.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    margin-top: 3rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.author-info h4 {
    font-family: var(--font-korean);
    font-size: 1rem;
    margin-bottom: 0.2rem;
    font-family: var(--font-korean);
    font-weight: 600;
}

.author-info p {
    font-size: 0.85rem;
    color: #999;
    margin: 0;
    font-family: var(--font-korean);
}

/* 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%;
    }
    
    .service-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;
    }
    
   .services-content h1{
       text-align: left;
    }
}
