/* General Styles */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --dark-color: #212529;
}

.home-page body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-color);
}

/* Header Styles */
.home-page .header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #fff;
}

.home-page .navbar-brand img {
    max-height: 40px;
    width: auto;
}

.home-page .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.home-page .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.home-page .hero-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.home-page .hero-section::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 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="rgba(255,255,255,0.1)"/><stop offset="100%" stop-color="rgba(255,255,255,0)"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
    opacity: 0.3;
}

.home-page .hero-section .container {
    position: relative;
    z-index: 9;
}

.home-page .hero-section .hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.home-page .hero-section .lead {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.home-page .hero-section .btn-hero {
    font-weight: 600;
    border-radius: 8px;
    text-transform: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.home-page .hero-section .btn-primary {
    background: #ffffff;
    border: 2px solid #ffffff;
    color: #667eea;
}

.home-page .hero-section .btn-primary:hover {
    background: #f8f9ff;
    border-color: #f8f9ff;
    color: #667eea;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.home-page .hero-section .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: transparent;
    color: white;
}

.home-page .hero-section .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 1);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.2);
}

.home-page .hero-section .hero-stats {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.home-page .hero-section .stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.home-page .hero-section .stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.home-page .hero-section .stat-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.8rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.home-page .hero-section .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.home-page .hero-section .stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.home-page .hero-section img {
    transform: scale(1);
    transition: all 0.4s ease;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.2));
    border-radius: 15px;
    height: 400px;
    width: 100%;
    object-fit: cover;
}

.home-page .hero-section img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.25));
}

/* Features Section */
.home-page .features-section .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-page .features-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.home-page .feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(13, 110, 253, 0.1);
}

/* Footer Styles */
.home-page .footer {
    background-color: var(--dark-color);
}

.home-page .footer .social-links a {
    transition: opacity 0.3s ease;
}

.home-page .footer .social-links a:hover {
    opacity: 0.8;
}

.home-page .footer ul li a {
    transition: color 0.3s ease;
}

.home-page .footer ul li a:hover {
    color: #fff !important;
}

/* Buttons */

.home-page .btn-primary:not(.btn-hero) {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.home-page .btn-primary:not(.btn-hero):hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
}

.home-page .btn-outline-primary {
    color: #fff;
    border-color: var(--primary-color);
}

.home-page .btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

/* Cards */
.home-page .card {
    border-radius: 1rem;
    overflow: hidden;
}

/* Shadows */
.home-page .shadow-sm {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

.home-page .shadow {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

/* Featured Lectures Section Styles */
.lectures-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.lectures-section::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="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.lectures-section .container {
    position: relative;
    z-index: 1;
}

.lectures-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-title-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.section-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.section-icon i {
    font-size: 28px;
    color: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    background: linear-gradient(135deg, #1e293b, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin: 5px 0 0 0;
    font-weight: 400;
}

.btn-modern {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* Live Lecture Highlight Section */
.live-lecture-highlight {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.live-lecture-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ef4444, #f97316, #eab308, #22c55e, #3b82f6, #8b5cf6, #ef4444);
    background-size: 200% 100%;
    animation: rainbow 3s linear infinite;
}

@keyframes rainbow {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.live-indicator {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.video-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px;
}

.video-container:hover .video-overlay {
    opacity: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: white;
    transform: scale(1.1);
}

.play-button i {
    font-size: 24px;
    color: #3b82f6;
    margin-left: 4px;
}

.live-lecture-info {
    padding-left: 30px;
}

.category-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-badge.live {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.lecture-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin: 15px 0;
    line-height: 1.3;
}

.lecture-description {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 25px;
}

.instructor {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.instructor-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.instructor-title {
    font-size: 0.9rem;
    color: #64748b;
}

.lecture-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #64748b;
}

.stat-item i {
    width: 16px;
}

.lecture-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-join-live {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-join-live:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

.btn-remind {
    border: 2px solid #3b82f6;
    background: transparent;
    color: #3b82f6;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-remind:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
}

/* Top 3 Featured Videos Grid */
.top-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.featured-video-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.featured-video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.video-container-large {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    overflow: hidden;
}

.video-container-large iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 25px;
}

.video-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin: 15px 0 10px 0;
    line-height: 1.4;
}

.video-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #64748b;
}

.video-meta .views,
.video-meta .duration {
    display: flex;
    align-items: center;
    gap: 5px;
}

.video-description {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.instructor-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #1e293b;
    font-weight: 600;
}

.instructor-mini img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

/* Regular Lectures Grid */
.lectures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.lecture-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lecture-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.lecture-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lecture-card:hover .play-overlay {
    opacity: 1;
}

.play-btn {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-btn:hover {
    background: white;
    transform: scale(1.1);
}

.play-btn i {
    font-size: 20px;
    color: #3b82f6;
    margin-left: 3px;
}

.lecture-content {
    padding: 25px;
}

.lecture-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.subject-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.subject-badge.anatomy {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
}

.subject-badge.physiology {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.subject-badge.pathology {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.subject-badge.pharmacology {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}

.lecture-views {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #64748b;
    font-size: 0.9rem;
}

.lecture-card .lecture-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.lecture-excerpt {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lecture-content .instructor-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.lecture-content .instructor-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.instructor-details {
    display: flex;
    flex-direction: column;
}

.lecture-content .instructor-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
}

.upload-date {
    font-size: 0.85rem;
    color: #64748b;
}

.lecture-content .lecture-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-watch-now {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-watch-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
    color: white;
}

.lecture-engagement {
    display: flex;
    gap: 15px;
}

.btn-like,
.btn-save {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
}

.btn-like:hover {
    color: #3b82f6;
}

.btn-save:hover {
    color: #f59e0b;
}

.subjects-hero {
    padding: 40px 0 60px 0;
}

/* Lectures Page Header */
.lectures-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 0 60px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.lectures-header::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="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.header-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Careers Page Header */
.careers-header {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    padding: 40px 0 60px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.careers-header::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="career-grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23career-grid)"/></svg>');
    opacity: 0.3;
}

/* Careers Section */
.careers-section {
    padding: 40px 0;
    background: #f8fafc;
}

/* Jobs Grid */

/* Job Card */
.job-card {
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Job Header */
.job-header {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 30px;
    position: relative;
}

.job-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.job-type {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-type.permanent {
    background: #10b981;
    color: white;
}

.job-type.contract {
    background: #f59e0b;
    color: white;
}

.vacancy-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
}

.job-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.organization {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #e2e8f0;
}

.department {
    font-size: 0.95rem;
    margin-bottom: 8px;
    opacity: 0.8;
}

.location {
    font-size: 0.9rem;
    opacity: 0.7;
    margin: 0;
}

.location i {
    margin-right: 6px;
}

/* Job Content */
.job-content {
    padding: 30px;
}

.job-content h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.job-content h5::before {
    content: '';
    width: 4px;
    height: 20px;
    background: #3b82f6;
    margin-right: 10px;
    border-radius: 2px;
}

.job-description {
    margin-bottom: 25px;
}

.job-description p {
    color: #64748b;
    line-height: 1.6;
    text-align: justify;
    font-size: 0.95rem;
}

.job-eligibility {
    margin-bottom: 25px;
}

.job-eligibility ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-eligibility li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

.job-eligibility li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #10b981;
    font-weight: bold;
}

.job-salary {
    margin-bottom: 25px;
}

.salary-amount {
    font-size: 1.3rem;
    font-weight: 700;
    color: #059669;
    margin: 0;
}

.job-dates {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
}

.date-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.date-info .label {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.date-info .value {
    font-size: 0.95rem;
    color: #1e293b;
    font-weight: 600;
}

.date-info.important {
    color: #dc2626;
}

.date-info.important .value {
    color: #dc2626;
}

/* Job Actions */
.job-actions {
    padding: 0 30px 30px 30px;
    display: flex;
    gap: 15px;
}

.btn-apply {
    flex: 1;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 0;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-apply:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.btn-download {
    flex: 1;
    background: white;
    color: #64748b;
    padding: 15px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-download:hover {
    background: #f8fafc;
    color: #1e293b;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Pagination Styling */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
}

.pagination-wrapper .pagination {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination-wrapper .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    color: #64748b;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    background: white;
}

.pagination-wrapper .page-link:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.pagination-wrapper .page-item.active .page-link {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.pagination-wrapper .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-wrapper .page-item.disabled .page-link:hover {
    transform: none;
    box-shadow: none;
    border-color: #e2e8f0;
    color: #64748b;
}

/* Vocabulary Page Styles */
.vocabulary-header {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    padding: 40px 0 40px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.vocabulary-header::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="vocab-grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23vocab-grid)"/></svg>');
    opacity: 0.3;
}

.vocabulary-content {
    padding: 40px 0;
    background: #f8fafc;
}

/* Tab Navigation */
.vocab-tabs {
    margin-bottom: 0;
}

.vocab-tabs .nav-tabs {
    border: none;
    background: white;
    border-radius: 15px;
    padding: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.vocab-tabs .nav-link {
    border: none;
    background: #ff5722;
    border-radius: 10px;
    padding: 15px 25px;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 5px;
}

.vocab-tabs .nav-link:hover {
    background: #f1f5f9;
    color: #475569;
}

.vocab-tabs .nav-link.active {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.tab-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
}

.vocab-tabs .nav-link.active .tab-count {
    background: rgba(255, 255, 255, 0.3);
}

/* Tab Content */
.tab-content {
    background: transparent;
}

.tab-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.tab-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.tab-header p {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
}

/* Grid Layouts */
.vocabulary-grid,
.mnemonic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    align-items: start;
}

/* Vocabulary Word Cards */
.vocabulary-word-card {
    background: white;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    overflow: hidden;
    align-self: start;
    height: fit-content;
}

.vocabulary-word-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.word-header {
    padding: 20px 25px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.word-header:hover {
    background-color: #f8fafc;
}

.word-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.clickable-word {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.2s ease;
}

.clickable-word:hover {
    color: #6366f1;
}

.clickable-word.expanded {
    color: #6366f1;
}

.expand-icon {
    font-size: 0.9rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.clickable-word.expanded .expand-icon {
    transform: rotate(180deg);
}

.word-definition {
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
}

.word-definition.expanded {
    max-height: 800px;
    opacity: 1;
    transform: translateY(0);
}

.definition-content {
    padding: 20px 25px;
}

.pronunciation {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6366f1;
    font-weight: 500;
    font-size: 0.9rem;
}

.definition-content .definition,
.definition-content .example,
.definition-content .etymology {
    margin-bottom: 15px;
}

.definition-content h5 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.definition-content p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.category-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-badge.clinical {
    background: #dbeafe;
    color: #1e40af;
}

.category-badge.homeopathy {
    background: #dcfce7;
    color: #166534;
}

.category-badge.pharmacology {
    background: #fef3c7;
    color: #92400e;
}

.category-badge.philosophy {
    background: #f3e8ff;
    color: #7c2d12;
}

.category-badge.pathology {
    background: #fee2e2;
    color: #991b1b;
}

/* Mnemonic Cards */
.mnemonic-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 15px;
    padding: 0;
    margin-bottom: 20px;
    border: 1px solid #0ea5e9;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.1);
    transition: all 0.3s ease;
    align-self: start;
    height: fit-content;
    overflow: hidden;
}

.mnemonic-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.15);
}

.mnemonic-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 25px 25px 0 25px;
    margin-bottom: 0;
}

.mnemonic-term {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0c4a6e;
    margin: 0;
}

.mnemonic-badge {
    background: #0ea5e9;
    color: white;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.mnemonic-phrase h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0c4a6e;
    margin-bottom: 15px;
    margin-top: 20px;
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 10px;
    border: 2px dashed #0ea5e9;
}

.mnemonic-content {
    padding: 0 25px 25px 25px;
}

.mnemonic-content h5 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0c4a6e;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mnemonic-content p {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.mnemonic-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

/* Placeholder */
.mnemonic-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    text-align: center;
}

.placeholder-content {
    color: #94a3b8;
}

.placeholder-content i {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.placeholder-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #64748b;
}

.placeholder-content p {
    font-size: 0.95rem;
    max-width: 300px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {

    .lectures-header,
    .careers-header,
    .vocabulary-header {
        padding: 60px 0 40px 0;
    }

    .vocabulary-content {
        padding: 20px 0;
    }

    .vocab-tabs .nav-tabs {
        padding: 6px;
        margin-bottom: 20px;
    }

    .vocab-tabs .nav-link {
        padding: 12px 15px;
        font-size: 0.9rem;
        margin-right: 3px;
    }

    .tab-header {
        padding: 20px 15px;
        margin-bottom: 25px;
    }

    .tab-header h2 {
        font-size: 1.5rem;
    }

    .vocabulary-grid,
    .mnemonic-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .vocabulary-word-card,
    .mnemonic-card {
        margin-bottom: 0;
    }

    .word-header {
        padding: 15px 20px;
    }

    .clickable-word {
        font-size: 1.1rem;
    }

    .word-main {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .definition-content {
        padding: 15px 20px;
    }

    .mnemonic-term {
        font-size: 1.2rem;
    }

    .mnemonic-phrase h4 {
        font-size: 1.1rem;
        padding: 12px;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .job-card {
        margin: 0 10px;
    }

    .job-header {
        padding: 25px 20px;
    }

    .job-content {
        padding: 25px 20px;
    }

    .job-actions {
        padding: 0 20px 25px 20px;
        flex-direction: column;
    }

    .job-dates {
        flex-direction: column;
        gap: 15px;
    }

    .job-title {
        font-size: 1.3rem;
    }

    .lectures-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
    }

    .section-title-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .top-videos-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 40px;
    }

    .featured-video-card {
        margin: 0 10px;
    }

    .video-info {
        padding: 20px;
    }

    .video-title {
        font-size: 1.2rem;
    }

    .video-meta {
        flex-direction: column;
        gap: 10px;
    }

    .live-lecture-highlight {
        padding: 25px;
        margin-bottom: 40px;
    }

    .live-lecture-info {
        padding-left: 0;
        margin-top: 25px;
    }

    .lecture-title {
        font-size: 1.5rem;
    }

    .lectures-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .lecture-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
    }

    .lecture-actions {
        flex-direction: column;
        gap: 10px;
    }

    .btn-join-live,
    .btn-remind {
        width: 100%;
        justify-content: center;
    }
}

.video-info .subject-badge {
    width: max-content;
    margin: 0 auto;
}

/* Instagram Icon Special Styles */
.social-icon.instagram-special {
    position: relative;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    transform: scale(1.2);
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.4);
    animation: instagram-pulse 2s ease-in-out infinite;
}

.social-icon.instagram-special:hover {
    transform: scale(1.3) rotate(5deg);
    box-shadow: 0 6px 25px rgba(225, 48, 108, 0.6);
}

.social-icon.instagram-special i {
    color: #fff !important;
    font-size: 1.1em;
}

@keyframes instagram-pulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(225, 48, 108, 0.4);
    }

    50% {
        box-shadow: 0 4px 25px rgba(225, 48, 108, 0.7);
    }
}

/* Add subtle glow effect */
.social-icon.instagram-special::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icon.instagram-special:hover::before {
    opacity: 0.7;
    animation: rotate-gradient 3s linear infinite;
}

@keyframes rotate-gradient {
    0% {
        filter: hue-rotate(0deg);
    }

    100% {
        filter: hue-rotate(360deg);
    }
}

/* Footer Legal Section */
.footer-legal {
    margin-top: 20px;
}

.legal-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.legal-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-menu li {
    margin-bottom: 8px;
}

.legal-menu a {
    color: #b8c5d6;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.legal-menu a:hover {
    color: #667eea;
    transform: translateX(3px);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.scroll-to-top:active {
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

/* Center Navigation Items */
.navbar-nav {
    margin: 0 auto;
    text-align: center;
}

.navbar-nav .nav-item {
    float: none;
    display: inline-block;
}

/* Offcanvas Menu Styling */
.offcanvas {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    max-width: 85% !important;
}

.offcanvas-header {
    background: rgb(255 255 255);
    padding: 1.5rem;
}

.offcanvas .btn-close:hover {
    opacity: 1;
}

.offcanvas-body {
    padding: 1.5rem;
}

.offcanvas .navbar-nav {
    margin: 0;
}

.offcanvas .nav-item {
    margin-bottom: 0.5rem;
}

.offcanvas .nav-link {
    color: #fff !important;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.offcanvas .nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.offcanvas .nav-link.active {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.offcanvas .nav-link i {
    width: 24px;
    text-align: center;
}

.offcanvas hr {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 1.5rem 0;
}

.offcanvas .btn {
    border-radius: 10px;
    padding: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.offcanvas .btn-outline-primary {
    border-color: #fff;
    color: #fff;
    background: transparent;
}

.offcanvas .btn-outline-primary:hover {
    background: #fff;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.offcanvas .btn-primary {
    background: #fff;
    border-color: #fff;
    color: #667eea;
}

.offcanvas .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.offcanvas .btn-outline-secondary {
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
    background: transparent;
}

.offcanvas .btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    transform: translateY(-2px);
}

.offcanvas .btn-outline-danger {
    border-color: #ff6b6b;
    color: #ff6b6b;
    background: transparent;
}

.offcanvas .btn-outline-danger:hover {
    background: #ff6b6b;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.offcanvas .badge {
    background: #fff !important;
    color: #667eea !important;
}

.mock-test-slide .course-card .btn {
    color: #667eea;
    border: none;
}

.mock-test-slide .course-card .btn:hover {
    color: #092cca;
    border: none;
    background: transparent;
}


@media (max-width: 767px) {
    .mobheading {
        font-size: 2rem !important;
        text-align: center;
        line-height: 3rem !important;
    }

    .home-page .hero-stats .stat-content {
        text-align: left;
        padding-left: 12px;
    }

    .mobheading_one {
        font-size: 2rem !important;
        text-align: left;
        line-height: 3rem !important;
        margin-bottom: 0 !important;
    }

    .mobheading_two {
        font-size: 1.5rem !important;
        text-align: left;
        line-height: 1.7rem !important;
        margin-bottom: 0 !important;
    }

}

/* ========================================
   TESTIMONIALS SECTION STYLES
   ======================================== */

.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.testimonials-slider-wrapper {
    position: relative;
    padding: 0 50px;
}

.testimonials-slider {
    margin: 0 -15px;
}

.testimonial-slide {
    padding: 0 15px;
    height: auto;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    border-color: #3b82f6;
}

.testimonial-card .rating {
    margin-bottom: 20px;
}

.testimonial-card .rating i {
    font-size: 18px;
    margin-right: 3px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 25px;
    flex-grow: 1;
    font-style: italic;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 60px;
    color: #e2e8f0;
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: Georgia, serif;
    line-height: 1;
}

.student-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.student-info .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #3b82f6;
}

.student-info h6 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.student-info span {
    font-size: 13px;
    color: #6b7280;
}

/* Slick Slider Custom Arrows */
.testimonials-slider-wrapper .slick-prev,
.testimonials-slider-wrapper .slick-next {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.testimonials-slider-wrapper .slick-prev:hover,
.testimonials-slider-wrapper .slick-next:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.testimonials-slider-wrapper .slick-prev i,
.testimonials-slider-wrapper .slick-next i {
    color: #3b82f6;
    font-size: 18px;
    transition: color 0.3s ease;
}

.testimonials-slider-wrapper .slick-prev:hover i,
.testimonials-slider-wrapper .slick-next:hover i {
    color: white;
}

.testimonials-slider-wrapper .slick-prev {
    left: 0;
}

.testimonials-slider-wrapper .slick-next {
    right: 0;
}

.testimonials-slider-wrapper .slick-prev:before,
.testimonials-slider-wrapper .slick-next:before {
    content: '';
}

/* Slick Dots */
.testimonials-slider .slick-dots {
    bottom: -50px;
}

.testimonials-slider .slick-dots li button:before {
    font-size: 12px;
    color: #3b82f6;
    opacity: 0.3;
}

.testimonials-slider .slick-dots li.slick-active button:before {
    opacity: 1;
    color: #3b82f6;
}

/* Section Heading */
.testimonials-section .section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-section .section-heading h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.testimonials-section .section-heading p {
    font-size: 1.1rem;
    color: #6b7280;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .testimonials-slider-wrapper {
        padding: 0 20px;
    }

    .testimonials-slider-wrapper .slick-prev,
    .testimonials-slider-wrapper .slick-next {
        width: 40px;
        height: 40px;
    }

    .testimonials-slider-wrapper .slick-prev i,
    .testimonials-slider-wrapper .slick-next i {
        font-size: 16px;
    }

    .testimonial-card {
        padding: 25px;
    }

    .testimonials-section .section-heading h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .testimonials-slider-wrapper {
        padding: 0;
    }

    .testimonial-card {
        padding: 20px;
    }

    .testimonial-text {
        font-size: 14px;
    }

    .student-info .avatar {
        width: 45px;
        height: 45px;
    }

    .testimonials-section .section-heading h2 {
        font-size: 1.75rem;
    }

    .testimonials-section .section-heading p {
        font-size: 1rem;
    }
}