/* Custom CSS for Educational Website */

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --light-bg: #f8f9fa;
    --dark-bg: #2c3e50;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --border-color: #dee2e6;
    --shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fff;
}

/* Navigation Styles */
.navbar {
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0.375rem;
    margin: 0 0.25rem;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

/* Main Content */
.main-content {
    margin-top: 76px;
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.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 100" fill="rgba(255,255,255,0.1)"><polygon points="1000,100 1000,0 0,100"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Cards */
.card {
    border: none;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    overflow: hidden;
}

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

.card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    padding: 1.5rem;
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.card-text {
    color: var(--text-light);
    line-height: 1.7;
}

/* Buttons */
.btn {
    border-radius: 0.5rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Feature Cards */
.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 1rem;
    background: white;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* Recent Content Section */
.recent-content {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.recent-content::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="%23e9ecef" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.recent-content .container {
    position: relative;
    z-index: 2;
}

/* Content Tabs */
.content-tabs {
    background: white;
    border-radius: 50px;
    padding: 0.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: inline-flex;
    margin: 0 auto;
}

.content-tabs .nav-link {
    border: none;
    border-radius: 40px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    color: #6c757d;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.content-tabs .nav-link:hover {
    color: #007bff;
    background: rgba(0,123,255,0.1);
}

.content-tabs .nav-link.active {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    box-shadow: 0 3px 10px rgba(0,123,255,0.3);
}

/* Content Cards */
.content-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    overflow: hidden;
    height: 100%;
    position: relative;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #28a745, #ffc107);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.content-card:hover::before {
    transform: scaleX(1);
}

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

/* Article Cards */
.article-card {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    background: white;
}

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

.article-card .card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.1) 75%);
    background-size: 20px 20px;
    animation: shimmer 2s infinite linear;
}

@keyframes shimmer {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}

.card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 3;
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #2c3e50;
    line-height: 1.4;
}

.card-excerpt {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.meta-item {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: #6c757d;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.card-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 600;
    color: #ffc107;
}

.article-meta {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.article-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Exam Cards */
.exam-card .card-header {
    border: none;
    border-radius: 20px 20px 0 0;
    padding: 1rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.exam-card .card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.1) 75%);
    background-size: 15px 15px;
    animation: move 20s infinite linear;
}

@keyframes move {
    0% { background-position: 0 0; }
    100% { background-position: 30px 30px; }
}

.exam-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.stat-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Forms */
.form-control {
    border-radius: 0.5rem;
    border: 2px solid var(--border-color);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Exam Cards */
.exam-card {
    border-left: 4px solid var(--secondary-color);
    border-radius: 0.5rem;
    background: white;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.exam-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.exam-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.exam-status.active {
    background-color: var(--success-color);
    color: white;
}

.exam-status.inactive {
    background-color: var(--text-light);
    color: white;
}

/* Statistics Cards */
.stat-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-left: 4px solid var(--secondary-color);
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}

/* SVG Animasyonları */
.hands-illustration {
    animation: float 6s ease-in-out infinite;
}

.hands-illustration svg {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.hand-left {
    animation: wave-left 3s ease-in-out infinite;
    transform-origin: 80px 180px;
}

.hand-right {
    animation: wave-right 3s ease-in-out infinite 0.5s;
    transform-origin: 220px 180px;
}

.book {
    animation: book-glow 4s ease-in-out infinite;
}

.diploma {
    animation: diploma-shine 5s ease-in-out infinite;
}

.stars {
    animation: twinkle 2s ease-in-out infinite;
}

.particles circle {
    animation: particle-float 4s ease-in-out infinite;
}

.particles circle:nth-child(2) { animation-delay: 0.5s; }
.particles circle:nth-child(3) { animation-delay: 1s; }
.particles circle:nth-child(4) { animation-delay: 1.5s; }
.particles circle:nth-child(5) { animation-delay: 2s; }
.particles circle:nth-child(6) { animation-delay: 2.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes wave-left {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

@keyframes wave-right {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
}

@keyframes book-glow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

@keyframes diploma-shine {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes twinkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

@keyframes particle-float {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    25% { transform: translateY(-5px) translateX(2px); }
    50% { transform: translateY(-10px) translateX(-2px); }
    75% { transform: translateY(-5px) translateX(2px); }
}

/* Navbar Buton Stilleri */
.navbar .btn {
    transition: all 0.3s ease;
    font-weight: 500;
}

.navbar .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.navbar .btn-outline-success {
    border-color: #28a745;
    color: #28a745;
}

.navbar .btn-outline-success:hover {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
}

/* Hero Section Enhancements */
.hero-badge .badge {
    font-size: 0.9rem;
    border-radius: 25px;
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-stats .stat-item h4 {
    font-size: 2rem;
    font-weight: 700;
}

.feature-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #333;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Floating Cards */
.hero-visual {
    position: relative;
}

.floating-cards {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.floating-card {
    position: absolute;
    width: 140px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.floating-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-1 {
    top: 20px;
    right: 50px;
    animation: float-1 6s ease-in-out infinite;
}

.card-2 {
    top: 120px;
    left: 30px;
    animation: float-2 6s ease-in-out infinite 2s;
}

.card-3 {
    bottom: 50px;
    right: 20px;
    animation: float-3 6s ease-in-out infinite 4s;
}

@keyframes float-1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

@keyframes float-2 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(-2deg); }
}

@keyframes float-3 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

/* Enhanced Feature Cards */
.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #28a745, #ffc107);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-content h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.feature-list li {
    padding: 0.5rem 0;
    color: #666;
}

.bg-purple {
    background: linear-gradient(135deg, #6f42c1, #5a2d91);
}

/* Enhanced Stats Section */
.stats-section {
    background: linear-gradient(135deg, #007bff, #0056b3);
    position: relative;
    overflow: hidden;
}

.stats-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"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
}

.stats-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stats-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stats-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.stats-number {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.stats-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.stats-growth {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Success Stories */
.success-story {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
    transition: all 0.3s ease;
}

.success-story:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.story-quote {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
}

.story-content p {
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.story-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.author-info h6 {
    color: white;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.author-info small {
    color: rgba(255, 255, 255, 0.7);
}

/* Counter Animation */
.counter {
    transition: all 0.3s ease;
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-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="testimonial-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23testimonial-pattern)"/></svg>');
    z-index: 1;
}

.testimonials-section .container {
    position: relative;
    z-index: 2;
}

.testimonials-section .section-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.testimonials-section .section-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 0;
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

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

.testimonial-card.featured {
    border: 2px solid #ffd700;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.testimonial-card.compact {
    padding: 1.5rem;
}

/* Featured Badge */
.featured-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 0 0 15px 15px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(255,215,0,0.3);
    z-index: 3;
}

.featured-badge i {
    margin-right: 0.5rem;
}

/* Testimonial Header */
.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.user-avatar {
    position: relative;
    margin-right: 1rem;
}

.user-avatar.small {
    margin-right: 0.75rem;
}

.avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.user-avatar.small .avatar-placeholder {
    width: 45px;
    height: 45px;
}

.avatar-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.2) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.2) 75%);
    background-size: 10px 10px;
    animation: avatar-shimmer 3s infinite linear;
}

@keyframes avatar-shimmer {
    0% { background-position: 0 0; }
    100% { background-position: 20px 20px; }
}

.online-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 16px;
    height: 16px;
    background: #28a745;
    border: 3px solid white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(40, 167, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

.user-info {
    flex: 1;
}

.user-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.testimonial-card.compact .user-name {
    font-size: 1.1rem;
}

.user-title {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.rating.small {
    gap: 0.15rem;
}

.rating i {
    color: #ffc107;
    font-size: 0.9rem;
}

.rating.small i {
    font-size: 0.8rem;
}

.rating-text, .rating span {
    font-weight: 600;
    color: #ffc107;
    margin-left: 0.5rem;
}

/* Testimonial Content */
.testimonial-content {
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 2rem;
    color: #e9ecef;
    z-index: 1;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #495057;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    font-style: italic;
}

.testimonial-card.compact .testimonial-text {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.testimonial-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #6c757d;
}

.course-taken, .completion-date {
    display: flex;
    align-items: center;
}

/* Testimonials Stats */
.testimonials-stats {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    margin-top: 2rem;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stats-container .stat-item {
    text-align: center;
}

.stats-container .stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #667eea;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-container .stat-label {
    font-size: 1.1rem;
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-stars {
    color: #ffc107;
    font-size: 1.2rem;
}

.testimonials-cta h4 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.testimonials-cta p {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.newsletter-container {
    background: white;
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

.newsletter-content {
    padding-right: 2rem;
}

.newsletter-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    animation: pulse-newsletter 3s infinite;
}

@keyframes pulse-newsletter {
    0% { box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(102, 126, 234, 0); }
    100% { box-shadow: 0 0 0 0 rgba(102, 126, 234, 0); }
}

.newsletter-icon i {
    font-size: 2rem;
    color: white;
}

.newsletter-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.newsletter-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.newsletter-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-features .feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.newsletter-features .feature-item i {
    color: #28a745;
    font-size: 1.1rem;
}

.newsletter-features .feature-item span {
    color: #495057;
    font-weight: 500;
}

/* Newsletter Form */
.newsletter-form-container {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid #e9ecef;
}

.newsletter-form .form-group {
    margin-bottom: 1.5rem;
}

.newsletter-form label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    display: block;
}

.newsletter-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.newsletter-form .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    outline: none;
}

.newsletter-form .form-check {
    margin-bottom: 2rem;
}

.newsletter-form .form-check-input {
    margin-top: 0.25rem;
}

.newsletter-form .form-check-label {
    font-size: 0.9rem;
    color: #6c757d;
    margin-left: 0.5rem;
}

.btn-newsletter {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    width: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-newsletter::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;
}

.btn-newsletter:hover::before {
    left: 100%;
}

.btn-newsletter:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-newsletter i {
    margin-right: 0.5rem;
}

/* Newsletter Success */
.newsletter-success {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 20px;
    color: white;
}

.newsletter-success i {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: success-bounce 1s ease-out;
}

@keyframes success-bounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.newsletter-success h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.newsletter-success p {
    margin-bottom: 0;
    opacity: 0.9;
}

/* Newsletter Background Elements */
.newsletter-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.floating-envelope, .floating-bell, .floating-star {
    position: absolute;
    color: rgba(255,255,255,0.1);
    font-size: 2rem;
    animation: float-newsletter 6s ease-in-out infinite;
}

.floating-envelope {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-bell {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-star {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float-newsletter {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .stats-card {
        margin-bottom: 1rem;
    }
    
    .feature-card {
        margin-bottom: 2rem;
    }
    
    .exam-card {
        margin-bottom: 1rem;
    }
    
    .hands-illustration svg {
        width: 250px;
        height: 200px;
    }
    
    .navbar .btn {
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
        padding: 8px 16px !important;
    }
    
    .floating-card {
        width: 100px;
    }
    
    .card-1, .card-2, .card-3 {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        margin: 1rem auto;
        display: block;
    }
    
    .floating-cards {
        position: relative;
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .content-tabs {
        flex-direction: column;
        width: 100%;
        border-radius: 15px;
    }
    
    .content-tabs .nav-link {
        border-radius: 10px;
        margin-bottom: 0.25rem;
    }
    
    .card-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .card-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .card-footer .btn {
        width: 100%;
    }
    
    .card-rating {
        justify-content: center;
    }

    /* Testimonials Responsive */
    .testimonials-section .section-title {
        font-size: 2rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-card.compact {
        padding: 1rem;
    }

    .user-name {
        font-size: 1.1rem;
    }

    .testimonial-card.compact .user-name {
        font-size: 1rem;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }

    .testimonial-card.compact .testimonial-text {
        font-size: 0.9rem;
    }

    .testimonials-stats {
        padding: 2rem 1rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stats-container .stat-number {
        font-size: 2.5rem;
    }

    .testimonials-cta h4 {
        font-size: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Newsletter Responsive */
    .newsletter-container {
        padding: 2rem 1.5rem;
    }

    .newsletter-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }

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

    .newsletter-subtitle {
        font-size: 1rem;
    }

    .newsletter-form-container {
        padding: 1.5rem;
    }

    .newsletter-features {
        margin-bottom: 2rem;
    }

    .floating-envelope, .floating-bell, .floating-star {
        font-size: 1.5rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}