/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    padding: 60px 0;
    text-align: center;
    color: white;
}

.page-header h1 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* About Page Styles */
.about-content {
    padding: 80px 0;
}

.about-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 80px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 
        10px 10px 20px var(--shadow-dark),
        -10px -10px 20px var(--shadow-light);
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    margin-bottom: 25px;
}

.about-text p {
    margin-bottom: 20px;
}

.mission-values {
    margin-bottom: 80px;
}

.mission-values h2 {
    text-align: center;
    margin-bottom: 50px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 
        8px 8px 16px var(--shadow-dark),
        -8px -8px 16px var(--shadow-light);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    width: 70px;
    height: 70px;
    background-color: var(--background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 1.8rem;
    box-shadow: 
        5px 5px 10px var(--shadow-dark),
        -5px -5px 10px var(--shadow-light);
}

.team-section h2 {
    text-align: center;
    margin-bottom: 20px;
}

.team-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.team-member {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 
        8px 8px 16px var(--shadow-dark),
        -8px -8px 16px var(--shadow-light);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    padding: 20px 20px 5px;
    margin-bottom: 5px;
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    padding: 0 20px;
    margin-bottom: 10px;
}

.team-member p {
    padding: 0 20px 20px;
}

/* Contact Page Styles */
.contact-content {
    padding: 80px 0;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-form-container {
    flex: 1;
    min-width: 300px;
}

.contact-form-container h2 {
    margin-bottom: 30px;
}

.contact-form {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 
        10px 10px 20px var(--shadow-dark),
        -10px -10px 20px var(--shadow-light);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: none;
    background-color: var(--background);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    box-shadow: 
        inset 3px 3px 5px var(--shadow-dark),
        inset -3px -3px 5px var(--shadow-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 
        inset 5px 5px 8px var(--shadow-dark),
        inset -5px -5px 8px var(--shadow-light);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    border: none;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 
        5px 5px 10px var(--shadow-dark),
        -5px -5px 10px var(--shadow-light);
}

.submit-btn i {
    margin-right: 10px;
}

.submit-btn:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 
        7px 7px 14px var(--shadow-dark),
        -7px -7px 14px var(--shadow-light);
}

.submit-btn:active {
    transform: translateY(1px);
    box-shadow: 
        3px 3px 6px var(--shadow-dark),
        -3px -3px 6px var(--shadow-light);
}

.form-status {
    margin-top: 20px;
    text-align: center;
}

.form-status .loading {
    color: var(--primary-color);
    font-weight: 500;
}

.form-status .success {
    color: var(--success);
    font-weight: 500;
}

.form-status .error {
    color: var(--error);
    font-weight: 500;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h2 {
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-icon {
    width: 60px;
    height: 60px;
    background-color: var(--background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--primary-color);
    font-size: 1.5rem;
    box-shadow: 
        5px 5px 10px var(--shadow-dark),
        -5px -5px 10px var(--shadow-light);
}

.info-content h3 {
    margin-bottom: 5px;
}

.info-content p {
    margin-bottom: 5px;
    color: var(--text-light);
}

.social-links {
    margin-top: 40px;
}

.social-links h3 {
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 50px;
    height: 50px;
    background-color: var(--background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition);
    box-shadow: 
        5px 5px 10px var(--shadow-dark),
        -5px -5px 10px var(--shadow-light);
}

.social-icon:hover {
    transform: translateY(-5px);
    color: var(--primary-light);
}

.faq-section {
    padding: 80px 0;
    background-color: var(--background);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 50px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.faq-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 
        8px 8px 16px var(--shadow-dark),
        -8px -8px 16px var(--shadow-light);
}

.faq-item h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Legal Pages Styles */
.legal-content {
    padding: 60px 0;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.legal-section p {
    margin-bottom: 15px;
}

.legal-section ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.legal-section ul li {
    margin-bottom: 10px;
    list-style-type: disc;
}

.legal-section ul ul {
    margin-top: 10px;
}

/* Responsive Adjustments for New Sections */
@media (max-width: 992px) {
    .about-grid,
    .contact-grid {
        flex-direction: column;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .info-item {
        flex-direction: column;
    }
    
    .info-icon {
        margin-bottom: 15px;
        margin-right: 0;
    }
}

@media (max-width: 576px) {
    .contact-form {
        padding: 30px 20px;
    }
    
    .team-member {
        max-width: 320px;
        margin: 0 auto;
    }
}