/* Modern Header Styles - Shared CSS */
.modern-header-area {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    max-height: 416px;
    height: 416px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 20px 0;
}

/* Animated Background Elements */
.header-animations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 8s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.circle-1 {
    width: 100px;
    height: 100px;
    top: 15%;
    left: 8%;
    animation-delay: 0s;
    background: rgba(255, 255, 255, 0.15);
}

.circle-2 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 10%;
    animation-delay: 3s;
    background: rgba(255, 255, 255, 0.08);
}

.circle-3 {
    width: 80px;
    height: 80px;
    top: 25%;
    right: 25%;
    animation-delay: 6s;
    background: rgba(255, 255, 255, 0.12);
}

.floating-square {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    animation: rotate 10s linear infinite;
    backdrop-filter: blur(5px);
}

.square-1 {
    width: 50px;
    height: 50px;
    top: 70%;
    left: 15%;
    animation-delay: 2s;
    transform: rotate(45deg);
}

.square-2 {
    width: 70px;
    height: 70px;
    top: 20%;
    right: 35%;
    animation-delay: 5s;
    transform: rotate(45deg);
}

.floating-triangle {
    position: absolute;
    width: 0;
    height: 0;
    animation: float 7s ease-in-out infinite;
}

.triangle-1 {
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 50px solid rgba(255, 255, 255, 0.1);
    top: 60%;
    left: 30%;
    animation-delay: 4s;
}

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

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Header Content Styles */
.modern-header-content {
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.header-title {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #ffffff, #f8f9ff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-header-area {
        height: 200px;
        max-height: 200px;
        padding: 40px 0 10px 0;
    }
    
    .header-title {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .modern-header-area {
        height: 160px;
        max-height: 160px;
        padding: 35px 0 5px 0;
    }
    
    .header-title {
        font-size: 1.8rem;
        margin-bottom: 5px;
    }
}
