/* About Page Specific Styles */

/* About Hero Section */
.about-hero {
    position: relative;
    min-height: 70vh;
    background: linear-gradient(135deg, #8B4513 0%, #D2691E 50%, #CD853F 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.about-hero-content {
    position: relative;
    z-index: 10;
    color: white;
}

.about-hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.about-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.about-hero-text {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* About Intro Section */
.about-intro {
    background: #f8fafc;
}

.about-intro-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-intro-experience {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #8B4513, #D2691E);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(139, 69, 19, 0.3);
}

.about-intro-experience .years {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.about-intro-experience .text {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.9;
}

.about-intro-content {
    padding-left: 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #8B4513;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-features {
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.about-feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8B4513, #D2691E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.about-feature-text h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.about-feature-text p {
    color: #64748b;
    margin: 0;
}

/* Vision & Mission Cards */
.vision-card, .mission-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.vision-card {
    border-top-color: #8B4513;
}

.mission-card {
    border-top-color: #D2691E;
}

.vision-card:hover, .mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.vision-card-header, .mission-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.vision-icon, .mission-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
}

.vision-icon {
    background: linear-gradient(135deg, #8B4513, #A0522D);
}

.mission-icon {
    background: linear-gradient(135deg, #D2691E, #CD853F);
}

.vision-card h3, .mission-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

.vision-card-body p, .mission-card-body p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Values Section */
.values-section {
    background: white;
}

.value-card {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    background: #f8fafc;
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: #8B4513;
    background: white;
    box-shadow: 0 15px 35px rgba(139, 69, 19, 0.1);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8B4513, #D2691E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
}

.value-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
}

.value-card p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Team Section */
.team-section {
    background: #f8fafc;
}

.team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-social {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: all 0.3s ease;
}

.team-card:hover .team-social {
    opacity: 1;
}

.team-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8B4513;
    text-decoration: none;
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: #8B4513;
    color: white;
    transform: scale(1.1);
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.team-position {
    color: #8B4513;
    font-weight: 600;
    margin: 0;
}

/* Timeline Section */
.timeline-section {
    background: white;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #8B4513, #D2691E, #CD853F);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
    padding-right: 3rem;
}

.timeline-item:nth-child(even) .timeline-content {
    padding-left: 3rem;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #8B4513, #D2691E);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 10;
    box-shadow: 0 0 0 4px white, 0 0 0 8px #8B4513;
}

.timeline-content {
    flex: 1;
    background: #f8fafc;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.timeline-date {
    display: inline-block;
    background: linear-gradient(135deg, #8B4513, #D2691E);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.timeline-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Testimonials Section */
.testimonials-section {
    background: #f8fafc;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-quote {
    position: absolute;
    top: -10px;
    left: 2rem;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #8B4513, #D2691E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.testimonial-text {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-info h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    color: #8B4513;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #8B4513, #D2691E);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-buttons .btn-outline-primary {
    border-color: white;
    color: white;
}

.cta-buttons .btn-outline-primary:hover {
    background: white;
    color: #8B4513;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-hero-title {
        font-size: 2.5rem;
    }
    
    .about-intro-content {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-item .timeline-content {
        text-align: left !important;
        padding-left: 3rem !important;
        padding-right: 1rem !important;
    }
    
    .timeline-dot {
        left: 20px;
        transform: translateX(-50%);
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dot Flow Animation (reused from products.css) */
.dot-flow {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 2;
}

.dot-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: dotFloat 15s linear infinite;
}

.dot:nth-child(odd) {
    background: rgba(255, 255, 255, 0.5);
}

.dot-1 { left: 10%; animation-delay: 0s; }
.dot-2 { left: 20%; animation-delay: 1s; }
.dot-3 { left: 30%; animation-delay: 2s; }
.dot-4 { left: 40%; animation-delay: 3s; }
.dot-5 { left: 50%; animation-delay: 4s; }
.dot-6 { left: 60%; animation-delay: 5s; }
.dot-7 { left: 70%; animation-delay: 6s; }
.dot-8 { left: 80%; animation-delay: 7s; }
.dot-9 { left: 90%; animation-delay: 8s; }
.dot-10 { left: 15%; animation-delay: 9s; }
.dot-11 { left: 25%; animation-delay: 10s; }
.dot-12 { left: 35%; animation-delay: 11s; }
.dot-13 { left: 45%; animation-delay: 12s; }
.dot-14 { left: 55%; animation-delay: 13s; }
.dot-15 { left: 65%; animation-delay: 14s; }
.dot-16 { left: 75%; animation-delay: 15s; }
.dot-17 { left: 85%; animation-delay: 16s; }
.dot-18 { left: 95%; animation-delay: 17s; }
.dot-19 { left: 5%; animation-delay: 18s; }
.dot-20 { left: 95%; animation-delay: 19s; }

@keyframes dotFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: scale(1);
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(0);
        opacity: 0;
    }
}