/* Enhanced Homepage Styles - Banner & Counter Sections */

/* ====== ENHANCED HERO/BANNER SECTION ====== */
.page-banner.home {
    position: relative;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Advanced Overlay with Gradient Animation */
.page-banner.home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(247, 115, 41, 0.2) 25%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(247, 115, 41, 0.3) 75%,
        rgba(0, 0, 0, 0.8) 100%
    );
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: 1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Dynamic Particles Background */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(247, 115, 41, 0.7);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(247, 115, 41, 0.5);
    animation: floatParticle 8s infinite linear;
}

.particle:nth-child(2n) {
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
    animation-duration: 12s;
}

.particle:nth-child(3n) {
    animation-duration: 6s;
    background: rgba(247, 115, 41, 0.9);
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
        scale: 0.5;
    }
    10% {
        opacity: 1;
        scale: 1;
    }
    90% {
        opacity: 1;
        scale: 1;
    }
    100% {
        transform: translateY(-100px) translateX(50px) rotate(360deg);
        opacity: 0;
        scale: 0.5;
    }
}

/* Hero Content Container */
.page-banner.home .container {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 2rem;
}

/* Enhanced Title Animation */
.page-banner.home .heading-1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    text-shadow: black;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    animation: heroTitleAppear 1.5s ease-out 0.5s forwards;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 50%, #ffffff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: heroTitleAppear 1.5s ease-out 0.5s forwards, textShimmer 3s ease-in-out 2s infinite;
}

@keyframes heroTitleAppear {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes textShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Hero Content Text */
.hero-content {
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    animation: heroContentAppear 1.5s ease-out 1s forwards;
}

@keyframes heroContentAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content p {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
}

/* Enhanced CTA Buttons */
.hero-cta-container {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: heroCTAAppear 1.5s ease-out 1.5s forwards;
}

@keyframes heroCTAAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-hero-primary {
    background: linear-gradient(135deg, #f77329 0%, #e55a1f 100%);
    border: none;
    color: #000;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 8px 25px rgba(247, 115, 41, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-hero-primary::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.6s;
}

.btn-hero-primary:hover::before {
    left: 100%;
}

.btn-hero-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 35px rgba(247, 115, 41, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: #000;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-hero-secondary:hover {
    background: rgba(247, 115, 41, 0.9);
    border-color: rgba(247, 115, 41, 1);
    transform: translateY(-3px) scale(1.05);
    color: #000;
    box-shadow: 0 15px 35px rgba(247, 115, 41, 0.3);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    opacity: 0;
    animation: scrollIndicatorAppear 1.5s ease-out 2s forwards;
}

@keyframes scrollIndicatorAppear {
    to { opacity: 1; }
}

.scroll-arrow {
    width: 2rem;
    height: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-arrow:hover {
    border-color: #f77329;
    background: rgba(247, 115, 41, 0.1);
}

.scroll-arrow i {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ====== ENHANCED COUNTER SECTION ====== */
.counter-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #f77329 0%, #e55a1f 50%, #d14a17 100%);
    overflow: hidden;
}

/* Counter Background Effects */
.counter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: counterBgFloat 8s ease-in-out infinite;
}

@keyframes counterBgFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.counter-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" 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(%23dots)"/></svg>');
    opacity: 0.3;
    animation: dotPattern 10s linear infinite;
}

@keyframes dotPattern {
    0% { transform: translateX(0); }
    100% { transform: translateX(20px); }
}

/* Counter Container */
.counter-container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

/* Counter Item Enhanced */
.counter-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 3rem 2rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.counter-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.8s;
}

.counter-item:hover::before {
    left: 100%;
}

.counter-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Counter Label */
.counter-label {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Counter Number - Enhanced Animation */
.counter-number {
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 800;
    margin: 1.5rem 0;
    color: #fff;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    display: inline-block;
    animation: counterPulse 2s ease-in-out infinite;
}

@keyframes counterPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.counter-number::after {
    content: '+';
    font-size: 0.6em;
    vertical-align: super;
    margin-left: 0.2rem;
    opacity: 0.8;
}

.counter-number.counting {
    animation: countingPulse 0.1s ease-in-out;
}

@keyframes countingPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Counter Bottom Label */
.counter-bottom-label {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    margin-top: 1rem;
    position: relative;
}

.counter-bottom-label::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    border-radius: 2px;
}

/* Stats Icons */
.counter-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.counter-icon i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ====== ENHANCED FEATURED TALENT SECTION ====== */
.featured-talent {
    position: relative;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    padding: 120px 0;
    overflow: hidden;
}

.featured-talent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(180deg, rgba(247, 115, 41, 0.05) 0%, transparent 100%);
    z-index: 1;
}

.featured-talent .container {
    position: relative;
    z-index: 2;
}

.featured-talent .section-header {
    margin-bottom: 60px;
    position: relative;
    text-align: left;
}

.featured-talent .section-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-orange) 0%, var(--color-dark-orange) 100%);
    border-radius: 2px;
}

.featured-talent .heading-2 {
    color: #2c3e50;
    font-weight: 800;
    position: relative;
}

/* Enhanced Talent Grid */
.home-featured-talent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
}

.home-featured-card {
    opacity: 0;
    transform: translateY(30px);
    animation: cardSlideUp 0.8s ease-out forwards;
    position: relative;
}

.home-featured-card:nth-child(1) { animation-delay: 0.1s; }
.home-featured-card:nth-child(2) { animation-delay: 0.2s; }
.home-featured-card:nth-child(3) { animation-delay: 0.3s; }
.home-featured-card:nth-child(4) { animation-delay: 0.4s; }
.home-featured-card:nth-child(5) { animation-delay: 0.5s; }

@keyframes cardSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Talent Card Styling */
.featured-talent .talent-card {
    background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
    border-radius: 20px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 1px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(247, 115, 41, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    position: relative;
}

.featured-talent .talent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(247, 115, 41, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.featured-talent .talent-card:hover::before {
    opacity: 1;
}

.featured-talent .talent-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 10px 30px rgba(247, 115, 41, 0.1);
    border-color: rgba(247, 115, 41, 0.3);
}

.featured-talent .talent-card .card-img-top {
    transition: transform 0.4s ease;
    border-radius: 20px 20px 0 0;
}

.featured-talent .talent-card:hover .card-img-top {
    transform: scale(1.08);
}

.featured-talent .talent-card .card-body {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
}

/* Featured Talent Section Text Colors - Override admin styles for homepage */
.featured-talent .talent-card .card-title,
.featured-talent .talent-card .talent-name {
    color: #2c3e50 !important;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.featured-talent .talent-card .talent-email {
    color: #6c757d !important;
    font-size: 0.9rem;
}

.featured-talent .talent-card .detail-item span {
    color: #6c757d !important;
}

.featured-talent .talent-card .text-muted {
    color: #6c757d !important;
}

.featured-talent .talent-card p {
    color: #6c757d !important;
    font-size: 0.9rem;
    margin: 0;
}

/* Override any admin-specific styles that might make text invisible */
.featured-talent .talent-card .admin-actions,
.featured-talent .talent-card .talent-details {
    background: transparent !important;
}

.featured-talent .talent-card .btn {
    background: var(--color-orange) !important;
    color: white !important;
    border: none !important;
}

.featured-talent .talent-card .btn:hover {
    background: rgba(247, 115, 41, 0.9) !important;
    color: white !important;
}

/* Enhanced Info Cards */
.enhanced-info-card {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.08),
        0 5px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(247, 115, 41, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.enhanced-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-orange) 0%, var(--color-dark-orange) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: 2;
}

.enhanced-info-card:hover::before {
    transform: scaleX(1);
}

.enhanced-info-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.12),
        0 10px 30px rgba(247, 115, 41, 0.15);
    border-color: rgba(247, 115, 41, 0.3);
}

.card-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-dark-orange) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(247, 115, 41, 0.3);
}

.enhanced-image {
    position: relative;
    overflow: hidden;
    border-radius: 25px 25px 0 0;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.3) 0%, transparent 50%, rgba(247, 115, 41, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.enhanced-info-card:hover .image-overlay {
    opacity: 1;
}

.hover-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 60px;
    height: 60px;
    background: rgba(247, 115, 41, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
}

.enhanced-info-card:hover .hover-icon {
    transform: translate(-50%, -50%) scale(1);
}

.enhanced-body {
    padding: 2rem;
    position: relative;
}

.enhanced-body .card-title {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.card-content {
    color: #6c757d;
    line-height: 1.6;
    font-size: 0.95rem;
}

.card-footer-accent {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-orange), transparent);
    border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-banner.home {
        min-height: 80vh;
        background-attachment: scroll;
    }
    
    .hero-cta-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 0.8rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
    
    .counter-section {
        padding: 60px 0;
    }
    
    .counter-item {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .counter-number {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
    
    .particle {
        display: none; /* Hide particles on mobile for performance */
    }
}

@media (max-width: 480px) {
    .page-banner.home .container {
        padding: 1rem;
    }
    
    .counter-label {
        font-size: 0.9rem;
    }
    
    .counter-bottom-label {
        font-size: 1rem;
        letter-spacing: 1px;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .page-banner.home::before {
        animation: none;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(247, 115, 41, 0.3) 100%);
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .counter-item {
        background: rgba(255, 255, 255, 0.9);
        border: 2px solid #000;
        color: #000;
    }
    
    .counter-number,
    .counter-label,
    .counter-bottom-label {
        color: #000;
    }
}

/* Print Styles */
@media print {
    .page-banner.home,
    .hero-particles,
    .scroll-indicator {
        display: none;
    }
    
    .counter-section {
        background: #f5f5f5;
        color: #000;
    }
}

/* ====== ENHANCED FEATURED TALENT SECTION ====== */
.featured-talent {
    position: relative;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    padding: 100px 0;
    overflow: hidden;
}

.featured-talent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(180deg, rgba(247, 115, 41, 0.05) 0%, transparent 100%);
    z-index: 1;
}

.featured-talent .section-header {
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.featured-talent .section-header .heading-2 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: #333;
    margin-bottom: 1rem;
    position: relative;
}

.featured-talent .section-header .heading-2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-orange) 0%, var(--color-dark-orange) 100%);
    border-radius: 2px;
}

.featured-talent .section-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Enhanced Talent Grid */
.home-featured-talent-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .home-featured-talent-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .home-featured-talent-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 20px;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .home-featured-talent-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 15px;
    }
}

.home-featured-card {
    opacity: 0;
    transform: translateY(30px);
    animation: talentCardFadeIn 0.8s ease-out forwards;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.home-featured-card:nth-child(1) { animation-delay: 0.1s; }
.home-featured-card:nth-child(2) { animation-delay: 0.2s; }
.home-featured-card:nth-child(3) { animation-delay: 0.3s; }
.home-featured-card:nth-child(4) { animation-delay: 0.4s; }
.home-featured-card:nth-child(5) { animation-delay: 0.5s; }
.home-featured-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes talentCardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-featured-card:hover {
    transform: translateY(-15px) scale(1.03);
}

/* Enhanced Talent Cards */
.talent-card {
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 1px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(247, 115, 41, 0.1);
    position: relative;
}

.talent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(247, 115, 41, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.talent-card:hover::before {
    opacity: 1;
}

.talent-card:hover {
    box-shadow: 
        0 20px 60px rgba(247, 115, 41, 0.15),
        0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(247, 115, 41, 0.3);
}

.talent-card .card-img-top {
    height: 320px;
    object-fit: cover;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.talent-card:hover .card-img-top {
    transform: scale(1.08);
}

.talent-card .card-body {
    padding: 25px;
    position: relative;
    z-index: 2;
    background: #fff;
}

.talent-card .card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.talent-card:hover .card-title {
    color: var(--color-orange);
}

/* View All Talents Button */
.view-all-talents {
    text-align: center;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #f77329 0%, #e55a1f 100%);
    color: #000;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(247, 115, 41, 0.3);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-view-all::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.6s;
}

.btn-view-all:hover::before {
    left: 100%;
}

.btn-view-all:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(247, 115, 41, 0.4);
    color: #000;
}

.btn-view-all i {
    transition: transform 0.3s ease;
}

.btn-view-all:hover i {
    transform: translateX(5px);
}

/* Fade in animation for scroll */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fade-in-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile responsiveness improvements */
@media (max-width: 768px) {
    .talent-card .card-body {
        padding: 20px;
    }
    
    .featured-talent .section-header .heading-2 {
        font-size: 1.8rem;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .home-featured-card,
    .talent-card,
    .btn-view-all {
        animation: none;
        transition: none;
    }
    
    .home-featured-card {
        opacity: 1;
        transform: none;
    }
}

/* Focus states for accessibility */
.talent-card:focus,
.btn-view-all:focus {
    outline: 2px solid var(--color-orange);
    outline-offset: 4px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .talent-card {
        border: 2px solid #333;
    }
    
    .talent-card .card-title {
        color: #000;
    }
    
    .btn-view-all {
        border: 2px solid #000;
    }
}

/* Print styles for Featured Talent */
@media print {
    .featured-talent::before,
    .talent-card::before,
    .btn-view-all::before {
        display: none;
    }
    
    .talent-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}
