/**
 * About Page Specific Styles
 * Silk By Ali E-commerce Website
 */

/* About Section Styles */
.about-section {
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/pattern-bg.png');
    background-repeat: repeat;
    background-size: 300px;
    opacity: 0.03;
    z-index: -1;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    z-index: 2;
    display: block;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 100%);
    transform: skewX(-25deg);
    animation: shine 5s infinite;
}

@keyframes shine {
    0% {
        left: -75%;
    }
    20% {
        left: 125%;
    }
    100% {
        left: 125%;
    }
}

.about-image img {
    transition: transform 0.8s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content {
    padding: 20px;
}

.about-content h3 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-size: 2rem;
    color: var(--primary-color);
}

.about-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

/* Mission & Vision Styles */
.about-mission {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    overflow: hidden;
    position: relative;
}

.mission-card, .vision-card {
    height: 100%;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.mission-card::before, .vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--light-pink), var(--light-blue));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-10px);
}

.mission-card:hover::before, .vision-card:hover::before {
    opacity: 0.1;
}

.mission-icon, .vision-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--light-pink);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.vision-icon {
    background-color: var(--light-blue);
}

.mission-card:hover .mission-icon, .vision-card:hover .vision-icon {
    transform: rotateY(180deg);
}

/* Feature Cards Styles */
.feature-card {
    height: 100%;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background-color: var(--primary-color);
    transition: height 0.3s ease;
}

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

.feature-card:hover::before {
    height: 100%;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--light-pink);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h4 {
    font-size: 1.3rem;
    margin: 15px 0;
    transition: all 0.3s ease;
}

.feature-card:hover h4 {
    color: var(--primary-color);
}

/* Team Cards Styles */
.team-card {
    padding: 20px;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--light-pink), transparent);
    opacity: 0.5;
    transition: all 0.5s ease;
    z-index: 0;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-card:hover::before {
    top: 0;
}

.team-image {
    position: relative;
    z-index: 1;
}

.team-image img {
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.team-card h4 {
    font-size: 1.4rem;
    margin: 15px 0 5px;
    position: relative;
    z-index: 1;
}

.team-card .text-muted {
    color: var(--primary-color) !important;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Testimonial Cards Styles */
.testimonial-card {
    padding: 25px;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 80px;
    color: var(--light-pink);
    font-family: serif;
    line-height: 1;
    opacity: 0.3;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.testimonial-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid var(--light-pink);
}

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

.testimonial-meta h5 {
    margin: 0 0 5px;
    font-size: 1.1rem;
}

.testimonial-meta p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.testimonial-rating {
    margin-bottom: 15px;
    color: #ffc107;
}

.testimonial-content p {
    font-style: italic;
    line-height: 1.7;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Animation Delays */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

.delay-6 {
    transition-delay: 0.6s;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .about-image::before {
        display: none;
    }
    
    .mission-card, .vision-card {
        margin-bottom: 20px;
    }
}
