/* Auxiliary Pages Styles */

/* Page Hero Section */
.page-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 60px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    margin: 0;
}

/* Content Sections */
.content-section {
    padding: 60px 0;
}

.content-section.alt-bg {
    background-color: #f8fafc;
}

.content-section.cta-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    text-align: center;
}

.content-section.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.content-section.cta-section p {
    color: #cbd5e1;
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

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

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

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

.content-text p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1rem;
}

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

.content-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    text-align: center;
}

.value-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    display: block;
}

.value-card h3 {
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.value-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Leadership Grid */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.leader-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    text-align: center;
}

.leader-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 3px solid #e2e8f0;
}

/* Cookie Banner for Auxiliary Pages */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(30, 41, 59, 0.98);
    backdrop-filter: blur(10px);
    color: white;
    padding: 20px;
    z-index: 1000;
    border-top: 1px solid #475569;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-text a {
    color: #93c5fd;
    text-decoration: underline;
}

.cookie-text a:hover {
    color: #dbeafe;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-btn.accept {
    background-color: #1e3a8a;
    color: white;
}

.cookie-btn.accept:hover {
    background-color: #1e40af;
}

.cookie-btn.reject {
    background-color: transparent;
    color: #cbd5e1;
    border: 1px solid #475569;
}

.cookie-btn.reject:hover {
    background-color: #374151;
    color: white;
}

.cookie-btn.customize {
    background-color: transparent;
    color: #93c5fd;
    border: 1px solid #475569;
}

.cookie-btn.customize:hover {
    background-color: #1e3a8a;
    color: white;
}

/* Cookie Customization Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal h3 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.cookie-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.cookie-category h4 {
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cookie-category p {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.4;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.3s;
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-slider {
    background-color: #1e3a8a;
}

.cookie-toggle input:checked + .cookie-slider:before {
    transform: translateX(20px);
}

.cookie-toggle.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.cookie-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.cookie-modal-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-modal-btn.save {
    background-color: #1e3a8a;
    color: white;
}

.cookie-modal-btn.save:hover {
    background-color: #1e40af;
}

.cookie-modal-btn.cancel {
    background-color: #f1f5f9;
    color: #475569;
}

.cookie-modal-btn.cancel:hover {
    background-color: #e2e8f0;
}

/* Responsive Design for Cookie Banner */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cookie-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cookie-modal-content {
        margin: 10px;
        padding: 1.5rem;
    }
    
    .cookie-modal-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .cookie-btn {
        padding: 10px 14px;
        font-size: 0.8rem;
    }
    
    .cookie-modal-content {
        padding: 1rem;
    }
}
}

.leader-card h3 {
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.leader-title {
    color: #1e3a8a;
    font-weight: 600;
    margin-bottom: 1rem;
}

.leader-card p:not(.leader-title) {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Legal Content */
.legal-content {
    padding: 40px 0 80px;
    background-color: white;
}

.legal-document {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: #1e293b;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.legal-section h3 {
    color: #374151;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.legal-section p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-section li {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.legal-section strong {
    color: #1e293b;
    font-weight: 600;
}

.contact-info {
    background-color: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #1e3a8a;
}

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

.contact-info a {
    color: #1e3a8a;
    text-decoration: none;
}

.contact-info a:hover {
    color: #1e40af;
    text-decoration: underline;
}

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

.logo-section a:hover .brand-name {
    color: #1e3a8a;
}

/* Responsive Design for Auxiliary Pages */
@media (max-width: 768px) {
    .page-hero {
        padding: 40px 0;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 40px 0;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-grid.reverse {
        direction: ltr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .leadership-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .cta-button {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .legal-document {
        padding: 0 1rem;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .legal-section h3 {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 1.75rem;
    }
    
    .content-section {
        padding: 30px 0;
    }
    
    .value-card,
    .leader-card {
        padding: 1.5rem;
    }
    
    .leader-image-placeholder {
        width: 120px;
        height: 120px;
    }
    
    .content-image {
        height: 200px;
        max-height: 250px;
    }
}