/* Custom CSS for Video Page */

.marquee {
    display: block;
    background: #ffc224;
}

.marquee a {
    color: #000;
    display: block;
    text-align: center;
}

.marquee a:hover {
    color: #000;
}

/* Video Gallery Styles */
.video-gallery {
    padding: 60px 0;
}

.video-section-title {
    text-align: center;
    margin-bottom: 50px;
}

.video-section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.video-section-title p {
    font-size: 1.1rem;
    margin: 0 auto;
}

/* Video Card */
.video-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    height: 100%;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Video Embed */
.video-embed {
    position: relative;
    width: 100%;
    height: 254px;
    background: #f8f9fa;
    overflow: hidden;
}

.video-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
}

/* Video Content */
.video-content {
    padding: 20px;
}

.video-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
    line-height: 1.4;
}

.video-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #888;
}

.video-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.video-views {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Video Categories Filter */
.video-filter {
    text-align: center;
    margin-bottom: 40px;
}

.filter-buttons {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.filter-btn {
    padding: 8px 20px;
    border: 2px solid #007bff;
    background: transparent;
    color: #007bff;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.filter-btn:hover,
.filter-btn.active {
    background: #007bff;
    color: #fff;
    text-decoration: none;
}

/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.video-modal-content {
    position: relative;
    margin: 5% auto;
    width: 90%;
    max-width: 800px;
}

.video-modal iframe {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 8px;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.video-modal-close:hover {
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .video-section-title h2 {
        font-size: 2rem;
    }
    
    .video-thumbnail {
        height: 200px;
    }
    
    .filter-buttons {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
    
    .video-modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .video-modal iframe {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .video-gallery {
        padding: 40px 0;
    }
    
    .video-section-title h2 {
        font-size: 1.8rem;
    }
    
    .video-content {
        padding: 15px;
    }
    
    .video-title {
        font-size: 1.1rem;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button i {
        font-size: 20px;
    }
}

/* Loading Animation */
.video-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.video-loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Video Stats */
.video-stats {
    background: #f8f9fa;
    padding: 40px 0;
    margin-top: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

/* Success Stories Styles */
.success-story-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    height: 100%;
    padding: 0;
}

.success-story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.student-photo {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.student-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.success-story-card:hover .student-photo img {
    transform: scale(1.05);
}

.story-header {
    padding: 20px;
}

.student-info {
    text-align: center;
}

.student-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.student-position {
    font-size: 0.9rem;
    color: #007bff;
    font-weight: 500;
    margin-bottom: 10px;
}

.rating {
    display: flex;
    gap: 2px;
    justify-content: center;
}

.rating i {
    color: #ffc107;
    font-size: 14px;
}

.testimonial {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial::before {
    content: '"';
    font-size: 3rem;
    color: #007bff;
    position: absolute;
    top: -10px;
    left: -10px;
    font-family: serif;
    opacity: 0.3;
}

.story-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.course-taken,
.success-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #666;
}

.course-taken i,
.success-date i {
    color: #007bff;
    font-size: 14px;
}

.course-taken span {
    font-weight: 500;
    color: #333;
}

/* Detailed Success Story Cards */
.detailed-success-story-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.detailed-success-story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.detailed-success-story-card.featured-story {
    border: 2px solid #007bff;
    background: linear-gradient(135deg, #fff 0%, #f8f9ff 100%);
}

.detailed-success-story-card .story-header {
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
}

.student-profile {
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-image {
    position: relative;
    flex-shrink: 0;
}

.profile-image img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.detailed-success-story-card:hover .profile-image img {
    transform: scale(1.1);
}

.success-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #ffc107 0%, #ff8c00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.4);
}

.featured-story .success-badge {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.4);
}

.student-details {
    flex: 1;
}

.detailed-success-story-card .student-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.2;
}

.detailed-success-story-card .student-position {
    font-size: 1rem;
    color: #007bff;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
}

.placement-timeline {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 6px 12px;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #007bff;
    font-weight: 500;
    width: fit-content;
}

.placement-timeline i {
    font-size: 14px;
}

.detailed-success-story-card .rating {
    justify-content: flex-start;
    margin-bottom: 0;
}

.detailed-success-story-card .rating i {
    font-size: 16px;
    color: #ffc107;
}

.story-content {
    padding: 25px;
}

.detailed-success-story-card .testimonial {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #007bff;
}

.detailed-success-story-card .testimonial::before {
    content: '"';
    font-size: 4rem;
    color: #007bff;
    position: absolute;
    top: -10px;
    left: 10px;
    font-family: serif;
    opacity: 0.2;
    line-height: 1;
}

.story-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: #f8f9fa;
    border-color: #007bff;
    transform: translateX(5px);
}

.highlight-item i {
    color: #007bff;
    font-size: 16px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.highlight-item span {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
}

.highlight-item strong {
    color: #333;
    font-weight: 600;
}

/* Success CTA */
.success-cta {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    padding: 50px 30px;
    border-radius: 15px;
    color: #fff;
    margin-top: 60px;
}

.cta-content h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-buttons .btn-primary {
    background: #fff;
    color: #007bff;
    border-color: #fff;
}

.cta-buttons .btn-primary:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
}

.cta-buttons .btn-outline-primary {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.cta-buttons .btn-outline-primary:hover {
    background: #fff;
    color: #007bff;
    transform: translateY(-2px);
}

/* Responsive Design for Success Stories */
@media (max-width: 768px) {
    .success-story-card {
        padding: 20px;
    }
    
    .story-header {
        flex-direction: column;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .student-photo {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .student-name {
        font-size: 1.2rem;
    }
    
    .testimonial {
        font-size: 0.9rem;
    }
    
    .story-meta {
        gap: 6px;
    }
    
    /* Detailed Success Story Cards - Mobile */
    .detailed-success-story-card .story-header {
        padding: 20px;
    }
    
    .student-profile {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .profile-image img {
        width: 70px;
        height: 70px;
    }
    
    .detailed-success-story-card .student-name {
        font-size: 1.2rem;
    }
    
    .detailed-success-story-card .student-position {
        font-size: 0.9rem;
    }
    
    .placement-timeline {
        margin: 0 auto 12px;
    }
    
    .detailed-success-story-card .rating {
        justify-content: center;
    }
    
    .story-content {
        padding: 20px;
    }
    
    .detailed-success-story-card .testimonial {
        font-size: 0.95rem;
        padding: 15px;
    }
    
    .success-cta {
        padding: 40px 20px;
    }
    
    .cta-content h3 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .success-story-card {
        padding: 15px;
    }
    
    .student-photo {
        width: 60px;
        height: 60px;
    }
    
    .student-name {
        font-size: 1.1rem;
    }
    
    .testimonial {
        font-size: 0.85rem;
    }
    
    /* Detailed Success Story Cards - Small Mobile */
    .detailed-success-story-card .story-header {
        padding: 15px;
    }
    
    .profile-image img {
        width: 60px;
        height: 60px;
    }
    
    .success-badge {
        width: 25px;
        height: 25px;
        font-size: 10px;
    }
    
    .detailed-success-story-card .student-name {
        font-size: 1.1rem;
    }
    
    .detailed-success-story-card .student-position {
        font-size: 0.85rem;
    }
    
    .placement-timeline {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
    
    .story-content {
        padding: 15px;
    }
    
    .detailed-success-story-card .testimonial {
        font-size: 0.9rem;
        padding: 12px;
    }
    
    .detailed-success-story-card .testimonial::before {
        font-size: 3rem;
        top: -8px;
        left: 8px;
    }
    
    .highlight-item {
        padding: 10px 12px;
    }
    
    .highlight-item span {
        font-size: 0.85rem;
    }
    
    .success-cta {
        padding: 30px 15px;
    }
    
    .cta-content h3 {
        font-size: 1.5rem;
    }
    
    .cta-content p {
        font-size: 0.9rem;
    }
}

/* Success Story Details - Theme Integration */
.success-story-details {
    margin-top: 20px;
    padding: 20px 0;
}

.story-intro {
    margin-bottom: 20px;
}

.story-intro p {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 15px;
}

.story-journey {
    margin-bottom: 25px;
}

.story-journey p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
    text-align: justify;
}

.testimonial-quote {
    margin: 25px 0;
    position: relative;
}

.testimonial-quote blockquote {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid var(--tg-theme-primary);
    padding: 25px 20px;
    margin: 0;
    border-radius: 8px;
    position: relative;
    font-style: italic;
    line-height: 1.7;
    color: #444;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.testimonial-quote blockquote i {
    color: var(--tg-theme-primary);
    font-size: 1.5rem;
    margin-right: 10px;
    opacity: 0.7;
}

.testimonial-quote cite {
    display: block;
    text-align: right;
    margin-top: 15px;
    font-weight: 600;
    color: var(--tg-theme-primary);
    font-style: normal;
}

.story-highlights {
    margin: 25px 0;
}

.story-highlights h6 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.story-highlights h6::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--tg-theme-primary);
    border-radius: 2px;
}

.highlight-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlight-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
}

.highlight-list li i {
    color: var(--tg-theme-primary);
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

.highlight-list li strong {
    color: #333;
    font-weight: 600;
}

.story-conclusion {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.story-conclusion p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    font-style: italic;
    margin: 0;
}

/* Featured Story Styling */
.featured-story {
    border: 2px solid var(--tg-theme-primary);
    position: relative;
    overflow: hidden;
}

.featured-story::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--tg-theme-primary) 0%, var(--tg-theme-secondary) 100%);
    z-index: 1;
}

.featured-story .courses__item-tag span.featured {
    background: linear-gradient(135deg, var(--tg-theme-primary) 0%, var(--tg-theme-secondary) 100%);
    color: #fff;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
}

.featured-story .courses__item-content {
    background: linear-gradient(135deg, #fff 0%, #f8f9ff 100%);
}

/* Theme Integration for Success Stories */
.courses__item.shine__animate-item {
    transition: all 0.3s ease;
}

.courses__item.shine__animate-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.courses__item-tag span.high {
    background: var(--tg-theme-primary);
    color: #fff;
}

.courses__item-cost span.free {
    color: var(--tg-theme-primary);
    font-weight: 600;
    background: rgba(var(--tg-theme-primary-rgb), 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
}

/* Success CTA Enhanced */
.success-cta {
    background: linear-gradient(135deg, var(--tg-theme-primary) 0%, var(--tg-theme-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.success-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.success-cta .cta-content {
    position: relative;
    z-index: 2;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .success-story-details {
        padding: 15px 0;
    }
    
    .story-intro p,
    .story-journey p {
        font-size: 0.9rem;
    }
    
    .testimonial-quote blockquote {
        padding: 20px 15px;
        font-size: 0.9rem;
    }
    
    .story-highlights h6 {
        font-size: 1rem;
    }
    
    .highlight-list li {
        font-size: 0.85rem;
    }
    
    .story-conclusion p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .success-story-details {
        padding: 10px 0;
    }
    
    .story-intro p,
    .story-journey p {
        font-size: 0.85rem;
    }
    
    .testimonial-quote blockquote {
        padding: 15px 12px;
        font-size: 0.85rem;
    }
    
    .testimonial-quote blockquote i {
        font-size: 1.2rem;
    }
    
    .story-highlights h6 {
        font-size: 0.95rem;
    }
    
    .highlight-list li {
        font-size: 0.8rem;
        gap: 8px;
    }
    
    .story-conclusion p {
        font-size: 0.85rem;
    }
}

/* Modern Success Story Cards */
.success-story-card-modern {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.success-story-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.student-profile-header {
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid #dee2e6;
}

.profile-image-container {
    position: relative;
    flex-shrink: 0;
}

.profile-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.success-story-card-modern:hover .profile-img {
    transform: scale(1.1);
}

.success-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.4);
}

.featured-badge {
    background: linear-gradient(135deg, #007bff 0%, #6610f2 100%);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.4);
}

.student-info {
    flex: 1;
}

.student-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.2;
}

.student-position {
    font-size: 1rem;
    color: #007bff;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
}

.achievement-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #007bff;
    font-weight: 500;
}

.featured-tag {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(102, 16, 242, 0.1) 100%);
    color: #6610f2;
}

.achievement-tag i {
    font-size: 14px;
}

.story-content-modern {
    padding: 25px;
}

.story-intro {
    margin-bottom: 20px;
}

.story-intro p {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 0;
}

.story-journey {
    margin-bottom: 25px;
}

.story-journey p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
    text-align: justify;
}

.story-journey p:last-child {
    margin-bottom: 0;
}

.testimonial-modern {
    margin: 25px 0;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid #007bff;
}

.quote-icon {
    position: absolute;
    top: -10px;
    left: 15px;
    background: #007bff;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.quote-text {
    font-style: italic;
    line-height: 1.7;
    color: #444;
    margin: 0;
    padding-top: 10px;
    font-size: 0.95rem;
}

.key-highlights {
    margin-top: 25px;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.highlight-item-modern {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    color: #555;
    font-weight: 500;
}

.highlight-item-modern:hover {
    background: #f8f9fa;
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.highlight-item-modern i {
    color: #007bff;
    font-size: 16px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.highlight-item-modern span {
    line-height: 1.4;
}

/* Featured Story Modern */
.featured-story-modern {
    border: 2px solid #007bff;
    position: relative;
    overflow: hidden;
}

.featured-story-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff 0%, #6610f2 100%);
    z-index: 1;
}

.featured-story-modern .student-profile-header {
    background: linear-gradient(135deg, #f8f9ff 0%, #e6f3ff 100%);
}

.featured-story-modern .testimonial-modern {
    background: linear-gradient(135deg, #f8f9ff 0%, #e6f3ff 100%);
    border-left-color: #6610f2;
}

.featured-story-modern .quote-icon {
    background: linear-gradient(135deg, #007bff 0%, #6610f2 100%);
}

.featured-story-modern .highlight-item-modern i {
    color: #6610f2;
}

.featured-story-modern .highlight-item-modern:hover {
    border-color: #6610f2;
}

/* Responsive Design for Modern Cards */
@media (max-width: 768px) {
    .student-profile-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }
    
    .profile-img {
        width: 70px;
        height: 70px;
    }
    
    .student-name {
        font-size: 1.2rem;
    }
    
    .student-position {
        font-size: 0.9rem;
    }
    
    .achievement-tag {
        margin: 0 auto;
    }
    
    .story-content-modern {
        padding: 20px;
    }
    
    .highlight-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .testimonial-modern {
        padding: 15px;
    }
    
    .quote-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .student-profile-header {
        padding: 15px;
    }
    
    .profile-img {
        width: 60px;
        height: 60px;
    }
    
    .success-badge {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }
    
    .student-name {
        font-size: 1.1rem;
    }
    
    .student-position {
        font-size: 0.85rem;
    }
    
    .achievement-tag {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
    
    .story-content-modern {
        padding: 15px;
    }
    
    .story-intro p,
    .story-journey p {
        font-size: 0.9rem;
    }
    
    .testimonial-modern {
        padding: 12px;
    }
    
    .quote-text {
        font-size: 0.85rem;
    }
    
    .highlight-item-modern {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
}

/* Request Call Back Button Styling */
.courses__item-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.courses__item-bottom .button {
    flex: 1;
    min-width: 120px;
}

.courses__item-bottom .button a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

/* Buy Now Button - Primary Style */
.courses__item-bottom .button:first-child a {
    background: var(--tg-theme-primary, #007bff);
    color: #fff;
    border: 2px solid var(--tg-theme-primary, #007bff);
}

.courses__item-bottom .button:first-child a:hover {
    background: transparent;
    color: var(--tg-theme-primary, #007bff);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* Request Call Back Button - Secondary Style */
.request-callback-btn {
    background: transparent !important;
    color: var(--tg-theme-primary, #007bff) !important;
    border: 2px solid var(--tg-theme-primary, #007bff) !important;
}

.request-callback-btn:hover {
    background: var(--tg-theme-primary, #007bff) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* Request Call Back Modal Styling */
.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.modal-header {
    background: linear-gradient(135deg, var(--tg-theme-primary, #007bff) 0%, #0056b3 100%);
    color: #fff;
    border-radius: 12px 12px 0 0;
    padding: 20px 25px;
    border-bottom: none;
}

.modal-title {
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0;
    color: #fff;
}

.btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.btn-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 25px;
}

.modal-body .form-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.modal-body .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.modal-body .form-control:focus {
    border-color: var(--tg-theme-primary, #007bff);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.modal-body .btn-primary {
    background: var(--tg-theme-primary, #007bff);
    border-color: var(--tg-theme-primary, #007bff);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.modal-body .btn-primary:hover {
    background: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* Responsive Design for Course Buttons */
@media (max-width: 768px) {
    .courses__item-bottom {
        flex-direction: column;
        gap: 8px;
    }
    
    .courses__item-bottom .button {
        width: 100%;
        min-width: auto;
    }
    
    .courses__item-bottom .button a {
        padding: 10px 14px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .courses__item-bottom .button a {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-title {
        font-size: 1.1rem;
    }
}

/* Enhanced Read More Button Styles */
.btn[href*="success-story"] {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn[href*="success-story"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn[href*="success-story"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn[href*="success-story"]:hover::before {
    left: 100%;
}

/* Success Story Card Hover Effects */
.success-story-card-modern:hover .btn[href*="success-story"] {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Featured Story Special Effects */
.featured-story-modern .btn[href*="success-story"] {
    background: linear-gradient(135deg, #007bff 0%, #6610f2 100%) !important;
    position: relative;
    overflow: hidden;
}

.featured-story-modern .btn[href*="success-story"]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.featured-story-modern .btn[href*="success-story"]:hover::after {
    width: 300px;
    height: 300px;
}

/* Image Fallback Handling */
.profile-img {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.profile-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23dee2e6"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>') center/50% no-repeat;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.profile-img[src=""], .profile-img:not([src]) {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.profile-img[src=""]::before, .profile-img:not([src])::before {
    opacity: 1;
}

/* Loading Animation for Images */
.profile-image-container {
    position: relative;
}

.profile-image-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-img[src=""]:not([complete]) + .profile-image-container::after,
.profile-img:not([src]) + .profile-image-container::after {
    opacity: 1;
}

/* Success Story Section Title Enhancement */
.section__title .sub-title {
    position: relative;
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(102, 16, 242, 0.1) 100%);
    border-radius: 25px;
    color: #007bff;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section__title .sub-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -10px;
    width: 6px;
    height: 6px;
    background: #007bff;
    border-radius: 50%;
    transform: translateY(-50%);
}

.section__title .sub-title::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10px;
    width: 6px;
    height: 6px;
    background: #6610f2;
    border-radius: 50%;
    transform: translateY(-50%);
}

/* Animated Success Metrics */
.success-metrics {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.metric-item {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    min-width: 150px;
}

.metric-item:hover {
    transform: translateY(-5px);
}

.metric-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 8px;
    display: block;
}

.metric-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Testimonial Quote Animation */
.testimonial-modern {
    position: relative;
    overflow: hidden;
}

.testimonial-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.05) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
}

/* Success Badge Pulse Animation */
.success-badge {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(40, 167, 69, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 4px 15px rgba(40, 167, 69, 0.6);
    }
}

.featured-badge {
    animation: pulse-featured 2s ease-in-out infinite;
}

@keyframes pulse-featured {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(0, 123, 255, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 4px 15px rgba(0, 123, 255, 0.6);
    }
}

/* Scroll Reveal Animation */
.success-story-card-modern {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.success-story-card-modern:nth-child(1) { animation-delay: 0.1s; }
.success-story-card-modern:nth-child(2) { animation-delay: 0.2s; }
.success-story-card-modern:nth-child(3) { animation-delay: 0.3s; }
.success-story-card-modern:nth-child(4) { animation-delay: 0.4s; }
.success-story-card-modern:nth-child(5) { animation-delay: 0.5s; }
.success-story-card-modern:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive Enhancements */
@media (max-width: 768px) {
    .success-metrics {
        gap: 20px;
    }
    
    .metric-item {
        min-width: 120px;
        padding: 15px;
    }
    
    .metric-number {
        font-size: 2rem;
    }
    
    .section__title .sub-title {
        font-size: 0.8rem;
        padding: 6px 15px;
    }
}

@media (max-width: 480px) {
    .success-metrics {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .metric-item {
        width: 100%;
        max-width: 200px;
    }
    
    .section__title .sub-title::before,
    .section__title .sub-title::after {
        display: none;
    }
}

/* Contact Form Message Styles */
.ajax-response {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(-10px);
    display: none;
}

.ajax-response.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: slideInUp 0.4s ease;
}

.ajax-response.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: slideInUp 0.4s ease;
}

.ajax-response.success::before {
    content: '✓';
    display: inline-block;
    margin-right: 8px;
    font-size: 1.1rem;
    font-weight: bold;
}

.ajax-response.error::before {
    content: '✗';
    display: inline-block;
    margin-right: 8px;
    font-size: 1.1rem;
    font-weight: bold;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Form Enhancement */
.contact-form-wrap {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.contact-form-wrap .title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.contact-form-wrap p {
    color: #666;
    margin-bottom: 25px;
}

.form-grp {
    margin-bottom: 20px;
}

.form-grp input,
.form-grp textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
}

.form-grp input:focus,
.form-grp textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-grp textarea {
    min-height: 120px;
    resize: vertical;
}

.btn.btn-two.arrow-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.btn.btn-two.arrow-btn:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.btn.btn-two.arrow-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Contact Info Enhancement */
.contact-info-wrap {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    height: fit-content;
}

.contact-info-wrap ul li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

/*.contact-info-wrap ul li:last-child {*/
/*    border-bottom: none;*/
/*}*/

.contact-info-wrap .icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-wrap .icon img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.contact-info-wrap .content .title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.contact-info-wrap .content p,
.contact-info-wrap .content a {
    color: #666;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-wrap .content a:hover {
    color: #007bff;
}

/* Responsive Design for Contact Form */
@media (max-width: 768px) {
    .contact-form-wrap,
    .contact-info-wrap {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .contact-info-wrap ul li {
        padding: 15px 0;
    }
    
    .contact-info-wrap .icon {
        width: 40px;
        height: 40px;
    }
    
    .contact-info-wrap .icon img {
        width: 20px;
        height: 20px;
    }
    
    .ajax-response {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .contact-form-wrap,
    .contact-info-wrap {
        padding: 15px;
    }
    
    .contact-form-wrap .title {
        font-size: 1.3rem;
    }
    
    .form-grp input,
    .form-grp textarea {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .btn.btn-two.arrow-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .contact-info-wrap ul li {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .ajax-response {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}

/* Simple Success Story Card Styles */
.success-story-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    background: #fff;
    position: relative;
}

.success-story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.success-story-card .instructor__thumb {
    position: relative;
    overflow: hidden;
}

.success-story-card .instructor__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instructor__img {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.success-story-card:hover .instructor__thumb img {
    transform: scale(1.05);
}

.success-story-card .success-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 50%;
    display: flex;
    display: none;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

.success-story-card .instructor__content {
    padding: 0 10px;
}

.success-story-card .title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.success-story-card .title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.success-story-card .title a:hover {
    color: #007bff;
}

.success-story-card .designation {
    font-size: 0.9rem;
    color: #007bff;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.success-highlight {
    margin-bottom: 15px;
}

.highlight-tag {
    display: inline-flex;
    display: none;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 123, 255, 0.2);
}

.highlight-tag.featured {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 140, 0, 0.1) 100%);
    color: #ff8c00;
    border-color: rgba(255, 140, 0, 0.2);
}

.highlight-tag i {
    font-size: 12px;
}

.success-preview {
    font-size: 0.9rem;
    line-height: normal;
    color: #555;
    font-style: italic;
    margin-bottom: 0px;
    position: relative;
    padding-left: 15px;
}

.success-preview::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 1.5rem;
    color: #007bff;
    font-family: serif;
    opacity: 0.6;
}

.instructor__content-bottom {
    margin-top: 12px;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    color: #fff;
    text-decoration: none;
}

.btn-read-more i {
    font-size: 14px;
}

/* Coming Soon Card Styles */
.success-story-card.coming-soon {
    border: 2px dashed #dee2e6;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.success-story-card.coming-soon .instructor__thumb {
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.coming-soon-content {
    text-align: center;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007bff 0%, #6610f2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: #fff;
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.success-story-card.coming-soon .btn-read-more {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.success-story-card.coming-soon .btn-read-more:hover {
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

/* Success CTA Enhancements */
.success-cta {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    padding: 60px 40px;
    border-radius: 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.success-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.success-cta .cta-content {
    position: relative;
    z-index: 2;
}

.success-cta h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.success-cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-buttons .btn-primary {
    background: #fff;
    color: #007bff;
    border-color: #fff;
}

.cta-buttons .btn-primary:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
    text-decoration: none;
}

.cta-buttons .btn-outline-primary {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.cta-buttons .btn-outline-primary:hover {
    background: #fff;
    color: #007bff;
    transform: translateY(-2px);
    text-decoration: none;
}

.brand-area .brand__item a {
    width: 145px;
    height: 70px;
    background: #fff;
}

.brand-area .brand__item a img {
    width: 145px;
    object-fit: contain;
    height: 65px;
}

/* Professional Awards & Achievements Section Styles */
.achievements__area {
    position: relative;
    overflow: hidden;
}

/* Award Section Titles */
.award-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.award-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #007bff;
    margin-bottom: 20px;
}

.award-description p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.section-heading {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 2px;
}

/* Award Cards */
.award-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.award-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.award-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.award-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.award-card:hover .award-image img {
    transform: scale(1.05);
}

.award-content {
    padding: 25px;
    text-align: center;
}

.award-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.3;
}

.award-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Digital Milestones */
.milestone-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.milestone-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.milestone-number {
    font-size: 3rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 10px;
    display: block;
    line-height: 1;
}

.milestone-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Award Categories Styling */
.professional-awards,
.academic-honors,
.international-recognition {
    position: relative;
}

.professional-awards::before,
.academic-honors::before,
.international-recognition::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 2px;
}

/* Responsive Design for Awards */
@media (max-width: 768px) {
    .award-section-title {
        font-size: 2rem;
    }
    
    .award-subtitle {
        font-size: 1.3rem;
    }
    
    .award-description p {
        font-size: 1rem;
    }
    
    .section-heading {
        font-size: 1.7rem;
    }
    
    .award-image {
        height: 250px;
    }
    
    .award-content {
        padding: 20px;
    }
    
    .award-content h4 {
        font-size: 1.2rem;
    }
    
    .award-content p {
        font-size: 0.9rem;
    }
    
    .milestone-card {
        padding: 25px 15px;
    }
    
    .milestone-number {
        font-size: 2.5rem;
    }
    
    .milestone-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .award-section-title {
        font-size: 1.7rem;
    }
    
    .award-subtitle {
        font-size: 1.1rem;
    }
    
    .award-description p {
        font-size: 0.9rem;
    }
    
    .section-heading {
        font-size: 1.5rem;
    }
    
    .award-image {
        height: 200px;
    }
    
    .award-content {
        padding: 15px;
    }
    
    .award-content h4 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .award-content p {
        font-size: 0.85rem;
    }
    
    .milestone-card {
        padding: 20px 10px;
    }
    
    .milestone-number {
        font-size: 2rem;
    }
    
    .milestone-label {
        font-size: 0.8rem;
    }
    
    .section-heading::after {
        width: 60px;
        height: 3px;
    }
}

/* Award Animation Effects */
.award-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.award-card:nth-child(1) { animation-delay: 0.1s; }
.award-card:nth-child(2) { animation-delay: 0.2s; }
.award-card:nth-child(3) { animation-delay: 0.3s; }
.award-card:nth-child(4) { animation-delay: 0.4s; }
.award-card:nth-child(5) { animation-delay: 0.5s; }
.award-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Milestone Animation */
.milestone-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.milestone-card:nth-child(1) { animation-delay: 0.1s; }
.milestone-card:nth-child(2) { animation-delay: 0.2s; }
.milestone-card:nth-child(3) { animation-delay: 0.3s; }
.milestone-card:nth-child(4) { animation-delay: 0.4s; }

/* Professional Award Badge Effect */
.award-card::before {
    content: '';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.award-card:hover::before {
    opacity: 1;
    transform: scale(1.1);
}

/* Award Content Enhancement */
.award-content::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 2px;
}

.award-content {
    position: relative;
    padding-top: 35px;
}

/* Modern Achievements Section Styles */
.achievements__area {
    position: relative;
    overflow: hidden;
}

.achievements__bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.achievements__bg-shapes .shape-1 {
    position: absolute;
    top: 10%;
    left: 5%;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.achievements__bg-shapes .shape-2 {
    position: absolute;
    top: 60%;
    right: 10%;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

.achievements__bg-shapes .shape-3 {
    position: absolute;
    bottom: 20%;
    left: 15%;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    animation: float 7s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Modern Achievement Cards */
.modern-achievement-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 280px;
    cursor: pointer;
}

.modern-achievement-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.achievement-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
}

.achievement-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.modern-achievement-card:hover .achievement-image-wrapper img {
    transform: scale(1.1);
}

.achievement-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    padding: 30px;
    text-align: center;
}

.modern-achievement-card:hover .achievement-overlay {
    opacity: 1;
}

.achievement-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.achievement-icon i {
    font-size: 24px;
    color: #fff;
}

.modern-achievement-card:hover .achievement-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

.achievement-overlay h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.2;
}

.achievement-overlay p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    margin: 0;
}

/* Featured Achievement Cards */
.featured-achievement {
    height: 320px;
}

.featured-achievement .achievement-overlay {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.9) 0%, rgba(255, 140, 0, 0.9) 100%);
}

.featured-achievement .achievement-icon {
    width: 70px;
    height: 70px;
}

.featured-achievement .achievement-icon i {
    font-size: 28px;
}

.featured-achievement .achievement-overlay h4 {
    font-size: 1.5rem;
}

/* Achievement Stats */
.achievement-stats {
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.stat-icon i {
    font-size: 24px;
    color: #fff;
}

.stat-item:hover .stat-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design for Modern Achievements */
@media (max-width: 768px) {
    .modern-achievement-card {
        height: 250px;
        margin-bottom: 20px;
    }
    
    .featured-achievement {
        height: 280px;
    }
    
    .achievement-overlay {
        padding: 20px;
    }
    
    .achievement-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    
    .achievement-icon i {
        font-size: 20px;
    }
    
    .achievement-overlay h4 {
        font-size: 1.2rem;
    }
    
    .achievement-overlay p {
        font-size: 0.9rem;
    }
    
    .featured-achievement .achievement-icon {
        width: 60px;
        height: 60px;
    }
    
    .featured-achievement .achievement-icon i {
        font-size: 24px;
    }
    
    .featured-achievement .achievement-overlay h4 {
        font-size: 1.3rem;
    }
    
    .stat-item {
        padding: 25px 15px;
        margin-bottom: 20px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    
    .stat-icon i {
        font-size: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .achievements__bg-shapes .shape-1,
    .achievements__bg-shapes .shape-2,
    .achievements__bg-shapes .shape-3 {
        display: none;
    }
}

@media (max-width: 480px) {
    .modern-achievement-card {
        height: 220px;
    }
    
    .featured-achievement {
        height: 250px;
    }
    
    .achievement-overlay {
        padding: 15px;
    }
    
    .achievement-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 12px;
    }
    
    .achievement-icon i {
        font-size: 18px;
    }
    
    .achievement-overlay h4 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .achievement-overlay p {
        font-size: 0.85rem;
    }
    
    .featured-achievement .achievement-icon {
        width: 55px;
        height: 55px;
    }
    
    .featured-achievement .achievement-icon i {
        font-size: 22px;
    }
    
    .featured-achievement .achievement-overlay h4 {
        font-size: 1.2rem;
    }
    
    .stat-item {
        padding: 20px 10px;
    }
    
    .stat-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 12px;
    }
    
    .stat-icon i {
        font-size: 18px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

/* Animation Enhancements */
.modern-achievement-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.modern-achievement-card:nth-child(1) { animation-delay: 0.1s; }
.modern-achievement-card:nth-child(2) { animation-delay: 0.2s; }
.modern-achievement-card:nth-child(3) { animation-delay: 0.3s; }
.modern-achievement-card:nth-child(4) { animation-delay: 0.4s; }
.modern-achievement-card:nth-child(5) { animation-delay: 0.5s; }
.modern-achievement-card:nth-child(6) { animation-delay: 0.6s; }
.modern-achievement-card:nth-child(7) { animation-delay: 0.7s; }
.modern-achievement-card:nth-child(8) { animation-delay: 0.8s; }

.stat-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glassmorphism Effect */
.achievements__area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.08)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

.achievements__area .container {
    position: relative;
    z-index: 2;
}

/* Responsive Design for Simple Cards */
@media (max-width: 768px) {
    .success-story-card .instructor__content {
        padding: 20px;
    }
    
    .success-story-card .title {
        font-size: 1.2rem;
    }
    
    .success-story-card .designation {
        font-size: 0.85rem;
    }
    
    .success-preview {
        font-size: 0.85rem;
    }
    
    .btn-read-more {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .success-cta {
        padding: 40px 20px;
    }
    
    .success-cta h3 {
        font-size: 1.8rem;
    }
    
    .success-cta p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    
    .success-story-card .instructor__content {
        padding: 15px;
    }
    
    .success-story-card .title {
        font-size: 1.1rem;
    }
    
    .success-story-card .designation {
        font-size: 0.8rem;
    }
    
    .success-preview {
        font-size: 0.8rem;
        padding-left: 12px;
    }
    
    .success-preview::before {
        font-size: 1.2rem;
    }
    
    .btn-read-more {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
    
    .success-cta {
        padding: 30px 15px;
    }
    
    .success-cta h3 {
        font-size: 1.5rem;
    }
    
    .success-cta p {
        font-size: 0.9rem;
    }
    
    .icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}
