/* Auxiliary Pages Styles */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Color Variables */
:root {
    --navy: #1a2332;
    --ice-blue: #a8d4f0;
    --light-navy: #2c3e50;
    --dark-ice: #7db4e8;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --accent: #3498db;
}

/* Typography */
h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--navy);
}

h2 {
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    color: var(--navy);
}

h3 {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    color: var(--navy);
}

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

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

li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    color: var(--navy);
    text-decoration: underline;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

/* Icons */
.icon {
    width: 24px;
    height: 24px;
}

.icon.large {
    width: 48px;
    height: 48px;
}

/* Header */
.header {
    background-color: var(--navy);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.back-btn {
    background-color: var(--ice-blue);
    color: var(--navy);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background-color: var(--dark-ice);
    transform: translateY(-2px);
}

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

.page-hero {
    text-align: center;
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.content-section {
    padding: 4rem 0;
}

.content-section.alt-bg {
    background-color: var(--light-gray);
}

/* Section Grid Layout */
.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

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

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

.content-text {
    max-width: 600px;
}

.image-placeholder {
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.05) 0%, rgba(168, 212, 240, 0.05) 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(26, 35, 50, 0.1);
}

.content-section.alt-bg .image-placeholder {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(168, 212, 240, 0.1) 100%);
}

.content-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.content-image:hover {
    transform: scale(1.02);
}

/* Expertise Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.expertise-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(26, 35, 50, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expertise-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(26, 35, 50, 0.2);
}

.expertise-item .icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

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

.value-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(26, 35, 50, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(26, 35, 50, 0.18);
}

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

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

.contact-info {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

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

.contact-info a {
    font-weight: 600;
}

/* Cookie Table */
.cookie-table {
    margin: 2rem 0;
}

.cookie-table h3 {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.cookie-table p {
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 3px solid var(--ice-blue);
}

/* Footer */
.footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.footer-brand .brand-name {
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--ice-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-info {
    text-align: right;
}

.footer-info p {
    color: var(--ice-blue);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .page-hero {
        padding: 2rem 0;
    }

    .content-section {
        padding: 2rem 0;
    }

    .section-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-grid.reverse {
        direction: ltr;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-info {
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .expertise-item,
    .value-item {
        padding: 1.5rem;
    }

    .contact-info {
        padding: 1.5rem;
    }

    ul, ol {
        padding-left: 1.5rem;
    }
}