/*
 * InternationalCIO - Pages Styles
 * Common styles for internal pages
 */

/* Page Hero Sections */
.page-hero {
    padding: 6rem 2rem 3rem;
    text-align: center;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    margin-top: -80px; /* Account for fixed header */
    padding-top: 140px; /* Extra space for fixed header */
}

.page-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.page-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: #8B7355;
    margin-bottom: 2rem;
    font-weight: 300;
}

.page-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Page Content Container */
.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Section Styles */
.page-section {
    margin-bottom: 4rem;
}

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

.section-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #8B7355;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

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

.feature-item {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.feature-description {
    color: #666;
    line-height: 1.7;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #8B7355 0%, #d97757 100%);
    color: white;
    padding: 4rem 2rem;
    border-radius: 16px;
    margin: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* List Styles */
.styled-list {
    list-style: none;
    padding: 0;
}

.styled-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: #555;
    line-height: 1.7;
}

.styled-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #8B7355;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Quote/Callout */
.callout {
    background: #f9f9f9;
    border-left: 4px solid #8B7355;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.callout-title {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.callout-text {
    color: #666;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 2rem 2rem 3rem;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    margin: 0;
    min-height: 17vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-section .container {
    max-width: 800px;
}

.cta-title {
    font-size: 2rem;
    color: #8B7355;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.cta-description {
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Image Containers */
.image-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e0e0e0;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.timeline-item:nth-child(odd) .timeline-content {
    grid-column: 1;
}

.timeline-item:nth-child(even) .timeline-content {
    grid-column: 2;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: #8B7355;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 2px #e0e0e0;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Tabs */
.tabs {
    display: flex;
    gap: 1rem;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 2rem;
}

.tab-button {
    padding: 1rem 2rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: #666;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button:hover {
    color: #333;
}

.tab-button.active {
    color: #8B7355;
    border-bottom-color: #8B7355;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Accordion */
.accordion-item {
    margin-bottom: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-header {
    padding: 1.5rem;
    background: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: #f9f9f9;
}

.accordion-title {
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-body {
    padding: 1.5rem;
    background: #fafafa;
    color: #666;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 768px) {
    .page-hero {
        padding-top: 180px; /* More space on mobile for stacked header */
    }

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

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        grid-column: 1;
        margin-left: 60px;
    }

    .timeline-dot {
        left: 20px;
    }

    .tabs {
        flex-wrap: wrap;
    }

    .tab-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* Print Styles */
@media print {
    .header-uipo,
    .cta-section {
        display: none;
    }

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

    body {
        padding-top: 0;
    }
}