/* About Us, Privacy Policy and Contact Us pages styles */

/* Page Header */
.page-header {
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.page-header h1 {
    position: relative;
    font-size: 2.5rem;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* About Page */
.about-section {
    padding: 60px 0;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: #333;
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #555;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.value-card {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
}

.value-card i {
    font-size: 2.5rem;
    color: #4a89dc;
    margin-bottom: 15px;
}

.value-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.value-card p {
    font-size: 0.95rem;
    color: #666;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 40px 0;
    background-color: #4a89dc;
    padding: 30px;
    border-radius: 8px;
    color: white;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
    padding: 15px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-text {
    font-size: 1rem;
    opacity: 0.9;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.team-member {
    text-align: center;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 20px;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #4a89dc;
}

.team-member h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #333;
}

.team-member .title {
    color: #4a89dc;
    font-weight: 600;
    margin-bottom: 10px;
}

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

.partners-section {
    padding: 40px 0;
    background-color: #f8f9fa;
    text-align: center;
    margin-top: 40px;
}

.partners-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.partners-logos img {
    height: 60px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.partners-logos img:hover {
    opacity: 1;
}

/* Privacy Policy Page */
.privacy-section {
    padding: 60px 0;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.last-updated {
    font-style: italic;
    color: #777;
    margin-bottom: 30px;
}

.policy-intro {
    margin-bottom: 30px;
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section h2 {
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.policy-section h3 {
    color: #444;
    margin: 25px 0 15px;
}

.policy-section p, .policy-section li {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.policy-section ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.policy-section li {
    margin-bottom: 10px;
}

.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    padding: 10px 0;
}

.contact-list i {
    margin-right: 10px;
    color: #4a89dc;
}

/* Contact Us Page */
.contact-section {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.contact-methods {
    margin: 30px 0;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #4a89dc;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.icon-circle i {
    color: white;
    font-size: 1.2rem;
}

.method-details h3 {
    margin: 0 0 5px;
    color: #333;
}

.method-details p {
    margin: 0 0 5px;
    color: #666;
    font-size: 0.9rem;
}

.contact-link {
    color: #4a89dc;
    font-weight: 600;
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

.office-locations h3 {
    margin-bottom: 20px;
    color: #333;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.location-card {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.location-card h4 {
    margin-bottom: 10px;
    color: #333;
}

.location-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    max-width: 900px;
    margin: 0 auto;
}

.faq-container {
    margin-top: 30px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #f8f9fa;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

.faq-question i {
    color: #4a89dc;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Chat popup */
#chat-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    height: 450px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#chat-popup.hidden {
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
}

.chat-header {
    padding: 15px;
    background-color: #4a89dc;
    color: white;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

#close-chat {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
}

.message {
    margin-bottom: 15px;
    display: flex;
}

.message.support {
    justify-content: flex-start;
}

.message.user {
    justify-content: flex-end;
}

.message-content {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 10px;
    background-color: #f8f9fa;
}

.message.support .message-content {
    background-color: #f0f2f5;
}

.message.user .message-content {
    background-color: #4a89dc;
    color: white;
}

.message-content p {
    margin: 0 0 5px;
}

.message-time {
    font-size: 0.75rem;
    color: #888;
    display: block;
    text-align: right;
}

.message.user .message-time {
    color: rgba(255,255,255,0.8);
}

.chat-input {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
}

.chat-input input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    margin-right: 10px;
}

#send-message {
    background-color: #4a89dc;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
} 