/* FUNDESEAD Hero Widget Styles */

/* Reset and base styles for widget */
.fundesead-hero-section * {
    box-sizing: border-box;
}

.fundesead-hero-section {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

:root {
    --primary: #00476a;
    --secondary: #2c5aa0;
    --accent: #ff8c00;
    --success: #00c700;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --text-dark: #2d3748;
    --text-light: #718096;
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, #e67e00 100%);
    --gradient-success: linear-gradient(135deg, var(--success) 0%, #00a000 100%);
}

/* Hero Section */
.fundesead-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gradient-primary);
}

.fundesead-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    opacity: 0;
    transition: var(--transition);
}

.fundesead-hero-section.has-background-image::before {
    opacity: 1;
}

/* Hero Background Shapes */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Hero Container */
.fundesead-hero-section .hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    min-height: 80vh;
    justify-items: start;
}

.fundesead-hero-section .hero-content {
    color: var(--white);
    max-width: 600px;
    padding-right: 20px;
}

/* Hero Badge */
.fundesead-hero-section .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px !important;
    font-weight: 500;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out;
    white-space: nowrap;
}

.fundesead-hero-section .hero-badge i {
    color: var(--accent);
    font-size: 16px !important;
    width: auto;
    height: auto;
}

/* Hero Title */
.fundesead-hero-section .hero-title {
    font-size: 56px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    margin: 0 0 24px 0 !important;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    color: var(--white) !important;
}

.fundesead-hero-section .hero-title .highlight {
    color: var(--success) !important;
    position: relative;
}

.fundesead-hero-section .hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--success);
    border-radius: 2px;
}

/* Hero Description */
.fundesead-hero-section .hero-description {
    font-size: 18px !important;
    line-height: 1.7 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 0 40px 0 !important;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Hero Actions */
.fundesead-hero-section .hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.fundesead-hero-section .cta-primary,
.fundesead-hero-section .cta-secondary {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    padding: 16px 32px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    text-decoration: none !important;
    transition: var(--transition);
    cursor: pointer;
    border: none !important;
    white-space: nowrap;
    line-height: 1 !important;
}

.fundesead-hero-section .cta-primary {
    background: var(--gradient-accent) !important;
    color: var(--white) !important;
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.3) !important;
}

.fundesead-hero-section .cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(255, 140, 0, 0.4) !important;
    color: var(--white) !important;
}

.fundesead-hero-section .cta-primary i,
.fundesead-hero-section .cta-primary svg {
    font-size: 16px !important;
    width: 16px !important;
    height: 16px !important;
}

.fundesead-hero-section .cta-secondary {
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--white) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(10px);
}

.fundesead-hero-section .cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-2px);
    color: var(--white) !important;
}

.fundesead-hero-section .cta-secondary i,
.fundesead-hero-section .cta-secondary svg {
    font-size: 16px !important;
    width: 16px !important;
    height: 16px !important;
}

/* Hero Visual - Stats Cards */
.fundesead-hero-section .hero-visual {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 20px;
}

.fundesead-hero-section .stats-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fundesead-hero-section .stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
    animation: fadeInRight 0.8s ease-out calc(0.8s + var(--delay, 0s)) both;
    min-width: 250px;
}

.fundesead-hero-section .stat-card:nth-child(1) { --delay: 0s; }
.fundesead-hero-section .stat-card:nth-child(2) { --delay: 0.1s; }
.fundesead-hero-section .stat-card:nth-child(3) { --delay: 0.2s; }

.fundesead-hero-section .stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.fundesead-hero-section .stat-icon {
    width: 60px !important;
    height: 60px !important;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 24px !important;
    flex-shrink: 0;
}

.fundesead-hero-section .stat-icon i,
.fundesead-hero-section .stat-icon svg {
    font-size: 24px !important;
    width: 24px !important;
    height: 24px !important;
}

.fundesead-hero-section .stat-info {
    flex: 1;
}

.fundesead-hero-section .stat-number {
    display: block;
    font-size: 32px !important;
    font-weight: 800 !important;
    color: var(--white) !important;
    line-height: 1 !important;
    margin-bottom: 4px !important;
}

.fundesead-hero-section .stat-label {
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-container {
        max-width: 1000px;
        gap: 60px;
        padding: 0 32px;
    }
}

@media (max-width: 1024px) {
    .fundesead-hero-section .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 40px 24px;
        justify-items: center;
    }
    
    .fundesead-hero-section .hero-content {
        max-width: 100%;
        padding-right: 0;
    }
    
    .fundesead-hero-section .hero-visual {
        justify-content: center;
        padding-left: 0;
    }
    
    .fundesead-hero-section .hero-title {
        font-size: 48px !important;
    }
    
    .fundesead-hero-section .stats-cards {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .fundesead-hero-section .hero-container {
        padding: 40px 20px;
        min-height: 70vh;
    }
    
    .fundesead-hero-section .hero-title {
        font-size: 36px !important;
    }
    
    .fundesead-hero-section .hero-description {
        font-size: 16px !important;
    }
    
    .fundesead-hero-section .hero-actions {
        justify-content: center;
    }
    
    .fundesead-hero-section .cta-primary,
    .fundesead-hero-section .cta-secondary {
        padding: 14px 28px !important;
        font-size: 15px !important;
    }
    
    .fundesead-hero-section .stats-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .fundesead-hero-section .stat-card {
        max-width: 280px;
        width: 100%;
    }
    
    .fundesead-hero-section .shape-1,
    .fundesead-hero-section .shape-2,
    .fundesead-hero-section .shape-3 {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-description {
        font-size: 15px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-primary,
    .cta-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .shape,
    .hero-badge,
    .hero-title,
    .hero-description,
    .hero-actions,
    .stat-card {
        animation: none;
    }
    
    .cta-primary:hover,
    .cta-secondary:hover,
    .stat-card:hover {
        transform: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .fundesead-hero-section {
        background: #000000;
    }
    
    .hero-title,
    .hero-description,
    .stat-number,
    .stat-label {
        color: #ffffff;
    }
    
    .hero-title .highlight {
        color: #ffff00;
    }
    
    .stat-card,
    .hero-badge {
        background: rgba(255, 255, 255, 0.3);
        border: 2px solid #ffffff;
    }
}

/* Print Styles */
@media print {
    .fundesead-hero-section {
        background: none !important;
        color: #000000 !important;
        min-height: auto !important;
    }
    
    .hero-background,
    .hero-shapes {
        display: none !important;
    }
    
    .hero-title,
    .hero-description,
    .stat-number,
    .stat-label {
        color: #000000 !important;
    }
    
    .cta-primary,
    .cta-secondary {
        border: 2px solid #000000 !important;
        background: none !important;
        color: #000000 !important;
    }
}