/*--------------------------------------------------------------
# Modern Page Header Styles
# This file uses .page-header-modern class to avoid conflicts
# with existing .page-header styles
--------------------------------------------------------------*/

/* Modern Page Header */
/* Note: Uses .page-header-modern class to avoid conflicts with existing .page-header styles */
/* Theme colors: Primary #0d6efd, Dark #003b4f */
.page-header-modern {
    position: relative !important;
    min-height: 400px;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed;
    overflow: hidden;
    /* Default blue background to override any brown tones - use !important to override */
    background-color: #0d6efd !important;
    /* Remove any black overlays from old CSS */
    background-blend-mode: normal !important;
}

/* Ensure no black overlay from old page-header styles */
.page-header-modern::before {
    display: none !important;
    content: none !important;
}

/* Overlay Gradients */
.page-header-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 1 !important;
    /* Very strong blue overlay to completely cover any brown background */
    /* Using maximum opacity to ensure brown is completely hidden */
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.98) 0%, rgba(0, 59, 79, 0.98) 100%) !important;
    /* Ensure it's visible */
    opacity: 1 !important;
}

.gradient-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
}

.gradient-overlay-1 {
    /* Match website theme: #0d6efd to #003b4f - Maximum opacity to completely override brown */
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.98) 0%, rgba(0, 59, 79, 0.98) 100%) !important;
    animation: gradientShift 8s ease-in-out infinite;
    opacity: 1 !important;
}

.gradient-overlay-2 {
    /* Reverse gradient for animation effect - Strong blue tones */
    background: linear-gradient(225deg, rgba(0, 59, 79, 0.9) 0%, rgba(13, 110, 253, 0.9) 100%);
    opacity: 0;
    animation: gradientShift2 10s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { 
        opacity: 1; 
    }
    50% { 
        opacity: 0.8; 
    }
}

@keyframes gradientShift2 {
    0%, 100% { 
        opacity: 0; 
    }
    50% { 
        opacity: 0.6; 
    }
}

/* Animated Shapes */
.page-header-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    pointer-events: none;
}

.shape {
    position: absolute;
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

.shape-circle {
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.shape-square {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 15%;
    animation-delay: 4s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 30%;
    right: 20%;
    animation-delay: 1s;
}

.shape-5 {
    width: 80px;
    height: 80px;
    bottom: 40%;
    right: 5%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) rotate(120deg);
    }
    66% {
        transform: translateY(30px) rotate(240deg);
    }
}

/* Floating Particles */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: floatParticle var(--duration, 20s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

/* Breadcrumb */
.breadcrumb-modern {
    z-index: 10;
}

.breadcrumb {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.2)) !important;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    margin: 0;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 255, 255, 0.2);
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-link {
    color: #ffffff !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    font-size: 1rem;
}

.breadcrumb-link:hover {
    color: #ffffff !important;
    transform: translateX(2px);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.breadcrumb-item + .breadcrumb-item::before {
    display: none !important;
}

.breadcrumb-separator {
    display: inline-flex;
    align-items: center;
    padding: 0 0.75rem;
    color: #ffffff !important;
    font-size: 0.9rem;
    opacity: 1 !important;
}

.breadcrumb-separator i {
    color: #ffffff !important;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6), 0 0 12px rgba(255, 255, 255, 0.6);
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.8));
}

.breadcrumb-text {
    color: #ffffff !important;
    text-transform: capitalize;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.breadcrumb-item.active .breadcrumb-text {
    color: #ffffff !important;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6), 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Page Header Content */
.page-header-content {
    position: relative;
    z-index: 10;
    animation: fadeInUp 0.8s ease-out;
}

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

/* Icon */
.page-header-icon {
    display: inline-block;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.3), rgba(0, 102, 204, 0.3));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(13, 110, 253, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: iconPulse 2s ease-in-out infinite;
}

.page-header-icon i {
    font-size: 3rem;
    color: #fff;
    text-shadow: 0 0 20px rgba(13, 110, 253, 0.6);
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.6);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(13, 110, 253, 0);
    }
}

/* Title */
.page-title-modern {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
}

.title-text {
    display: block;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-underline {
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.8), rgba(255, 255, 255, 0.9), rgba(13, 110, 253, 0.8), transparent);
    margin: 1rem auto 0;
    border-radius: 2px;
    animation: expandLine 1s ease-out 0.5s both;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.4);
}

@keyframes expandLine {
    from {
        width: 0;
    }
    to {
        width: 100px;
    }
}

/* Subtitle */
.page-subtitle-modern {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Wave */
.page-header-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    pointer-events: none;
}

.wave-svg {
    width: 100%;
    height: 120px;
    display: block;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.3), rgba(0, 102, 204, 0.3));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(13, 110, 253, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-arrow:hover {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.5), rgba(0, 102, 204, 0.5));
    border-color: rgba(13, 110, 253, 0.8);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(13, 110, 253, 0.4);
}

.scroll-arrow i {
    color: #fff;
    font-size: 1.2rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .page-header-modern {
        min-height: 300px;
        padding: 100px 0 60px;
        background-attachment: scroll;
    }
    
    .page-title-modern {
        font-size: 2.5rem;
    }
    
    .page-subtitle-modern {
        font-size: 1.1rem;
    }
    
    .page-header-icon {
        width: 80px;
        height: 80px;
    }
    
    .page-header-icon i {
        font-size: 2.5rem;
    }
    
    .breadcrumb {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .shape {
        opacity: 0.05;
    }
    
    .wave-svg {
        height: 80px;
    }
}

@media (max-width: 576px) {
    .page-header-modern {
        min-height: 250px;
        padding: 80px 0 50px;
    }
    
    .page-title-modern {
        font-size: 2rem;
    }
    
    .page-subtitle-modern {
        font-size: 1rem;
    }
    
    .breadcrumb {
        flex-wrap: wrap;
        padding: 0.5rem;
    }
}

/*--------------------------------------------------------------
# End
--------------------------------------------------------------*/

