/* Pages Common Styles */

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

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.section-title p {
    font-size: 1.1rem;
    color: #7f8c8d;
}

/* About Page Styles */
.about-section {
    background-color: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about-text p {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 10px;
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.feature-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Team Section */
.team-section {
    text-align: center;
}

.team-section h3 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.team-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.team-member {
    text-align: center;
    max-width: 200px;
}

.member-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h4 {
    color: #2c3e50;
    margin-bottom: 0.3rem;
}

.team-member p {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Contact Page Styles */
.contact-section {
    background-color: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.contact-details p {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.email-link {
    display: inline-block;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

.contact-info-text h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-info-text p {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.contact-image {
    flex: 1;
    min-width: 300px;
}

.contact-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.faq-section {
    margin-top: 3rem;
}

.faq-section h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 10px;
}

.faq-item h4 {
    color: #2c3e50;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: #555;
    line-height: 1.7;
}

/* Terms & Privacy Pages Styles */
.terms-section,
.privacy-section {
    background-color: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.terms-intro,
.privacy-intro {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 10px;
}

.terms-intro p,
.privacy-intro p {
    color: #555;
    line-height: 1.7;
}

.terms-body {
    margin-bottom: 2rem;
}

.terms-item,
.privacy-section-content {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #ecf0f1;
}

.terms-item:last-child,
.privacy-section-content:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.terms-item h3,
.privacy-section-content h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.terms-item p,
.privacy-section-content p {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.terms-item ul,
.privacy-section-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.terms-item li,
.privacy-section-content li {
    color: #555;
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* Data Collection Table */
.data-collection-table {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.data-collection-table table {
    width: 100%;
    border-collapse: collapse;
}

.data-collection-table th,
.data-collection-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ecf0f1;
}

.data-collection-table th {
    background-color: #f8f9fa;
    color: #2c3e50;
    font-weight: 600;
}

.data-collection-table td {
    color: #555;
}

.data-collection-table tr:hover {
    background-color: #f9f9f9;
}

/* Third-Party Services */
.third-party-services {
    margin: 1.5rem 0;
}

.third-party-service {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 10px;
}

.third-party-service h4 {
    color: #2c3e50;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.third-party-service p {
    color: #555;
    line-height: 1.7;
}

.third-party-service a {
    color: #3498db;
    text-decoration: none;
}

.third-party-service a:hover {
    text-decoration: underline;
}

/* CCPA Rights */
.ccpa-rights {
    margin: 1.5rem 0;
}

.ccpa-right {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 10px;
}

.ccpa-right h4 {
    color: #2c3e50;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.ccpa-right p {
    color: #555;
    line-height: 1.7;
}

/* Terms Contact */
.terms-contact h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.terms-contact p {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .page-container {
        margin: 6rem auto 2rem;
        padding: 0 1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .about-section,
    .contact-section,
    .terms-section,
    .privacy-section {
        padding: 2rem;
    }
    
    .about-content,
    .contact-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .team-members {
        flex-direction: column;
        align-items: center;
    }
    
    .data-collection-table th,
    .data-collection-table td {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .about-section,
    .contact-section,
    .terms-section,
    .privacy-section {
        padding: 1.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .data-collection-table {
        font-size: 0.8rem;
    }
}