/* Auxiliary Pages Styles */

/* Content Layout Improvements */
.mission-content,
.story-content,
.innovation-content,
.commitment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 32px;
}

.story-content,
.commitment-content {
    grid-template-columns: 300px 1fr;
}

.mission-content,
.innovation-content {
    grid-template-columns: 1fr 300px;
}

.mission-text,
.story-text,
.innovation-text,
.commitment-text {
    line-height: 1.7;
}

.mission-image,
.story-image,
.innovation-image,
.commitment-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mission-image img,
.story-image img,
.innovation-image img,
.commitment-image img {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.mission-image img:hover,
.story-image img:hover,
.innovation-image img:hover,
.commitment-image img:hover {
    transform: translateY(-4px);
}

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

.page-hero h1 {
    font-size: 3rem;
    background: linear-gradient(135deg, #2EE6D6, #FF7A1A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #E8D9C4;
    opacity: 0.8;
    margin: 0;
}

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

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

.content-block {
    max-width: 800px;
    margin: 0 auto;
}

.content-block h2 {
    color: #2EE6D6;
    font-size: 2rem;
    margin-bottom: 24px;
}

.content-block h3 {
    color: #E8D9C4;
    font-size: 1.5rem;
    margin-bottom: 16px;
    margin-top: 32px;
}

.content-block p {
    color: #E8D9C4;
    line-height: 1.7;
    margin-bottom: 20px;
    opacity: 0.9;
}

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

.value-item {
    text-align: center;
    padding: 24px;
    background-color: #343A40;
    border-radius: 12px;
    border: 1px solid rgba(46, 230, 214, 0.1);
}

.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(46, 230, 214, 0.1), rgba(255, 122, 26, 0.1));
    border-radius: 12px;
    margin-bottom: 20px;
}

.value-item h3 {
    color: #2EE6D6;
    margin-bottom: 12px;
    margin-top: 0;
}

.value-item p {
    margin: 0;
    font-size: 0.95rem;
}

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

.team-member {
    text-align: center;
    padding: 32px;
    background-color: #343A40;
    border-radius: 12px;
    border: 1px solid rgba(46, 230, 214, 0.1);
}

.member-photo {
    display: flex;
    justify-content: center;
    margin: 0 auto 20px;
}

.team-member h4 {
    color: #E8D9C4;
    margin-bottom: 8px;
}

.member-title {
    color: #2EE6D6;
    font-weight: 500;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.team-member p:last-child {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

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

.legal-section {
    margin-bottom: 48px;
}

.legal-section h2 {
    color: #2EE6D6;
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(46, 230, 214, 0.2);
    padding-bottom: 8px;
}

.legal-section h3 {
    color: #FF7A1A;
    font-size: 1.3rem;
    margin-bottom: 12px;
    margin-top: 24px;
}

.legal-section p {
    color: #E8D9C4;
    line-height: 1.7;
    margin-bottom: 16px;
    opacity: 0.9;
}

.legal-section ul {
    color: #E8D9C4;
    margin-bottom: 20px;
    padding-left: 24px;
}

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

.contact-info {
    background-color: #343A40;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(46, 230, 214, 0.1);
    margin-top: 20px;
}

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

.contact-info p:last-child {
    margin-bottom: 0;
}

/* Footer Updates */
.footer-bottom {
    border-top: 1px solid rgba(46, 230, 214, 0.1);
    padding-top: 20px;
}

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal p {
    opacity: 0.5;
    margin: 0;
}

.legal-links {
    display: flex;
    gap: 24px;
}

.legal-links a {
    color: #E8D9C4;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    font-size: 0.9rem;
}

.legal-links a:hover {
    opacity: 1;
    color: #2EE6D6;
}

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

.header .logo-container a:hover .brand-name {
    color: #2EE6D6;
    transition: color 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-hero {
        padding: 100px 0 50px;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .content-section {
        padding: 40px 0;
    }
    
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-content,
    .story-content,
    .innovation-content,
    .commitment-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .story-image,
    .commitment-image {
        order: -1;
    }
    
    .legal-section {
        margin-bottom: 36px;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .footer-legal {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 12px;
    }
    
    .team-member,
    .value-item {
        padding: 20px;
    }
    
    .member-photo-placeholder {
        width: 100px;
        height: 100px;
    }
    
    .mission-image img,
    .story-image img,
    .innovation-image img,
    .commitment-image img {
        height: 200px;
    }
}