/* Contact Section - Reduced Card Sizes */
.contact-section {
    background-color: var(--light-bg);
}

.contact-info .contact-card {
    padding: 1.2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.contact-info .contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.contact-info .contact-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.8rem;
    font-size: 1.1rem;
}

.contact-info .contact-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-info .contact-card p {
    line-height: 1.6;
    font-size: 0.95rem;
}

.contact-info {
    gap: 1rem;
}

/* Updated Testimonials Design */
.testimonial-stars {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.testimonial-stars i {
    color: #fbbf24;
    font-size: 1rem;
}

.testimonial-course-tag {
    display: inline-block;
    background-color: #dbeafe;
    color: #1e40af;
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

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

.author-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.author-info {
    text-align: left;
}

.author-info h4 {
    margin-bottom: 0.2rem;
    font-size: 1rem;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
}

.testimonial-text {
    text-align: left;
    margin-bottom: 1.5rem;
}

.testimonial-icon {
    display: none;
}

/* Testimonials Horizontal Scroll */
.testimonials-grid {
    display: flex;
    gap: 1rem;
    overflow: hidden;
    padding-bottom: 1rem;
}

.testimonials-grid-wrapper {
    display: flex;
    gap: 1rem;
    animation: slide 40s linear infinite;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.testimonials-grid-wrapper:hover {
    animation-play-state: paused;
}

.testimonial-card {
    min-width: 260px;
    max-width: 260px;
    flex-shrink: 0;
    padding: 1rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial-course-tag {
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
    margin-bottom: 0.7rem;
}

.author-avatar {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
}

.author-info h4 {
    font-size: 0.85rem;
    margin-bottom: 0.1rem;
}

.author-info p {
    font-size: 0.7rem;
}

.testimonial-stars {
    gap: 0.15rem;
    margin-bottom: 0.7rem;
}

.testimonial-stars i {
    font-size: 0.75rem;
}

.testimonial-author {
    gap: 0.7rem;
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    z-index: 999;
    transition: transform 0.3s;
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
}

/* Footer Updates */
.site-footer {
    background-color: #0a0e1a;
    position: relative;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom a {
    color: #2563eb;
    text-decoration: none;
}

.social-links .scroll-up {
    background-color: #2563eb;
}

.footer-contact .contact-item {
    margin-bottom: 1rem;
}

/* Course Detail Pages */
.course-hero {
    color: white;
    padding: 8rem 0;
    text-align: center;
}

.course-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.course-details {
    padding: 4rem 0;
}

.course-content {
    max-width: 900px;
    margin: 0 auto;
}

.course-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.course-content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.course-content ul {
    list-style: none;
    padding: 0;
}

.course-content ul li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.course-content ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.program-card {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s;
}

.program-card:hover {
    transform: translateY(-5px);
}
