/* Auxiliary Pages Specific Styles */

/* Page Hero Section */
.page-hero {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-hero h1 {
    color: white;
    font-size: 3em;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2em;
    color: #cbd5e0;
    margin-bottom: 0;
}

/* Page Sections */
.page-section {
    padding: 4rem 0;
}

.page-section.alt-bg {
    background: #f7fafc;
}

/* Content Grid Layouts */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 2rem;
}

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

.content-text h2 {
    color: #1a365d;
    margin-bottom: 1.5rem;
}

.content-text p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.content-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    transition: none !important;
    animation: none !important;
}

.content-img:hover {
    transform: none !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1) !important;
}

.content-centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.large-text {
    font-size: 1.3em;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 2rem;
}

/* Feature Lists */
.feature-list {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}

.feature-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: #4a5568;
    border-bottom: 1px solid #e2e8f0;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #d69e2e;
    font-weight: bold;
    font-size: 1.2em;
}

/* Stats Row */
.stats-row {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5em;
    font-weight: 700;
    color: #d69e2e;
    line-height: 1;
}

.stat-label {
    font-size: 0.9em;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* Team Grid */
.section-title {
    text-align: center;
    color: #1a365d;
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.member-image {
    margin-bottom: 2rem;
}

.member-image .image-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    color: #718096;
    font-size: 0.9em;
}

.member-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: none !important;
    animation: none !important;
}

.member-img:hover {
    transform: none !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
}

.team-member h3 {
    color: #1a365d;
    margin-bottom: 0.5rem;
}

.member-role {
    color: #d69e2e;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1em;
}

/* Contact CTA */
.contact-cta {
    background: #f7fafc;
    padding: 3rem;
    border-radius: 12px;
    margin-top: 3rem;
    text-align: center;
}

.contact-cta p {
    font-size: 1.2em;
    color: #2d3748;
    margin-bottom: 2rem;
}

/* Legal Content */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-content h2 {
    color: #1a365d;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
}

.legal-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-content h3 {
    color: #2d3748;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content p {
    margin-bottom: 1.5rem;
    color: #4a5568;
}

.legal-content ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.75rem;
    color: #4a5568;
    line-height: 1.6;
}

.contact-info {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.contact-info p {
    margin-bottom: 0.75rem;
}

.contact-info a {
    color: #d69e2e;
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer Links */
.footer-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    font-size: 0.9em;
    transition: none !important;
}

.footer-links a:hover {
    color: #d69e2e;
}

/* Logo Container Link */
.logo-container a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
}

/* Responsive Design for Auxiliary Pages */
@media (max-width: 768px) {
    .page-hero {
        padding: 3rem 0;
    }
    
    .page-hero h1 {
        font-size: 2.5em;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-grid.reverse {
        direction: ltr;
    }
    
    .stats-row {
        justify-content: center;
        gap: 2rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .legal-content {
        padding: 0 1rem;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .contact-cta {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 2em;
    }
    
    .page-section {
        padding: 3rem 0;
    }
    
    .team-member {
        padding: 2rem;
    }
    
    .member-image .image-placeholder {
        width: 120px;
        height: 120px;
    }
    
    .member-img {
        width: 120px;
        height: 120px;
    }
    
    .content-img {
        height: 250px;
    }
    
    .hero-img, .about-img, .risk-img, .membership-img, .contact-img {
        height: 300px;
        transition: none !important;
        transition: none !important;
        animation: none !important;
    }
    
    .hero-img:hover, .about-img:hover, .risk-img:hover, .membership-img:hover, .contact-img:hover {
        transform: none !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
        animation: none !important;
    }
    
    .hero-img:hover, .about-img:hover, .risk-img:hover, .membership-img:hover, .contact-img:hover {
        transform: none !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
    }
    
    .stats-row {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}