/* Pages-specific CSS for auxiliary pages */

/* Page Header */
.page-header {
    background-color: #1a365d;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.header-content .logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-content .logo {
    width: 40px;
    height: 40px;
}

.header-content .brand-name {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: white;
}

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

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 10px;
}

.last-updated {
    font-size: 1rem;
    opacity: 0.7;
    font-style: italic;
}

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

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

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

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

.content-text h2 {
    color: #1a365d;
    margin-bottom: 30px;
}

.content-text p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.content-image .image-placeholder {
    height: 300px;
}

/* Image Styling for Pages */
.content-image img {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-image img:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.member-image img {
    transition: transform 0.3s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.02);
}

.section-title {
    text-align: center;
    color: #1a365d;
    margin-bottom: 50px;
}

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

.value-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.value-card:hover {
    transform: translateY(-2px);
}

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

.value-card h3 {
    color: #1a365d;
    margin-bottom: 16px;
}

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

.team-member {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.member-image .image-placeholder {
    height: 250px;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #e2e8f0;
}

.member-info {
    padding: 30px;
}

.member-info h3 {
    color: #1a365d;
    margin-bottom: 16px;
}

/* Commitment Section */
.commitment-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.commitment-content h2 {
    color: #1a365d;
    margin-bottom: 30px;
}

.commitment-content > p {
    font-size: 1.1rem;
    margin-bottom: 50px;
    line-height: 1.7;
}

.commitment-list {
    display: grid;
    gap: 30px;
    text-align: left;
}

.commitment-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.commitment-icon {
    width: 48px;
    height: 48px;
    margin-top: 4px;
}

.commitment-item h4 {
    color: #1a365d;
    margin-bottom: 12px;
}

/* Legal Content */
.legal-content {
    padding: 60px 0;
    background-color: #ffffff;
}

.legal-section {
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.legal-section h2 {
    color: #1a365d;
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #16a085;
}

.legal-section h3 {
    color: #2c5282;
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-section h4 {
    color: #1a365d;
    font-size: 1.1rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

.legal-section p {
    line-height: 1.7;
    margin-bottom: 16px;
}

.legal-section ul {
    margin: 16px 0;
    padding-left: 30px;
}

.legal-section li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.contact-info {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #16a085;
    margin-top: 20px;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info a {
    color: #16a085;
    text-decoration: none;
    font-weight: 500;
}

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

/* Responsive Design for Pages */
@media (max-width: 768px) {
    .content-image img {
        height: 250px;
        border-radius: 8px;
    }
    
    .member-image img {
        height: 200px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .header-nav {
        gap: 20px;
    }
    
    .page-hero h1 {
        font-size: 2.2rem;
    }
    
    .content-grid,
    .content-grid.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        direction: ltr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .commitment-item {
        flex-direction: column;
        text-align: center;
    }
    
    .commitment-icon {
        margin-top: 0;
    }
    
    .legal-section {
        padding: 0 20px;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .legal-section h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .header-nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .page-hero {
        padding: 60px 0;
    }
    
    .page-hero h1 {
        font-size: 1.8rem;
    }
    
    .content-section {
        padding: 60px 0;
    }
    
    .value-card,
    .commitment-item {
        padding: 30px 20px;
    }
}