/* ========================================
   ABOUT PAGE STYLES
   ======================================== */

/* About Hero */
.about-hero,
.services-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #e1f0fb 100%);
    text-align: center;
}

.about-hero .section-title,
.services-hero .section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* About Content */
.about-content {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

.about-photo-large {
    flex: 1 1 300px;
    text-align: center;
}

.about-photo-large img {
    width: 400px;
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.about-story {
    flex: 1 1 600px;
}

.about-story h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.about-story p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

/* Teaching Philosophy */
.teaching-philosophy {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

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

.philosophy-card {
    background-color: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-base);
}

.philosophy-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.philosophy-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e1f0fb 0%, #b3d9f7 100%);
    border-radius: 50%;
}

.philosophy-icon i {
    font-size: 2.5rem;
    color: #4a90e2;
}

.philosophy-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color : #cd5c5c;
}

.philosophy-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Experience Timeline */
.experience-timeline {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

.timeline {
    max-width: 900px;
    margin: 3rem auto 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #e1f0fb 0%, #b3d9f7 100%);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
}

.timeline-marker {
    position: absolute;
    left: 8px;
    top: 5px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #4a90e2;
    border: 4px solid var(--bg-white);
    box-shadow: 0 0 0 4px #e1f0fb;
}

.timeline-content {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.timeline-content h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.timeline-date {
    font-size: 0.9rem;
    color: #4a90e2;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 0.75rem;
}

.timeline-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

/* Beyond Teaching */
.beyond-teaching {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.hobby-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-base);
}

.hobby-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.hobby-card i {
    font-size: 3rem;
    color: #4a90e2;
    margin-bottom: 1rem;
}

.hobby-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.hobby-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   SERVICES PAGE STYLES
   ======================================== */

/* Services Detailed */
.services-detailed {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

.service-detail-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
    overflow: hidden;
}

.service-detail-header {
    background: linear-gradient(135deg, #e1f0fb 0%, #b3d9f7 100%);
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.service-detail-header i {
    font-size: 3rem;
    color: #4a90e2;
}

.service-detail-header h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin: 0;
}

.service-detail-body {
    padding: 3rem;
}

.service-intro {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.service-detail-body h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.service-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.service-list i {
    color: #4caf50;
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.service-highlight {
    background-color: #fff8e1;
    border-left: 4px solid #f9a825;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.service-highlight i {
    color: #f9a825;
    font-size: 1.5rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.service-highlight p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-primary);
}

/* Pricing Section */
.pricing-section {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all var(--transition-base);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border: 3px solid #4a90e2;
}

.pricing-card .badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background-color: #4caf50;
    color: var(--text-white);
    padding: 0.5rem 2.5rem;
    font-size: 0.85rem;
    font-weight: var(--font-weight-bold);
    transform: rotate(45deg);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.pricing-header {
    background: linear-gradient(135deg, #e1f0fb 0%, #b3d9f7 100%);
    padding: 2.5rem 2rem;
    text-align: center;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.price .currency {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: #4a90e2;
}

.price .amount {
    font-size: 4rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--text-primary);
    line-height: 1;
}

.price .period {
    font-size: 1.2rem;
    color: var(--text-secondary);
    align-self: flex-end;
    padding-bottom: 0.5rem;
}

.savings {
    font-size: 1rem;
    color: #4caf50;
    font-weight: var(--font-weight-semibold);
    margin: 0;
}

.pricing-body {
    padding: 2rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text-secondary);
}

.pricing-features i {
    color: #4caf50;
    font-size: 1.1rem;
}

/* How It Works */
.how-it-works {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius-lg);
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: var(--text-white);
    font-size: 2rem;
    font-weight: var(--font-weight-extrabold);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color : #cd5c5c;
}

.step-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.faq-grid {
    max-width: 900px;
    margin: 3rem auto 0;
    display: grid;
    gap: 2rem;
}

.faq-item {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.faq-item h3 i {
    color: #4a90e2;
    font-size: 1.3rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.faq-item p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
    padding-left: 2.3rem;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    text-align: center;
    color: var(--text-white);
}

.cta-section h2 {
    font-size: 2.5rem;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-section .btn-primary {
    background-color: var(--bg-white);
    color: #4a90e2;
    border: none;
}

.cta-section .btn-primary:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
}

/* ========================================
   CONTACT PAGE STYLES
   ======================================== */
   
   
/* ========================================
   Contact Section
   ======================================== */
.contact {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

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

.contact-info-card,
.contact-form-card {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: #4a90e2;
    border-radius: 50%;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.contact-item a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.contact-item a:hover {
    color: #4a90e2;
}

/* ========================================
   Form Styles
   ======================================== */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--text-primary);
    background-color: var(--bg-light);
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background-color: var(--bg-white);
    border-color: #4a90e2;
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}


.contact-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #e1f0fb 100%);
    text-align: center;
}

.contact-hero .section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Success/Error Messages */
.message-section {
    padding: 2rem 0;
}

.message-box {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.success-message .message-box {
    background-color: #d4edda;
    border: 2px solid #4caf50;
}

.error-message .message-box {
    background-color: #f8d7da;
    border: 2px solid #dc3545;
}

.message-box i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.success-message i {
    color: #4caf50;
}

.error-message i {
    color: #dc3545;
}

.message-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.message-box p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

/* Contact CTA */
.contact-cta {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
}

.contact-cta h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-cta p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Contact FAQ Quick */
.contact-faq {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.faq-quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-quick-item {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.faq-quick-item i {
    font-size: 2.5rem;
    color: #4a90e2;
    margin-bottom: 1rem;
}

.faq-quick-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.faq-quick-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .about-hero .section-title,
    .services-hero .section-title {
        font-size: 2rem;
    }
    
    .about-wrapper {
        flex-direction: column;
    }
    
    .about-photo-large img {
        width: 100%;
        max-width: 350px;
    }
    
    .timeline::before {
        left: 10px;
    }
    
    .timeline-item {
        padding-left: 45px;
    }
    
    .timeline-marker {
        left: 0;
    }
    
    .service-detail-header {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .service-detail-header h2 {
        font-size: 1.5rem;
    }
    
    .service-detail-body {
        padding: 2rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .about-hero,
    .services-hero {
        padding: 6rem 0 3rem;
    }
    
    .philosophy-card,
    .hobby-card {
        padding: 1.5rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
}