/* FUNDESEAD About Slider Widget Styles */

:root {
    --primary: #00476a;
    --accent: #ff8c00;
    --success: #00c700;
    --text-dark: #2d3748;
    --text-light: #718096;
    --transition: all 0.3s ease;
}

.fundesead-about-slider-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.fundesead-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
}

.slide-item {
    display: none;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    transform: translateX(30px);
}

.slide-item.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.slide-item.fade-in {
    animation: slideInRight 0.8s ease forwards;
}

.slide-item.fade-out {
    animation: slideOutLeft 0.8s ease forwards;
}

@keyframes slideInRight {
    from { 
        opacity: 0; 
        transform: translateX(50px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

@keyframes slideOutLeft {
    from { 
        opacity: 1; 
        transform: translateX(0); 
    }
    to { 
        opacity: 0; 
        transform: translateX(-50px); 
    }
}

/* Copy all styles from about-widget.css but with slider-specific prefixes */
.fundesead-about-container {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Visual Section */
.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.decorative-pattern {
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 1;
}

.pattern-diamond {
    width: 12px;
    height: 12px;
    background: var(--accent);
    transform: rotate(45deg);
    opacity: 0.8;
}

.pattern-diamond:nth-child(2),
.pattern-diamond:nth-child(4) {
    background: var(--primary);
    opacity: 0.6;
}

.image-composition {
    position: relative;
    max-width: 400px;
    width: 100%;
}

.main-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.hero-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.image-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: var(--accent);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(255, 140, 0, 0.3);
    animation: pulse 2s infinite;
}

.image-badge i {
    font-size: 16px;
}

.secondary-image {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 180px;
    height: 180px;
    border-radius: 15px;
    overflow: hidden;
    border: 6px solid white;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.secondary-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-dots {
    position: absolute;
    top: -20px;
    right: -20px;
    z-index: 1;
}

.dot-pattern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 3s ease-in-out infinite;
}

.dot:nth-child(2n) {
    animation-delay: 0.5s;
    background: var(--primary);
}

.dot:nth-child(3n) {
    animation-delay: 1s;
}

/* Content Section */
.about-content {
    padding: 0 20px;
}

.section-tag {
    display: inline-block;
    background: var(--success);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.about-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin: 16px 0 24px 0;
}

.about-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 32px;
}

.treatment-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.treatment-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.treatment-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.treatment-icon i,
.treatment-icon svg {
    width: 20px;
    height: 20px;
    font-size: 20px;
}

.treatment-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.treatment-content p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.about-details {
    margin-bottom: 32px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
}

.detail-item i {
    color: var(--primary);
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.detail-item strong {
    color: var(--primary);
    text-decoration: underline;
}

.about-btn {
    background: var(--accent);
    color: white !important;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.3);
    text-decoration: none !important;
}

.about-btn:hover {
    background: #e67e00;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(255, 140, 0, 0.4);
    color: white !important;
    text-decoration: none !important;
}

.about-btn:focus {
    color: white !important;
    text-decoration: none !important;
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.about-btn:visited {
    color: white !important;
    text-decoration: none !important;
}

.about-btn:active {
    color: white !important;
    text-decoration: none !important;
}

/* Ensure button text never has underline */
.about-btn span {
    text-decoration: none !important;
    color: inherit;
}

/* Slider Navigation */
.slider-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.slider-arrow {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    pointer-events: all;
    color: var(--success);
    font-size: 18px;
    line-height: 1;
}

.slider-arrow i {
    font-size: 18px;
    line-height: 1;
    display: block;
    width: 18px;
    height: 18px;
    text-align: center;
    font-style: normal;
    font-weight: bold;
}

/* Fallback for when FontAwesome is not loaded */
.slider-arrow i:not([class*="fa-"]) {
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: bold;
}

/* Ensure FontAwesome icons display properly */
.slider-arrow .fas,
.slider-arrow .fa {
    font-family: "Font Awesome 5 Free", "FontAwesome";
    font-weight: 900;
}

.slider-arrow:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.slider-arrow:focus {
    outline: 2px solid var(--success);
    outline-offset: 2px;
}

.slider-prev {
    left: -25px;
}

.slider-next {
    right: -25px;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    min-width: 12px;
    min-height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 199, 0, 0.3);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
    flex-shrink: 0;
    display: block;
}

.slider-dot.active {
    background: var(--success);
    transform: scale(1.2);
}

.slider-dot:hover {
    background: var(--success);
    transform: scale(1.1);
}

.slider-dot:focus {
    outline: 2px solid var(--success);
    outline-offset: 2px;
}

/* Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .fundesead-about-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .slider-prev {
        left: -15px;
    }
    
    .slider-next {
        right: -15px;
    }
}

@media (max-width: 768px) {
    .fundesead-about-slider-section {
        padding: 60px 20px;
    }
    
    .fundesead-about-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-title {
        font-size: 32px;
    }
    
    .decorative-pattern {
        display: none;
    }
    
    .image-composition {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .hero-img {
        height: 400px;
    }
    
    .secondary-image {
        width: 120px;
        height: 120px;
        bottom: -20px;
        right: -20px;
    }
    
    .treatment-features {
        text-align: left;
    }
    
    .slider-navigation {
        display: none;
    }
}

@media (max-width: 480px) {
    .about-title {
        font-size: 28px;
    }
    
    .image-composition {
        max-width: 250px;
    }
    
    .hero-img {
        height: 300px;
    }
    
    .secondary-image {
        width: 100px;
        height: 100px;
        bottom: -15px;
        right: -15px;
    }
    
    .about-btn {
        padding: 14px 28px;
        font-size: 14px;
    }
}