/* Page Hero Section */
.page-hero-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 4rem 0;
}

.hero-breadcrumb .breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.hero-breadcrumb .breadcrumb-item a:hover {
    color: white;
}

.hero-breadcrumb .breadcrumb-item.active {
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.hero-meta {
    margin-top: 2rem;
}

.last-updated {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    display: inline-block;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Page Content Section */
.page-content-section {
    padding: 5rem 0;
    background: #f8f9fa;
    position: relative;
}

.page-content-wrapper {
    position: relative;
}

.page-content {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 4rem;
    line-height: 1.8;
    color: #333;
    position: relative;
    overflow: hidden;
    /* Content is visible by default - JavaScript will handle animation */
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.page-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc3545, #667eea, #764ba2);
}

/* Enhanced Content Typography */
.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
    color: #1d1d1f;
    font-weight: 600;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.022em;
    position: relative;
}

.page-content h1 {
    font-size: 2.8rem;
    border-bottom: 3px solid #dc3545;
    padding-bottom: 1rem;
    margin-top: 0;
    background: linear-gradient(135deg, #dc3545, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-content h2 {
    font-size: 2.2rem;
    color: #dc3545;
    position: relative;
    padding-left: 1rem;
}

.page-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: linear-gradient(135deg, #dc3545, #667eea);
    border-radius: 2px;
}

.page-content h3 {
    font-size: 1.8rem;
    color: #333;
    border-left: 4px solid #dc3545;
    background: rgba(220, 53, 69, 0.05);
    padding: 1rem;
    border-radius: 0 8px 8px 0;
}

.page-content h4 {
    font-size: 1.4rem;
    color: #555;
}

.page-content h5 {
    font-size: 1.2rem;
    color: #666;
}

.page-content h6 {
    font-size: 1.1rem;
    color: #777;
}

.page-content p {
    margin-bottom: 1.8rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.page-content ul,
.page-content ol {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.page-content li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
    position: relative;
}

.page-content ul li::marker {
    color: #dc3545;
}

.page-content ol li::marker {
    color: #dc3545;
    font-weight: 600;
}

.page-content strong {
    font-weight: 600;
    color: #1d1d1f;
    background: rgba(220, 53, 69, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

.page-content em {
    font-style: italic;
    color: #666;
    background: rgba(102, 126, 234, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

.page-content blockquote {
    border-left: 4px solid #dc3545;
    margin: 2.5rem 0;
    font-style: italic;
    color: #555;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.page-content blockquote::before {
    content: '"';
    font-size: 4rem;
    color: #dc3545;
    position: absolute;
    top: -0.5rem;
    left: 1rem;
    opacity: 0.3;
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2.5rem 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.page-content th,
.page-content td {
    padding: 1.2rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.page-content th {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    font-weight: 600;
    color: #1d1d1f;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.page-content tr:hover {
    background: rgba(220, 53, 69, 0.05);
    transform: scale(1.01);
    transition: all 0.3s ease;
}

.page-content a {
    color: #dc3545;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
}

.page-content a:hover {
    color: #b02a37;
    border-bottom-color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    margin: 0 -0.4rem;
}

.page-content hr {
    border: none;
    height: 3px;
    background: linear-gradient(90deg, #dc3545, #667eea, #764ba2);
    margin: 4rem 0;
    border-radius: 2px;
    position: relative;
}

.page-content hr::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: #fff;
    border: 3px solid #dc3545;
    border-radius: 50%;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-hero-section {
        min-height: 50vh;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .page-hero-section {
        min-height: 45vh;
    }
    
    .hero-content {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .page-content-section {
        padding: 3rem 0;
    }
    
    .page-content {
        padding: 2.5rem 1.5rem;
        border-radius: 15px;
    }
    
    .page-content h1 {
        font-size: 2.2rem;
    }
    
    .page-content h2 {
        font-size: 1.8rem;
    }
    
    .page-content h3 {
        font-size: 1.5rem;
    }
    
    .page-content p {
        font-size: 1rem;
    }
    
    .page-content table {
        font-size: 0.9rem;
    }
    
    .page-content th,
    .page-content td {
        padding: 0.75rem 0.5rem;
    }
    
    .hero-breadcrumb .breadcrumb {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .page-hero-section {
        min-height: 40vh;
    }
    
    .hero-content {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .page-content-section {
        padding: 2rem 0;
    }
    
    .page-content {
        padding: 2rem 1rem;
        border-radius: 12px;
    }
    
    .page-content h1 {
        font-size: 1.8rem;
    }
    
    .page-content h2 {
        font-size: 1.5rem;
    }
    
    .page-content h3 {
        font-size: 1.3rem;
    }
    
    .page-content h4 {
        font-size: 1.2rem;
    }
    
    .page-content h5 {
        font-size: 1.1rem;
    }
    
    .page-content h6 {
        font-size: 1rem;
    }
    
    .hero-breadcrumb .breadcrumb {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .last-updated {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .scroll-arrow {
        width: 35px;
        height: 35px;
    }
    
    .scroll-arrow i {
        font-size: 1rem;
    }
}
