/* About Page Specific Styles */

/* Hero Section with Parallax */
.parallax-hero {
    position: relative;
    height: 500px;
    background-image: url('../img/about-hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-shape {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 3;
    line-height: 0;
}

/* Breadcrumb Navigation */
.breadcrumb-container {
    background-color: #f8f9fa;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin: 0 0.5rem;
    color: #6c757d;
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .active {
    color: #6c757d;
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
}

.section-divider {
    position: relative;
    height: 2px;
    background-color: #e9ecef;
    max-width: 100px;
    margin: 1.5rem auto;
}

.divider-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #007bff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Mission Section */
.mission-section {
    padding: 5rem 0;
}

.mission-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

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

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

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

.highlighted-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: #333;
    border-left: 4px solid #007bff;
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

.mission-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.mission-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.mission-list li i {
    color: #007bff;
    margin-right: 1rem;
    font-size: 1.25rem;
    width: 24px;
}

/* Story Section with Timeline */
.story-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.story-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: #e9ecef;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 100%;
}

.timeline-dot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #007bff;
    border: 4px solid #fff;
    box-shadow: 0 0 0 2px #007bff;
    z-index: 1;
}

.timeline-date {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-120%);
    background-color: #007bff;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
}

.timeline-content {
    position: relative;
    width: calc(50% - 40px);
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-date {
    transform: translateX(20%);
}

.timeline-content h3 {
    margin-top: 0;
    color: #333;
}

/* Team Section */
.team-section {
    padding: 5rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.team-photo-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .team-photo {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 123, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover .team-overlay {
    opacity: 1;
}

.team-social {
    display: flex;
    gap: 1rem;
}

.team-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    color: #007bff;
    font-size: 1.25rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.team-social a:hover {
    transform: scale(1.1);
    background-color: #f8f9fa;
}

.team-info {
    padding: 1.5rem;
}

.team-info h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #333;
}

.role {
    color: #007bff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-bio-link {
    display: inline-block;
    margin-top: 1rem;
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.team-bio-link:hover {
    color: #0056b3;
}

.team-bio-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.team-bio-link:hover i {
    transform: translateX(5px);
}

/* Values Section */
.values-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.value-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.value-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(0, 123, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #007bff;
    font-size: 1.75rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
    background-color: rgba(0, 123, 255, 0.2);
}

.value-card h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #333;
}

.value-hover-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #007bff;
    color: #fff;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.value-card:hover .value-hover-content {
    opacity: 1;
}

/* Stats Counter */
.values-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    text-align: center;
    margin-top: 4rem;
}

.stat-item {
    padding: 1.5rem;
    min-width: 200px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #6c757d;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background-color: #fff;
}

.testimonial-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    flex: 0 0 100%;
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-image {
    flex: 0 0 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
}

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

.testimonial-content {
    flex: 1;
    min-width: 300px;
}

.testimonial-rating {
    color: #ffc107;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author h4 {
    margin: 0;
    color: #333;
}

.testimonial-author p {
    color: #6c757d;
    margin-top: 0.25rem;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.testimonial-prev,
.testimonial-next {
    background-color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #007bff;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background-color: #007bff;
    color: #fff;
    transform: scale(1.1);
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
    margin: 0 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #e9ecef;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot.active {
    background-color: #007bff;
    transform: scale(1.2);
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

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

.faq-item {
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.3s ease;
}

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

.faq-icon {
    color: #007bff;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

/* Newsletter Section */
.newsletter-section {
    padding: 5rem 0;
    background-color: #fff;
}

.newsletter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.newsletter-content {
    flex: 1;
    min-width: 300px;
}

.newsletter-benefits {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.newsletter-benefits li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.newsletter-benefits li i {
    color: #28a745;
    margin-right: 1rem;
}

.newsletter-form-container {
    flex: 1;
    min-width: 300px;
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}

.form-checkbox {
    display: flex;
    align-items: center;
}

.form-checkbox input {
    width: auto;
    margin-right: 0.5rem;
}

.form-checkbox label {
    margin: 0;
    font-weight: normal;
}

.btn-block {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
}

.form-success {
    text-align: center;
    padding: 2rem;
    display: none;
}

.form-success i {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background-color: #007bff;
    color: #fff;
    text-align: center;
}

.cta-section h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn {
    background-color: #fff;
    color: #007bff;
    font-weight: 600;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-section .btn:hover {
    background-color: #f8f9fa;
    transform: scale(1.05);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #007bff;
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #0056b3;
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out forwards;
    opacity: 0;
}

.animate-slide-up:nth-child(2) {
    animation-delay: 0.2s;
}

.animate-slide-up:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .parallax-hero {
        background-attachment: scroll;
        height: 400px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-date {
        left: 75px;
        transform: none;
        top: -30px;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px;
    }
    
    .timeline-item:nth-child(even) .timeline-date {
        transform: none;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .testimonial-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .testimonial-image {
        margin-bottom: 1rem;
    }
    
    .values-stats {
        flex-direction: column;
    }
    
    .stat-item {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .parallax-hero {
        height: 350px;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .timeline-date {
        font-size: 0.875rem;
        padding: 0.25rem 0.75rem;
    }
    
    .team-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
}
