.portfolio-item:hover .portfolio-overlay {
    opacity: 1 !important;
}

#testimonialsCarousel .carousel-control-prev,
#testimonialsCarousel .carousel-control-next {
    color: #333;
}

#testimonialsCarousel .carousel-control-prev-icon,
#testimonialsCarousel .carousel-control-next-icon {
    background-color: rgba(0,0,0,0.3);
}

/* Blog Card Styles */
.blog-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-image img {
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    z-index: 2;
}

.blog-category .badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
}

.blog-title a {
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: var(--bs-primary) !important;
}

.blog-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-excerpt {
    flex: 1;
}

.blog-footer {
    margin-top: auto;
}

/* Homepage Content Styles */
.homepage-content {
    min-height: 400px;
    display: flex;
    align-items: center;
}

.homepage-content .content-wrapper {
    animation: fadeInUp 0.6s ease-out;
}

.homepage-content img {
    transition: transform 0.3s ease;
}

.homepage-content:hover img {
    transform: scale(1.02);
}

.homepage-content .content-body {
    font-size: 1.1rem;
    line-height: 1.8;
}

.homepage-content .content-body h1,
.homepage-content .content-body h2,
.homepage-content .content-body h3,
.homepage-content .content-body h4,
.homepage-content .content-body h5,
.homepage-content .content-body h6 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.homepage-content .content-body p {
    margin-bottom: 1.5rem;
}

.homepage-content .content-body ul,
.homepage-content .content-body ol {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.homepage-content .content-body blockquote {
    border-left: 4px solid var(--bs-primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #6c757d;
}

/* Block Content Rendering */
.homepage-content .block-content {
    margin: 0;
}

@media (max-width: 768px) {
    .homepage-content {
        min-height: auto;
        padding: 3rem 0 !important;
    }
    
    .homepage-content .row > div {
        order: unset !important;
    }
    
    .homepage-content .content-wrapper {
        text-align: center !important;
        padding: 0 !important;
        margin-top: 2rem;
    }
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .blog-footer {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start !important;
    }
    
    .blog-footer .btn {
        align-self: stretch;
        text-align: center;
    }
}

/* Typewriter Animation CSS */
.slider-baslik {
    overflow: hidden;
    border-right: 3px solid;
    white-space: nowrap;
    animation: blink-caret 0.75s step-end infinite;
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: currentColor; }
}

.featured-biolinks-section {
    position: relative;
    overflow: hidden;
}

.featured-profiles-slider-wrapper {
    position: relative;
    padding: 0;
    max-width: 100%;
}

.featuredProfilesSwiper {
    padding: 0;
    overflow: hidden !important;
}

.featuredProfilesSwiper .swiper-wrapper {
    height: 320px;
    padding: 20px;
    }

.swiper-slide {
    height: auto;
    width: 220px !important;
    display: flex;
    align-items: flex-start;
}

/* Featured Profile Card */
.featured-card {
    background: white;
    border-radius: 20px;
    overflow: visible;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 270px;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.featured-card::after {
    content: '';
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    border-radius: 0 0 20px 20px;
    z-index: 1;
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.18);
}

.pro-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(139, 92, 246, 0.95);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.card-cover {
    height: 80px;
    position: relative;
    display: flex;
        align-items: flex-end;
        justify-content: center;
        padding-bottom: 0;
        flex-shrink: 0;
        background-size: cover;
        background-position: center;
        overflow: visible;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
}

.card-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
        display: none;
}

.featured-avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 4px solid white;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: absolute;
    bottom: -32px;
    z-index: 5;
}

.card-content {
    padding: 37px 14px 10px;
    text-align: center;
    margin-top: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.featured-name {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.featured-name::after {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
}

.profile-category {
    color: #666;
    font-size: 0.75rem;
    margin-bottom: 8px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.featured-stats {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px 8px;
    background: #f3f4f6;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 600;
    color: #374151;
}

.stat-badge i {
    font-size: 0.7rem;
}

.profile-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #6b7280 !important;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 24px;
    font-size: 0.7rem;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: auto;
}

.profile-link-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    transform: translateY(-1px);
}

.view-profile-btn i {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .featured-card {
        height: 260px;
    }
    
    .card-cover {
        height: 70px;
        padding-bottom: 0;
    }
    
    .featured-avatar {
        width: 55px;
        height: 55px;
        bottom: -27px;
    }
    
    .card-content {
        padding: 32px 10px 8px;
    }
}

@media (max-width: 576px) {
    .featured-profiles-slider-wrapper {
        padding: 0 40px;
    }
}
