/* Education Page Styles */

/* Hero Section */
.education-hero {
    position: relative;
    height: 500px;
    background-image: url('../images/education/education-hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-bottom: 60px;
}

.education-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
}

.education-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.education-hero .headline {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.education-hero .subheadline {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Education Introduction */
.education-intro {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.intro-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.intro-container p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

/* Education Programs */
.education-programs {
    padding: 80px 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #c59d5f, #e2c285);
    margin: 15px auto 0;
}

.programs-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.program-item {
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.program-image {
    flex: 0 0 40%;
    overflow: hidden;
}

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

.program-item:hover .program-image img {
    transform: scale(1.05);
}

.program-content {
    flex: 0 0 60%;
    padding: 30px;
}

.program-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #333;
}

.program-duration {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: #777;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.program-duration i {
    margin-right: 8px;
    color: #c59d5f;
}

.program-content p {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555;
}

.program-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.program-highlights li {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.program-highlights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #c59d5f;
    font-weight: bold;
}

.program-highlights li:last-child {
    border-bottom: none;
}

.program-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #c59d5f;
    margin-bottom: 20px;
}

.inquire-btn {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(to right, #c59d5f, #e2c285);
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.inquire-btn:hover {
    background: linear-gradient(to right, #b38e4e, #d1b174);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(197, 157, 95, 0.3);
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.testimonials-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 50px;
}

.testimonial-item {
    flex: 1;
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
}

.testimonial-content p {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content p::before {
    content: '"';
    font-size: 4rem;
    font-family: 'Georgia', serif;
    color: rgba(197, 157, 95, 0.2);
    position: absolute;
    top: -20px;
    left: -15px;
    z-index: 0;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.author-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.author-title {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    color: #777;
}

/* Call to Action Section */
.cta-section {
    padding: 80px 0;
    background-color: #333;
    color: #fff;
}

.cta-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-container p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #ddd;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.primary-btn, .secondary-btn {
    display: inline-block;
    padding: 14px 30px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.primary-btn {
    background: linear-gradient(to right, #c59d5f, #e2c285);
    color: #fff;
}

.primary-btn:hover {
    background: linear-gradient(to right, #b38e4e, #d1b174);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(197, 157, 95, 0.3);
}

.secondary-btn {
    background: transparent;
    color: #fff;
    border: 2px solid #c59d5f;
}

.secondary-btn:hover {
    background-color: rgba(197, 157, 95, 0.1);
    transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .program-item {
        flex-direction: column;
    }
    
    .program-image, .program-content {
        flex: 0 0 100%;
    }
    
    .program-image {
        height: 300px;
    }
    
    .testimonials-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .education-hero {
        height: 400px;
    }
    
    .education-hero .headline {
        font-size: 2.5rem;
    }
    
    .education-hero .subheadline {
        font-size: 1.2rem;
    }
    
    .intro-container h2, .section-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .primary-btn, .secondary-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .education-hero {
        height: 300px;
    }
    
    .education-hero .headline {
        font-size: 2rem;
    }
    
    .education-hero .subheadline {
        font-size: 1rem;
    }
    
    .program-content {
        padding: 20px;
    }
    
    .program-content h3 {
        font-size: 1.5rem;
    }
}
