/* About & Contact Pages Styles */

/* Hero Sections */
.about-hero, .contact-hero {
    padding: 140px 0 80px;
    background: var(--bg-light-blue);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-dark-secondary);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.hero-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: white;
}

/* Section Labels */
.section-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(31, 126, 159, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

/* Mission Section */
.mission-section {
    padding: 100px 0;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-content h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.mission-content p {
    font-size: 1.125rem;
    color: var(--text-dark-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.mission-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-dark-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mission-visual {
    position: relative;
}

.visual-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(31, 126, 159, 0.15);
}

.visual-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* Story Section */
.story-section {
    padding: 100px 0;
    background: var(--bg-light-surface);
}

.story-header {
    text-align: center;
    margin-bottom: 4rem;
}

.story-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-top: 1rem;
}

.story-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 3rem;
}

.timeline-marker {
    position: absolute;
    left: 20px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    border: 4px solid white;
    box-shadow: 0 0 0 2px var(--primary);
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.timeline-content p {
    font-size: 1.125rem;
    color: var(--text-dark-secondary);
    line-height: 1.8;
}

/* Team Section */
.team-section {
    padding: 100px 0;
}

.team-header {
    text-align: center;
    margin-bottom: 4rem;
}

.team-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    font-weight: 700;
    margin: 1rem 0;
}

.team-header p {
    font-size: 1.125rem;
    color: var(--text-dark-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(31, 126, 159, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(31, 126, 159, 0.2);
}

.team-image-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: var(--bg-light-surface);
}

.team-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .team-image-wrapper img {
    transform: scale(1.05);
}

.team-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(31, 126, 159, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

.team-role {
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
}

.team-info {
    padding: 1.5rem;
}

.team-info h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.team-title {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.team-desc {
    font-size: 0.95rem;
    color: var(--text-dark-secondary);
    line-height: 1.6;
}

/* Values Section */
.values-section {
    padding: 100px 0;
    background: var(--bg-light-surface);
}

.values-header {
    text-align: center;
    margin-bottom: 4rem;
}

.values-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-top: 1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(31, 126, 159, 0.1);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: rgba(31, 126, 159, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.value-card p {
    font-size: 1rem;
    color: var(--text-dark-secondary);
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--primary);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-large, .btn-secondary-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary-large {
    background: white;
    color: var(--primary);
}

.btn-primary-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-secondary-large {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary-large:hover {
    background: white;
    color: var(--primary);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.form-subtitle {
    font-size: 1rem;
    color: var(--text-dark-secondary);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card, .quick-links-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(31, 126, 159, 0.1);
}

.contact-info-card h3, .quick-links-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-info-card p {
    color: var(--text-dark-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
}

.method-icon {
    width: 48px;
    height: 48px;
    background: rgba(31, 126, 159, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-content h4 {
    font-size: 0.875rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.method-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.method-content a:hover {
    text-decoration: underline;
}

.method-content p {
    font-size: 0.95rem;
    color: var(--text-dark-secondary);
    line-height: 1.6;
    margin: 0;
}

.quick-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quick-links a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.quick-links a:hover {
    color: var(--primary);
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: var(--bg-light-surface);
}

.faq-header {
    text-align: center;
    margin-bottom: 4rem;
}

.faq-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-top: 1rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(31, 126, 159, 0.1);
}

.faq-item h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.faq-item p {
    font-size: 1rem;
    color: var(--text-dark-secondary);
    line-height: 1.7;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand img {
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(226, 238, 245, 0.82);
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(217, 232, 242, 0.78);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #9fdcff;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    text-align: center;
}

.footer-bottom p {
    color: rgba(217, 232, 242, 0.75);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .mission-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .mission-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .team-grid, .values-grid, .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary-large, .btn-secondary-large {
        width: 100%;
        max-width: 300px;
    }
}


/* Image Overlay Card */
.image-overlay-card {
    position: relative;
    overflow: hidden;
    height: 500px;
    border-radius: 20px;
}

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

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(31, 126, 159, 0.9);
    padding: 2.5rem 2rem;
    color: white;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.image-overlay-card:hover .image-overlay {
    background: rgba(31, 126, 159, 0.95);
    padding-bottom: 3rem;
}

.image-overlay h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: white;
}

.image-overlay p {
    font-size: 1rem;
    opacity: 0.95;
    color: white;
    margin: 0;
}

/* Parent-Child Care Section */
.parent-child-section {
    padding: 100px 0;
    background: white;
}

.section-header-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header-center h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    font-weight: 700;
    margin: 1rem 0;
}

.section-header-center p {
    font-size: 1.125rem;
    color: var(--text-dark-secondary);
    line-height: 1.8;
}

.care-journey-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.journey-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(31, 126, 159, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.journey-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(31, 126, 159, 0.2);
}

.journey-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.journey-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.journey-card:hover .journey-image img {
    transform: scale(1.1);
}

.journey-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
}

.journey-content {
    padding: 2rem;
}

.journey-content h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.journey-content p {
    font-size: 1rem;
    color: var(--text-dark-secondary);
    line-height: 1.7;
}

/* Provider Excellence Section */
.provider-section {
    padding: 100px 0;
    background: var(--bg-light-surface);
}

.provider-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.provider-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(31, 126, 159, 0.15);
}

.provider-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.provider-stats-overlay {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.overlay-stat {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.overlay-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.overlay-stat-label {
    font-size: 0.875rem;
    color: var(--text-dark-secondary);
    font-weight: 600;
}

.provider-content h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin: 1rem 0 1.5rem;
    font-weight: 700;
}

.provider-content > p {
    font-size: 1.125rem;
    color: var(--text-dark-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.provider-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.provider-benefits li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.125rem;
    color: var(--text-dark);
}

.provider-benefits svg {
    flex-shrink: 0;
}

/* Responsive adjustments for new sections */
@media (max-width: 1024px) {
    .provider-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .provider-image-wrapper {
        order: -1;
    }
}

@media (max-width: 768px) {
    .image-overlay-card {
        height: 350px;
    }
    
    .journey-image {
        height: 220px;
    }
    
    .care-journey-grid {
        grid-template-columns: 1fr;
    }
    
    .provider-stats-overlay {
        grid-template-columns: 1fr;
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
    }
    
    .overlay-stat {
        padding: 1rem;
    }
    
    .overlay-stat-number {
        font-size: 2rem;
    }
}
