/* Company Pages Styles */

/* Page Hero Section */
.page-hero {
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--white) 100%);
    padding: 6rem 0 4rem;
    text-align: center;
}

/* About Us Hero Section */
.about-hero {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    padding: 6rem 0 4rem;
    text-align: center;
    color: var(--white);
}

.about-hero .page-title {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.about-hero .page-description {
    color: var(--primary-100);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--primary-100);
    font-weight: 500;
}

.page-title {
    font-size: 3rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.page-description {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto 2rem auto;
    line-height: 1.6;
}

/* About Us Page */
.company-story {
    padding: 4rem 0;
    background: var(--white);
}

/* Mission & Vision Section */
.mission-vision {
    background: var(--gray-50);
    padding: 4rem 0;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.mission-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.mission-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-200);
}

.mission-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    border-radius: var(--border-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-lg);
}

.mission-icon i {
    font-size: 2rem;
    color: var(--white);
}

.mission-info h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.mission-info p {
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 1rem;
}

/* Our Story Section */
.our-story {
    background: var(--white);
    padding: 4rem 0;
}

.story-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.story-text {
    padding: 2rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.story-description {
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.story-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.highlight {
    text-align: center;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--gray-200);
}

.highlight h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-600);
    margin-bottom: 0.5rem;
}

.highlight p {
    color: var(--gray-600);
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0;
}

.growth-chart {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--gray-200);
    text-align: center;
}

.growth-chart h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 2rem;
}

.chart-container {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    justify-content: center;
    height: 250px;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    margin-bottom: 1rem;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(180deg, var(--primary-600), var(--primary-700));
    border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
    position: relative;
    min-width: 60px;
    transition: all 0.3s ease;
}

.chart-bar:hover {
    background: linear-gradient(180deg, var(--primary-700), var(--primary-800));
    transform: translateY(-5px);
}

.bar-label {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: var(--gray-600);
    font-weight: 600;
    white-space: nowrap;
}

.bar-value {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gray-900);
    white-space: nowrap;
}

.chart-caption {
    color: var(--gray-600);
    font-size: 0.875rem;
    font-weight: 500;
    margin: 1.5rem 0 0 0;
}

/* Company Values Section */
.company-values {
    background: var(--gray-50);
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-description {
    color: var(--gray-600);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Team Card - Override for About Page */
.team-card {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-200);
}

.team-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-lg);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--primary-600);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-social a {
    width: 35px;
    height: 35px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    text-decoration: none;
    transition: all 0.2s ease;
}

.team-social a:hover {
    background: var(--primary-500);
    color: var(--white);
    transform: translateY(-2px);
}

.team-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: var(--gray-50);
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--gray-200);
}

.team-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.team-cta p {
    color: var(--gray-600);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Achievements Section */
.achievements {
    background: var(--white);
    padding: 4rem 0;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.achievement-card {
    background: var(--gray-50);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
}

.achievement-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
    background: var(--white);
}

.achievement-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
}

.achievement-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.achievement-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.achievement-card p {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.achievement-year {
    display: inline-block;
    background: var(--primary-100);
    color: var(--primary-700);
    padding: 0.375rem 0.875rem;
    border-radius: var(--border-radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--white) 100%);
    padding: 5rem 0;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-note {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin: 0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: var(--gray-600);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.modal-description {
    color: var(--gray-600);
    font-size: 1rem;
}

.modal-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.modal-form .form-group {
    margin-bottom: 1rem;
}

.modal-form input,
.modal-form select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius-md);
    font-size: 0.875rem;
    transition: all 0.2s ease;
    font-family: inherit;
}

.modal-form input:focus,
.modal-form select:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px var(--primary-100);
}

.btn-full {
    width: 100%;
}

.form-note {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-top: 1rem;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 2rem;
}

.story-content {
    padding: 2rem 0;
}

.story-visual {
    background: var(--gray-100);
    border-radius: var(--border-radius-xl);
    padding: 3rem;
    text-align: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-200);
}

.story-visual i {
    font-size: 4rem;
    color: var(--primary-500);
}

/* Team Section */
.team-section {
    background: var(--gray-50);
    padding: 4rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-200);
}

.member-photo {
    width: 100px;
    height: 100px;
    background: var(--gray-300);
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    font-size: 2rem;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-md);
}

.member-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.member-title {
    color: var(--primary-600);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.member-bio {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    width: 35px;
    height: 35px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: var(--primary-500);
    color: var(--white);
    transform: translateY(-2px);
}

/* Values Section */
.values-section {
    background: var(--white);
    padding: 4rem 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.value-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
    transform: translateY(-2px);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    border-radius: var(--border-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    box-shadow: var(--shadow-lg);
}

.value-icon i {
    font-size: 2rem;
    color: var(--white);
}

.value-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.value-description {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 0.875rem;
}

/* Careers Page */
.careers-hero {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: var(--white);
    padding: 6rem 0 4rem;
    text-align: center;
}

.careers-hero .page-title {
    color: var(--white);
}

.careers-hero .page-description {
    color: var(--primary-100);
}

.job-listings {
    background: var(--white);
    padding: 4rem 0;
}

.job-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: var(--gray-100);
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius-md);
    color: var(--gray-700);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-500);
    color: var(--white);
    border-color: var(--primary-500);
}

.jobs-grid {
    display: grid;
    gap: 1.5rem;
}

.job-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    transition: all 0.2s ease;
}

.job-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-200);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.job-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.job-department {
    color: var(--primary-600);
    font-size: 0.875rem;
    font-weight: 600;
}

.job-type {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-md);
    font-size: 0.75rem;
    font-weight: 600;
}

.job-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-meta-item i {
    color: var(--gray-500);
}

.job-description {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.job-actions {
    display: flex;
    gap: 1rem;
}

/* Contact Page */
.contact-section {
    background: var(--white);
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.contact-form {
    background: var(--gray-50);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    border: 1px solid var(--gray-200);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius-md);
    font-size: 0.875rem;
    transition: border-color 0.2s ease;
    font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px var(--primary-100);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info {
    padding: 2rem 0;
}

.contact-methods {
    display: grid;
    gap: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--gray-200);
}

.contact-method-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-100);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
}

.contact-method-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.contact-method-info p {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin: 0;
}

/* Office Locations */
.offices-section {
    background: var(--gray-50);
    padding: 4rem 0;
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.office-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    text-align: center;
}

.office-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.office-address {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.office-hours {
    color: var(--gray-700);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Press Page */
.press-kit {
    background: var(--white);
    padding: 4rem 0;
}

.press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.press-item {
    background: var(--gray-50);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    border: 1px solid var(--gray-200);
    text-align: center;
}

.press-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-100);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
}

.press-icon i {
    font-size: 1.5rem;
    color: var(--primary-600);
}

.press-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.press-description {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* Contact Page Specific Styles */

/* Contact Hero Section */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--white) 100%);
    padding: 6rem 0 4rem;
    text-align: center;
}

.contact-hero .page-title {
    font-size: 3rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.contact-hero .page-description {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-option {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-option:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
}

.option-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-100);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    color: var(--primary-600);
    font-size: 1.5rem;
}

.contact-option h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.contact-option p {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin: 0;
}

/* Contact Methods Section */
.contact-methods {
    background: var(--white);
    padding: 4rem 0;
}

.methods-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: nowrap;
}

.method-card {
    background: var(--gray-50);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 400px;
}

.method-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-200);
}

.method-card.featured {
    background: var(--primary-50);
    border-color: var(--primary-200);
    position: relative;
}

.method-card.featured::before {
    content: "Recommended";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-500);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.method-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-100);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    color: var(--primary-600);
    font-size: 1.5rem;
}

.method-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.method-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.method-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--gray-200);
}

.method-details span {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.method-details span strong {
    color: var(--gray-900);
}

/* Contact Form Section */
.contact-form-section {
    background: var(--gray-50);
    padding: 4rem 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-header .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.form-header .section-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 500px;
    margin: 0 auto;
}

.contact-form {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius-md);
    font-size: 0.875rem;
    transition: all 0.2s ease;
    font-family: inherit;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px var(--primary-100);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--gray-700);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-label.consent {
    grid-column: 1 / -1;
    margin-top: 1rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--gray-200);
}

.form-note {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* Office Locations Section */
.office-locations {
    background: var(--white);
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.section-header .section-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 500px;
    margin: 0 auto;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.location-card {
    background: var(--gray-50);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.location-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
    background: var(--white);
}

.location-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-100);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    color: var(--primary-600);
    font-size: 1.5rem;
}

.location-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.location-address {
    margin-bottom: 1.5rem;
}

.location-address p {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin: 0.25rem 0;
}

.location-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.location-contact span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-700);
}

.location-contact i {
    color: var(--primary-500);
    width: 16px;
}

/* Contact FAQ Section */
.contact-faq {
    background: var(--gray-50);
    padding: 4rem 0;
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    margin-bottom: 1rem;
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-200);
}

.faq-item.active {
    border-color: var(--primary-300);
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.1);
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    user-select: none;
}

.faq-header:hover {
    background: var(--gray-50);
}

.faq-item.active .faq-header {
    background: var(--primary-50);
    border-bottom: 1px solid var(--primary-100);
}

.faq-question {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
    flex: 1;
    text-align: left;
}

.faq-item.active .faq-question {
    color: var(--primary-700);
}

.faq-toggle {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 50%;
    transition: all 0.3s ease;
    margin-left: 1rem;
    flex-shrink: 0;
}

.faq-toggle i {
    font-size: 0.875rem;
    color: var(--gray-600);
    transition: all 0.3s ease;
}

.faq-item:hover .faq-toggle {
    background: var(--primary-100);
}

.faq-item:hover .faq-toggle i {
    color: var(--primary-600);
}

.faq-item.active .faq-toggle {
    background: var(--primary-500);
    transform: rotate(45deg);
}

.faq-item.active .faq-toggle i {
    color: var(--white);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0;
    padding: 0 2rem; /* Add base padding to prevent layout shift */
}

.faq-item.active .faq-content {
    max-height: 1500px; /* Increased to handle very long content */
    opacity: 1;
    padding: 0 2rem 2rem 2rem; /* Add bottom padding when active */
}

/* Fallback for when JavaScript is disabled or fails */
.faq-item:target .faq-content,
.faq-item.show .faq-content {
    max-height: none !important;
    opacity: 1 !important;
    padding: 0 2rem 2rem 2rem !important;
}

/* Debug visibility - UNCOMMENT to show all FAQ content for troubleshooting */
/* Remove the comments around the rule below to force show all FAQ answers */
/*
.faq-content {
    max-height: none !important;
    opacity: 1 !important;
    padding: 0 2rem 2rem 2rem !important;
    border-top: 1px solid var(--gray-200) !important;
    background: var(--gray-50) !important;
    overflow: visible !important;
}
*/

.faq-answer {
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0;
    font-size: 0.9375rem;
    display: block !important; /* Override any display: none from other CSS files */
}

.faq-answer strong {
    color: var(--gray-800);
    font-weight: 600;
}

/* Ensure FAQ answers are visible when parent is active */
.faq-item.active .faq-answer {
    display: block !important;
}

/* Enhanced formatting for FAQ answers */
.faq-answer br + br {
    line-height: 1.5; /* Better spacing for paragraph breaks */
}

/* Improve bullet point styling in FAQ answers */
.faq-answer {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Style for lists in FAQ answers */
.faq-content ul,
.faq-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.faq-content li {
    margin-bottom: 0.5rem;
    color: var(--gray-600);
}

/* FAQ CTA Section */
.faq-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
}

.faq-cta h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.faq-cta p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.faq-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.faq-cta-buttons .btn {
    min-width: 140px;
}

/* Animation classes */
.contact-faq.animate-in .faq-item {
    animation: fadeInUp 0.6s ease forwards;
}

.contact-faq.animate-in .faq-item:nth-child(1) { animation-delay: 0.1s; }
.contact-faq.animate-in .faq-item:nth-child(2) { animation-delay: 0.2s; }
.contact-faq.animate-in .faq-item:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Override the global FAQ styles that add extra + signs */
.contact-faq .faq-item h4:after {
    content: none !important; /* Remove the CSS-generated + sign */
}

.contact-faq .faq-question:after {
    content: none !important; /* Remove any pseudo-element content */
}

/* Help Page Specific Styles */

/* Search Box Styling */
.search-box {
    max-width: 600px;
    margin: 2rem auto 0;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.search-input-wrapper:focus-within {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.search-icon {
    position: absolute;
    left: 1rem;
    color: var(--gray-400);
    font-size: 1rem;
    z-index: 2;
}

.search-input {
    flex: 1;
    padding: 1rem 1rem 1rem 3rem;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: var(--gray-900);
    outline: none;
}

.search-input::placeholder {
    color: var(--gray-500);
}

.search-btn {
    padding: 1rem 1.5rem;
    background: var(--primary-500);
    color: var(--white);
    border: none;
    border-radius: 0 var(--border-radius-lg) var(--border-radius-lg) 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: var(--primary-600);
}

.search-btn i {
    font-size: 1rem;
}

/* Enhanced Search Functionality */
.search-clear-btn {
    position: absolute;
    right: 4rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.search-clear-btn:hover {
    color: var(--gray-600);
    background: var(--gray-100);
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-top: none;
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 10;
    max-height: 300px;
    overflow-y: auto;
}

.suggestion-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: var(--gray-700);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.suggestion-item:hover {
    background: var(--gray-50);
    color: var(--primary-600);
}

.suggestion-item:not(:last-child) {
    border-bottom: 1px solid var(--gray-100);
}

/* Search Results Feedback Styling */
#search-feedback {
    padding: 1.5rem 2rem !important;
    text-align: center;
    color: var(--gray-600) !important;
    background: var(--gray-50) !important;
    border: 1px solid var(--gray-200) !important;
    border-radius: var(--border-radius-lg) !important;
    margin: 2rem 0 !important;
    font-style: normal !important;
}

#search-feedback.results-found {
    background: var(--green-50) !important;
    color: var(--green-700) !important;
    border-color: var(--green-200) !important;
}

/* Relative positioning for search box to contain suggestions */
.search-box {
    position: relative;
}

/* Responsive Design for Help Page */
@media (max-width: 768px) {
    .search-box {
        margin: 1.5rem auto 0;
        padding: 0 1rem;
    }
    
    .search-input-wrapper {
        flex-direction: column;
        border-radius: var(--border-radius-md);
    }
    
    .search-input {
        padding: 0.875rem 1rem;
        text-align: center;
    }
    
    .search-icon {
        display: none;
    }
    
    .search-btn {
        width: 100%;
        border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
        justify-content: center;
    }
    
    .faq-category {
        padding: 1.5rem;
    }
    
    .category-title {
        font-size: 1.25rem;
        text-align: center;
        justify-content: center;
    }
}

/* Category Highlight Animation */
.faq-category.highlight-category {
    background: var(--primary-50) !important;
    border-color: var(--primary-300) !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1) !important;
    transform: scale(1.02);
    transition: all 0.5s ease;
}

.faq-category.highlight-category .category-title {
    color: var(--primary-700) !important;
}

.faq-category.highlight-category .category-icon {
    color: var(--primary-600) !important;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Mobile responsive improvements */
@media (max-width: 768px) {
    .search-clear-btn {
        right: 3rem;
    }
    
    .search-suggestions {
        font-size: 0.85rem;
    }
    
    .suggestion-item {
        padding: 1rem 0.75rem;
    }
}

/* Floating Help Button */
.floating-help-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--primary-500);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    font-size: 1.5rem;
}

.floating-help-btn:hover {
    background: var(--primary-600);
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(79, 70, 229, 0.4);
}

.help-tooltip {
    position: absolute;
    right: 70px;
    background: var(--gray-900);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-md);
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.floating-help-btn:hover .help-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.help-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: var(--gray-900);
}

/* Hide floating button on mobile to avoid conflicts */
@media (max-width: 768px) {
    .floating-help-btn {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .help-tooltip {
        display: none;
    }
}

/* Responsive Design for About Page */
@media (max-width: 1024px) {
    .mission-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .story-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 4rem 0 3rem;
    }
    
    .about-hero .page-title {
        font-size: 2.5rem;
    }
    
    .about-hero .page-description {
        font-size: 1rem;
    }
    
    .company-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .mission-item {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .mission-icon {
        margin: 0 auto;
    }
    
    .mission-info h2 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .story-highlights {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .chart-container {
        height: 200px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .modal-content {
        padding: 2rem 1.5rem;
    }
    
    .modal-form .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .about-hero {
        padding: 3rem 0 2rem;
    }
    
    .about-hero .page-title {
        font-size: 2rem;
    }
    
    .company-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .mission-info h2 {
        font-size: 1.25rem;
    }
    
    .chart-container {
        height: 150px;
        padding: 0.5rem;
    }
    
    .bar-label {
        font-size: 0.625rem;
    }
    
    .bar-value {
        font-size: 0.75rem;
    }
}

