/* Auxiliary Pages Styles */
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #ffffff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1a202c;
    position: relative;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #10b981);
    border-radius: 2px;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #1a202c;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #2d3748;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #4a5568;
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

li {
    margin-bottom: 0.5rem;
    color: #4a5568;
}

a {
    color: #2563eb;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 20px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 40px;
    height: 40px;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
}

.back-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border: 1px solid #2563eb;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background-color: #2563eb;
    color: white;
    text-decoration: none;
}

/* Main Content */
.main-content {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
    position: relative;
}

.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.content-section {
    margin-bottom: 40px;
}

.content-section:last-child {
    margin-bottom: 0;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e2e8f0;
}

.page-subtitle {
    font-size: 1.125rem;
    color: #4a5568;
    margin-top: 10px;
}

/* Content Blocks */
.content-block {
    background-color: #f8fafc;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.content-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #10b981);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.content-block:hover::before {
    transform: scaleX(1);
}

.content-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

.content-block h3 {
    color: #2563eb;
    margin-bottom: 15px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background-color: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
    display: block;
}

.stat-label {
    font-size: 0.875rem;
    color: #718096;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.team-member {
    text-align: center;
    padding: 30px 20px;
    background-color: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #10b981);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.team-member:hover::before {
    transform: scaleX(1);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

.member-photo {
    width: 120px;
    height: 120px;
    background-color: #e2e8f0;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #718096;
    font-size: 0.875rem;
}

.member-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 5px;
}

.member-role {
    font-size: 1rem;
    color: #2563eb;
    font-weight: 500;
    margin-bottom: 10px;
}

.member-bio {
    font-size: 0.875rem;
    color: #4a5568;
    line-height: 1.5;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.value-item {
    padding: 30px;
    background-color: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #10b981);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.value-item:hover::before {
    transform: scaleX(1);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

.value-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
}

.value-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 10px;
}

.value-description {
    color: #4a5568;
    line-height: 1.6;
}

/* Legal Content Styles */
.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    color: #2563eb;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.legal-subsection {
    margin-bottom: 25px;
}

.legal-subsection h3 {
    color: #2d3748;
    margin-bottom: 10px;
}

.legal-list {
    margin-left: 20px;
}

.legal-list li {
    margin-bottom: 8px;
}

/* Contact Info */
.contact-info {
    background-color: #f8fafc;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #10b981);
}

.contact-info h3 {
    color: #2563eb;
    margin-bottom: 20px;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-icon {
    width: 20px;
    height: 20px;
}

.contact-item a {
    color: #2563eb;
    font-weight: 600;
}

/* Footer */
.footer {
    background-color: #1a202c;
    color: #a0aec0;
    padding: 40px 0 30px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    width: 32px;
    height: 32px;
}

.footer-brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
}

.footer-brand p {
    font-size: 1rem;
    margin-bottom: 0;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-column h4 {
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-column ul {
    list-style: none;
    padding-left: 0;
}

.footer-column li {
    margin-bottom: 8px;
}

.footer-column a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 0.925rem;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid #2d3748;
    font-size: 0.875rem;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact a {
    color: #a0aec0;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #ffffff;
}

.footer-contact address {
    font-style: normal;
}

/* Cookie Banner */
.cookie-banner,
#cookie-banner-about {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 1000;
    display: block;
}

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

.cookie-banner-text {
    flex: 1;
    font-size: 0.875rem;
    color: #4a5568;
    line-height: 1.5;
}

.cookie-banner-text a {
    color: #2563eb;
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.cookie-btn-accept {
    background-color: #2563eb;
    color: white;
    border-color: #2563eb;
}

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

.cookie-btn-reject {
    background-color: transparent;
    color: #4a5568;
    border-color: #d1d5db;
}

.cookie-btn-reject:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
}

.cookie-btn-customize {
    background-color: transparent;
    color: #2563eb;
    border-color: #2563eb;
}

.cookie-btn-customize:hover {
    background-color: #eff6ff;
    border-color: #1d4ed8;
}

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

.cookie-modal-content {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 32px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal-header {
    margin-bottom: 24px;
}

.cookie-modal-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 8px;
}

.cookie-modal-header p {
    color: #4a5568;
    font-size: 0.875rem;
    margin-bottom: 0;
}

.cookie-category {
    margin-bottom: 24px;
    padding: 20px;
    background-color: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.cookie-category-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a202c;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    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: #d1d5db;
    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: #2563eb;
}

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

.cookie-toggle input:disabled + .cookie-slider {
    background-color: #9ca3af;
    cursor: not-allowed;
}

.cookie-category-description {
    color: #4a5568;
    font-size: 0.875rem;
    line-height: 1.5;
}

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

/* Pure CSS Cookie Banner Logic for About Page */
#cookie-banner-about {
    display: block;
}

/* Hide banner when any choice is made */
#accept-cookies-about:checked ~ #cookie-banner-about,
#reject-cookies-about:checked ~ #cookie-banner-about,
#customize-cookies-about:checked ~ #cookie-banner-about {
    display: none;
}

/* Show modal when customize is checked */
#customize-cookies-about:checked ~ #cookie-modal-about {
    display: flex;
}

/* Hide modal when preferences are saved */
#save-preferences-about:checked ~ #cookie-modal-about,
#modal-reject-about:checked ~ #cookie-modal-about {
    display: none;
}

/* Hide the actual radio buttons */
#accept-cookies-about,
#reject-cookies-about,
#customize-cookies-about,
#save-preferences-about,
#modal-reject-about {
    display: none;
}

/* Cookie toggle styling */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.cookie-toggle input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #d1d5db;
    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: #2563eb;
}

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

.cookie-toggle input:disabled + .cookie-slider {
    background-color: #9ca3af;
    cursor: not-allowed;
}

.modern-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modern-image:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background-color: #f8fafc;
    margin: 20px 0;
}

.about-hero-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

.team-office-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .main-content {
        padding: 40px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .cookie-banner-actions {
        justify-content: center;
    }
    
    .cookie-modal-content {
        padding: 24px;
        margin: 10px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }
    
    .main-content {
        padding: 30px 0;
    }
    
    .content-block {
        padding: 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
    }
    
    .cookie-banner-actions {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
}