/* New Sections Styles - Testimonials, Teachers, Consultation */

/* NLP Master Section */
.nlp-master {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8edf3 100%);
    position: relative;
    overflow: hidden;
}

.nlp-master::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(46, 92, 138, 0.05) 0%, transparent 70%);
    transform: rotate(45deg);
}

.nlp-master .container {
    position: relative;
    z-index: 2;
}

.nlp-master .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    color: #2E5C8A;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nlp-master .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #2E5C8A 0%, #4A90C2 100%);
    border-radius: 2px;
}

.nlp-content {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(46, 92, 138, 0.1);
    position: relative;
    border: 2px solid rgba(46, 92, 138, 0.1);
}

.nlp-content::before {
    content: 'NLP';
    position: absolute;
    top: -30px;
    right: 30px;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(46, 92, 138, 0.05);
    z-index: 0;
}

.nlp-content > * {
    position: relative;
    z-index: 1;
}

.nlp-content h3 {
    color: #2E5C8A;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.nlp-content h4 {
    color: #4A90C2;
    font-size: 1.3rem;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
    padding-left: 20px;
    position: relative;
}

.nlp-content h4::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #2E5C8A;
}

.nlp-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
}

.nlp-content ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.nlp-content ul li {
    padding: 0.8rem 0 0.8rem 2.5rem;
    position: relative;
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.nlp-content ul li:last-child {
    border-bottom: none;
}

.nlp-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.8rem;
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, #2E5C8A 0%, #4A90C2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
}

.nlp-content strong {
    color: #2E5C8A;
    font-weight: 600;
}

/* NLP Content Feature Boxes */
.nlp-content .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.nlp-content .feature-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.nlp-content .feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(46, 92, 138, 0.15);
    border-color: #4A90C2;
}

/* Highlight Box */
.nlp-content .highlight-box {
    background: linear-gradient(135deg, rgba(46, 92, 138, 0.1) 0%, rgba(74, 144, 194, 0.05) 100%);
    border-left: 4px solid #2E5C8A;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 10px 10px 0;
}

.nlp-content .highlight-box p {
    margin: 0;
    font-style: italic;
    color: #2E5C8A;
    font-weight: 500;
}

/* Call to Action within NLP */
.nlp-content .nlp-cta {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
}

.nlp-content .nlp-cta a {
    display: inline-block;
    background: linear-gradient(135deg, #2E5C8A 0%, #4A90C2 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(46, 92, 138, 0.3);
}

.nlp-content .nlp-cta a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(46, 92, 138, 0.4);
}

/* Student Testimonials Section */
.student-testimonials {
    padding: 5rem 0;
    background: #f8f9fa;
}

.testimonials-carousel .carousel-item {
    flex: 0 0 33.333%;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: auto;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(46, 92, 138, 0.15);
}

.student-photo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.student-photo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #2E5C8A;
}

.rating {
    text-align: center;
    margin-bottom: 1rem;
}

.star {
    font-size: 1.2rem;
    color: #ddd;
    margin: 0 2px;
}

.star.filled {
    color: #ffc107;
}

.testimonial-content blockquote {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    color: #444;
    flex: 1;
}

.student-info {
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.student-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2E5C8A;
    margin: 0 0 0.5rem 0;
}

.student-info .course {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 0.5rem 0;
}

.social-link {
    color: #2E5C8A;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
}

.social-link:hover {
    text-decoration: underline;
}

/* Teacher Profiles Section */
.teacher-profiles {
    padding: 5rem 0;
    background: white;
}

.teachers-carousel .carousel-item {
    flex: 0 0 25%; /* 4 teachers per row */
}

.teacher-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
    height: auto;
    min-height: 450px;
    display: flex;
    flex-direction: column;
}

.teacher-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(46, 92, 138, 0.15);
}

.teacher-photo {
    margin-bottom: 1.5rem;
}

.teacher-photo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #2E5C8A;
    margin: 0 auto;
}

.teacher-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2E5C8A;
    margin: 0 0 1rem 0;
}

.teacher-info .degree {
    font-size: 0.95rem;
    color: #666;
    margin: 0 0 0.8rem 0;
    font-weight: 500;
}

.teacher-info .experience {
    font-size: 0.9rem;
    color: #888;
    margin: 0 0 1rem 0;
}

.achievements {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    text-align: left;
}

.achievements li {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.achievements li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2E5C8A;
    font-weight: bold;
}

/* Bottom Consultation Section */
.bottom-consultation {
    padding: 4rem 0;
    background: linear-gradient(135deg, #2E5C8A 0%, #4A90C2 100%);
    color: white;
}

.consultation-banner {
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.consultation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.consultation-left h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.consultation-left p {
    font-size: 1.1rem;
    margin: 0 0 2rem 0;
    opacity: 0.9;
}

.consultation-benefits-mini {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.benefit-mini {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
}

.benefit-icon {
    background: rgba(255,255,255,0.2);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    flex-shrink: 0;
}

.consultation-form-inline {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.consultation-form-inline input,
.consultation-form-inline select {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.3s;
    color: #333;
}

.consultation-form-inline input:focus,
.consultation-form-inline select:focus {
    outline: none;
    border-color: #2E5C8A;
}

.btn-consultation-submit {
    width: 100%;
    background: linear-gradient(135deg, #2E5C8A 0%, #4A90C2 100%);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-consultation-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 92, 138, 0.4);
}

/* Contact Form 7 Integration */
.cf7-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.cf7-wrapper .wpcf7-form {
    margin: 0;
}

.cf7-wrapper .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 1.5rem;
}

.cf7-wrapper input[type="text"],
.cf7-wrapper input[type="tel"],
.cf7-wrapper input[type="email"],
.cf7-wrapper select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.3s;
    color: #333;
    box-sizing: border-box;
}

.cf7-wrapper input[type="text"]:focus,
.cf7-wrapper input[type="tel"]:focus,
.cf7-wrapper input[type="email"]:focus,
.cf7-wrapper select:focus {
    outline: none;
    border-color: #2E5C8A;
}

.cf7-wrapper input[type="submit"],
.cf7-wrapper .wpcf7-submit {
    width: 100%;
    background: linear-gradient(135deg, #2E5C8A 0%, #4A90C2 100%);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cf7-wrapper input[type="submit"]:hover,
.cf7-wrapper .wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 92, 138, 0.4);
}

.cf7-wrapper .wpcf7-response-output {
    margin-top: 1rem;
    padding: 10px;
    border-radius: 5px;
    font-size: 0.9rem;
}

.cf7-wrapper .wpcf7-mail-sent-ok {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.cf7-wrapper .wpcf7-validation-errors {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* NLP Master Responsive */
    .nlp-master {
        padding: 3rem 0;
    }
    
    .nlp-master .section-title {
        font-size: 2rem;
    }
    
    .nlp-content {
        padding: 2rem;
    }
    
    .nlp-content::before {
        font-size: 3rem;
        top: -20px;
        right: 20px;
    }
    
    .nlp-content h3 {
        font-size: 1.5rem;
    }
    
    .nlp-content h4 {
        font-size: 1.2rem;
    }
    
    .testimonials-carousel .carousel-item,
    .teachers-carousel .carousel-item {
        flex: 0 0 100% !important; /* Force 1 item on mobile */
    }
    
    
    .testimonial-card,
    .teacher-card {
        min-height: auto;
        margin: 5px;
        max-width: 100%;
    }
    
    .teacher-card .teacher-image {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }
    
    .teacher-card h3 {
        font-size: 1.2rem;
    }
    
    .teacher-card .teacher-title {
        font-size: 0.9rem;
    }
    
    .teacher-card .teacher-bio {
        font-size: 0.85rem;
    }
    
    /* Bottom Consultation Responsive */
    .consultation-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .consultation-banner {
        padding: 2rem;
    }
    
    .consultation-left h2 {
        font-size: 1.8rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (min-width: 769px) and (max-width: 991px) {
    .teachers-carousel .carousel-item {
        flex: 0 0 50%; /* 2 teachers on tablet */
    }
}

