/**
 * FTA Speakers Section Styles - Professional Green Theme with Clean Speaker Cards
 */

.fta-speakers-section {
    padding: 60px 0;
    background: 
        linear-gradient(135deg, 
            rgba(255, 90, 0, 0.85) 0%, 
            rgba(255, 120, 0, 0.90) 25%, 
            rgba(255, 90, 0, 0.88) 50%, 
            rgba(255, 120, 0, 0.90) 75%, 
            rgba(255, 90, 0, 0.85) 100%
        ),
        linear-gradient(
            45deg,
            rgba(255, 90, 0, 0.15) 0%,
            transparent 30%,
            transparent 70%,
            rgba(255, 90, 0, 0.15) 100%
        ),
        url('http://localhost:8888/agrifutureconferex/wp-content/uploads/2025/05/speakers.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.fta-speakers-section .container {
    width: 100%;
}

/* Enhanced organic pattern overlay with green tint */
.fta-speakers-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 90, 0, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(255, 90, 0, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.03) 0%, transparent 30%);
    background-size: 600px 600px, 800px 800px, 400px 400px;
    animation: floatPattern 20s ease-in-out infinite;
}

@keyframes floatPattern {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 1;
    }
    50% { 
        transform: translateY(-10px) rotate(1deg);
        opacity: 0.8;
    }
}

/* Subtle accent elements with geometric shapes and enhanced green tint */
.fta-speakers-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 0%, rgba(255, 90, 0, 0.08) 50%, transparent 100%),
        linear-gradient(-45deg, transparent 0%, rgba(255, 90, 0, 0.15) 50%, transparent 100%),
        linear-gradient(180deg, rgba(255, 90, 0, 0.1) 0%, transparent 50%, rgba(255, 90, 0, 0.1) 100%);
    pointer-events: none;
}

.fta-speakers-section .section-header {
    position: relative;
    text-align: center;
    margin-bottom: 40px;
    z-index: 1;
}

.fta-speakers-section .section-header::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff5a00, transparent);
    opacity: 0.8;
    box-shadow: 0 1px 5px rgba(255, 90, 0, 0.3);
}

.fta-speakers-section .speakers-section-title {
    color: #ffffff;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.5),
        0 1px 3px rgba(0, 0, 0, 0.8);
}

.fta-speakers-section .speakers-section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff5a00, #ff7a33);
    border-radius: 2px;
    box-shadow: 
        0 2px 10px rgba(255, 90, 0, 0.6),
        0 0 20px rgba(255, 90, 0, 0.3);
}

.fta-speakers-section .section-line {
    display: none;
}

/* Carousel Container */
.fta-speakers-section .speakers-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
}

/* Add elegant corner accents with enhanced visibility */
.fta-speakers-section .speakers-carousel-container::before,
.fta-speakers-section .speakers-carousel-container::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 90, 0, 0.4);
    z-index: 1;
    box-shadow: 0 0 10px rgba(255, 90, 0, 0.2);
}

.fta-speakers-section .speakers-carousel-container::before {
    top: -20px;
    left: -20px;
    border-right: none;
    border-bottom: none;
    border-top-left-radius: 20px;
}

.fta-speakers-section .speakers-carousel-container::after {
    bottom: -20px;
    right: -20px;
    border-left: none;
    border-top: none;
    border-bottom-right-radius: 20px;
}

/* Carousel Navigation */
.fta-speakers-section .carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 10;
    pointer-events: none;
}

.fta-speakers-section .carousel-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(30, 64, 175, 0.6);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: all;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(30, 64, 175, 0.2);
    backdrop-filter: blur(15px);
}

.fta-speakers-section .carousel-btn:hover {
    background: var(--fta-primary-dark);
    border-color: var(--fta-primary-dark);
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 
        0 6px 25px rgba(30, 64, 175, 0.6),
        0 0 30px rgba(30, 64, 175, 0.4);
}

.fta-speakers-section .carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: scale(1);
}

.fta-speakers-section .carousel-btn:disabled:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(30, 64, 175, 0.6);
    color: #ffffff;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(30, 64, 175, 0.2);
}

.fta-speakers-section .carousel-prev {
    left: -80px;
}

.fta-speakers-section .carousel-next {
    right: -80px;
}

/* Carousel Wrapper */
.fta-speakers-section .speakers-carousel-wrapper {
    overflow: hidden;
    border-radius: 20px;
    padding: 10px 0;
    position: relative;
}

.fta-speakers-section .speakers-carousel-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
}

.fta-speakers-section .speakers-carousel {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 40px;
    will-change: transform;
}

.fta-speakers-section .speaker-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 350px;
    aspect-ratio: 3/4;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.fta-speakers-section .speaker-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 90, 0, 0.2);
}

.fta-speakers-section .speaker-image {
    position: relative;
    width: 100%;
    height: 70%;
    overflow: hidden;
    background: #f8f9fa;
}

.fta-speakers-section .speaker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.fta-speakers-section .speaker-card:hover .speaker-image img {
    transform: scale(1.05);
}

.fta-speakers-section .speaker-info {
    position: relative;
    padding: 20px;
    text-align: center;
    background: #ffffff;
    height: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fta-speakers-section .speaker-name {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: -0.2px;
    line-height: 1.3;
}

.fta-speakers-section .speaker-position {
    color: #ff5a00;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 4px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.fta-speakers-section .speaker-company {
    color: #6c757d;
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.4;
}

/* Carousel Indicators */
.fta-speakers-section .carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.fta-speakers-section .carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.fta-speakers-section .carousel-indicator.active {
    background: #ff5a00;
    transform: scale(1.3);
    box-shadow: 
        0 0 0 3px rgba(255, 90, 0, 0.4),
        0 2px 10px rgba(255, 90, 0, 0.3);
}

.fta-speakers-section .carousel-indicator:hover {
    background: #ff5a00;
    transform: scale(1.1);
}

/* No speakers message */
.fta-speakers-section .no-speakers-message {
    text-align: center;
    padding: 60px 20px;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Responsive styles */
@media (max-width: 1300px) {
    .fta-speakers-section .carousel-prev {
        left: -60px;
    }
    
    .fta-speakers-section .carousel-next {
        right: -60px;
    }
    
    .fta-speakers-section .speakers-carousel-container::before,
    .fta-speakers-section .speakers-carousel-container::after {
        display: none;
    }
}

@media (max-width: 1200px) {
    .fta-speakers-section .carousel-prev {
        left: 10px;
    }
    
    .fta-speakers-section .carousel-next {
        right: 10px;
    }
    
    .fta-speakers-section .carousel-btn {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
}

@media (max-width: 991px) {
    .fta-speakers-section .speakers-section-title {
        font-size: 2.4rem;
    }
    
    .fta-speakers-section .speaker-card {
        width: 300px;
    }
    
    .fta-speakers-section .speakers-carousel {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .fta-speakers-section {
        padding: 40px 0;
        background-attachment: scroll; /* Fix for mobile */
        min-height: 90vh;
    }
    
    .fta-speakers-section .speakers-section-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .fta-speakers-section .section-header {
        margin-bottom: 30px;
    }

    .fta-speakers-section .speaker-card {
        width: 280px;
    }
    
    .fta-speakers-section .carousel-nav {
        display: none;
    }
    
    .fta-speakers-section .speakers-carousel-wrapper {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .fta-speakers-section {
        padding: 30px 0;
        min-height: 85vh;
    }
    
    .fta-speakers-section .speakers-section-title {
        font-size: 1.8rem;
    }
    
    .fta-speakers-section .section-header {
        margin-bottom: 25px;
    }
    
    .fta-speakers-section .speaker-name {
        font-size: 1.2rem;
    }
    
    .fta-speakers-section .speaker-position {
        font-size: 0.85rem;
    }

    .fta-speakers-section .speaker-company {
        font-size: 0.8rem;
    }
    
    .fta-speakers-section .speaker-card {
        width: 250px;
    }
    
    .fta-speakers-section .speakers-carousel {
        gap: 20px;
    }
    
    .fta-speakers-section .no-speakers-message {
        font-size: 1rem;
        padding: 40px 20px;
    }
}