/* ============================================
   Common Hero Section Styles
   Used across all pages for consistency
   ============================================ */

:root {
    --hero-min-height: 50vh;
    --hero-padding-y: 2rem;
    --hero-gradient: linear-gradient(135deg, var(--haiti-blue) 0%, var(--haiti-blue-dark) 50%, var(--haiti-red) 100%);
}

/* Base Hero Section */
.hero-section,
.services-hero,
.about-hero,
.service-hero-section {
    position: relative;
    min-height: var(--hero-min-height);
    background: var(--hero-gradient);
    padding: var(--hero-padding-y) 0;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Hero Background Pattern */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(241, 181, 23, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(210, 16, 52, 0.1) 0%, transparent 50%);
    z-index: 1;
}

/* Hero Pattern Overlay */
.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(241, 181, 23, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 122, 61, 0.1) 0%, transparent 50%);
    z-index: 2;
}

/* Hero Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 25%, rgba(0, 0, 0, 0.1) 25%, rgba(0, 0, 0, 0.1) 50%, transparent 50%);
    background-size: 40px 40px;
    z-index: 3;
}

/* Hero Content Container */
.hero-content {
    position: relative;
    z-index: 10;
}

/* Hero Spacing Classes */
.min-vh-50 {
    min-height: auto !important;
    padding: 1rem 0;
}

.min-vh-60 {
    min-height: auto !important;
    padding: 1.5rem 0;
}

/* Modern Breadcrumb Styles */
.breadcrumb,
.modern-breadcrumb,
.about-breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
    font-size: 0.95rem;
}

/* Breadcrumb items */
.breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--haiti-yellow);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--haiti-yellow);
    font-weight: 600;
}

/* Breadcrumb separator */
.breadcrumb-item + .breadcrumb-item::before,
.modern-breadcrumb .breadcrumb-item + .breadcrumb-item::before,
.about-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "→";
    color: var(--haiti-yellow);
    font-weight: bold;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

/* Alternative breadcrumb styles for specific pages */
.breadcrumb-light {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.breadcrumb-dark {
    background: rgba(0, 0, 0, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

/* Text Utilities */
.text-white-75 {
    color: rgba(255, 255, 255, 0.9) !important;
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Hero Buttons */
.btn-haiti-yellow {
    background: var(--haiti-yellow);
    border: var(--haiti-yellow);
    color: var(--haiti-blue);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-haiti-yellow:hover {
    background: var(--haiti-yellow-dark, #d9a914);
    border: var(--haiti-yellow-dark, #d9a914);
    color: var(--haiti-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(241, 181, 23, 0.3);
}

/* Floating Icons Animation */
@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(5deg); 
    }
}

/* Hero Visual Elements */
.hero-icon-container,
.hero-visual-element {
    position: relative;
    height: 300px;
}

.floating-icon,
.float-indicator {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    animation: float 6s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.floating-icon:nth-child(1),
.float-indicator.indicator-1 {
    top: 20%;
    right: 20%;
}

.floating-icon:nth-child(2),
.float-indicator.indicator-2 {
    top: 60%;
    right: 60%;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    animation-delay: -2s;
}

.floating-icon:nth-child(3),
.float-indicator.indicator-3 {
    top: 10%;
    right: 70%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    animation-delay: -4s;
}

/* Large Floating Icon */
.floating-icon-large {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    animation: float 8s ease-in-out infinite;
    border: 3px solid rgba(255, 255, 255, 0.2);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Main Service Icon */
.main-service-icon {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(20px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--haiti-yellow);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    margin: 0 auto;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.stat-item i {
    font-size: 1.25rem;
}

/* Service Badge */
.service-badge {
    display: inline-block;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    :root {
        --hero-min-height: 40vh;
        --hero-padding-y: 1.5rem;
    }
    
    .hero-section,
    .services-hero,
    .about-hero,
    .service-hero-section {
        min-height: 40vh;
    }
    
    .display-3 {
        font-size: 2rem !important;
    }
    
    .display-4 {
        font-size: 1.75rem !important;
    }
    
    .hero-icon-container,
    .hero-visual-element {
        height: 200px;
        margin-top: 2rem;
    }
    
    .floating-icon-large,
    .main-service-icon {
        width: 120px;
        height: 120px;
        font-size: 3rem;
    }
    
    .floating-icon,
    .float-indicator {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero-section,
    .services-hero,
    .about-hero,
    .service-hero-section {
        min-height: 35vh;
        padding: 1rem 0;
    }
    
    .display-3 {
        font-size: 1.75rem !important;
    }
    
    .display-4 {
        font-size: 1.5rem !important;
    }
    
    .hero-icon-container,
    .hero-visual-element {
        display: none; /* Hide on mobile for better space usage */
    }
}