/* 
* Haricane Consultancy Services - About Page CSS
* This file contains custom styles for the About page
*/

/* Import base styles from main stylesheet */
@import url('styles.css');

/*-------------------------
# Page Header Styles
-------------------------*/
#page-hero {
    min-height: 60vh;
    padding: 80px 0 50px;
}

#page-hero .hero-title {
    text-align: center;
}

#page-hero .hero-title::after {
    left: 50%;
    transform: translateX(-50%);
}

#page-hero .hero-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
}

/*-------------------------
# Our Story Section
-------------------------*/
#our-story .about-img-wrapper::before {
    width: 80%;
    height: 80%;
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    top: -20px;
    left: -20px;
    z-index: -1;
    opacity: 0.7;
}

#our-story .about-img-wrapper::after {
    width: 60%;
    height: 60%;
    border: 3px solid var(--secondary-color-2);
    border-radius: 20px;
    bottom: -20px;
    right: -20px;
    z-index: -1;
    opacity: 0.7;
}

#our-story .about-content h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

#our-story .about-content h3::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 4px;
    background-color: var(--secondary-color-1);
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

#our-story .about-content p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

#our-story .about-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

/*-------------------------
# Evolution Timeline Section
-------------------------*/
#evolution .process-timeline {
    padding-bottom: 40px;
}

#evolution .process-item {
    margin-bottom: 30px;
}

#evolution .process-number {
    width: 30px;
    height: 30px;
    background-color: var(--secondary-color-2);
    color: var(--dark-color);
    font-weight: 700;
    font-size: 1rem;
}

#evolution .process-icon-inner {
    background-color: var(--light-bg);
    transition: all 0.4s ease;
}

#evolution .process-icon-inner i {
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

#evolution .process-item:hover .process-icon-inner {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

#evolution .process-item:hover .process-icon-inner i {
    color: #fff;
}

#evolution .process-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

#evolution .process-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

#evolution .process-content p {
    color: var(--gray);
    line-height: 1.7;
}

#evolution .process-item:hover .process-content {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

#evolution .process-connector {
    height: 40px;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color-1));
    margin: 0 auto 30px 40px;
    position: relative;
}

#evolution .process-connector::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background-color: var(--secondary-color-1);
    border-radius: 50%;
}

#evolution .process-connector::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

/*-------------------------
# Impact Section
-------------------------*/
.impact-card {
    background-color: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.impact-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    background: var(--secondary-color-1);
    bottom: 0;
    left: 0;
    transition: height 0.4s ease;
    z-index: -1;
}

.impact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.impact-card:hover::before {
    height: 8px;
}

.impact-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-bg);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.4s ease;
}

.impact-icon i {
    font-size: 2.2rem;
    transition: all 0.3s ease;
}

.impact-card:hover .impact-icon {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

.impact-card:hover .impact-icon i {
    color: #fff;
}

.impact-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.impact-stat {
    margin-bottom: 20px;
}

.impact-stat .stat-value {
    font-family: var(--heading-font);
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    display: block;
}

.impact-stat .stat-label {
    font-size: 1rem;
    color: var(--gray);
    margin-top: 5px;
    display: block;
}

.impact-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

.impact-card strong {
    color: var(--dark-color);
    font-weight: 600;
}

/*-------------------------
# Our Process Section
-------------------------*/
#our-process .service-card {
    text-align: center;
}

#our-process .service-icon {
    margin-bottom: 25px;
}

#our-process .service-icon-bg {
    margin: 0 auto;
}

#our-process .service-title {
    text-align: center;
    padding-bottom: 15px;
}

#our-process .service-title::after {
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
}

#our-process .service-card:hover .service-title::after {
    width: 70px;
}

/*-------------------------
# Our Services Section
-------------------------*/
.service-list-card {
    background-color: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    height: 100%;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-list-card::before {
    content: '';
    position: absolute;
    width: 3px;
    height: 0;
    background: var(--primary-color);
    top: 0;
    left: 0;
    transition: height 0.4s ease;
}

.service-list-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.service-list-card:hover::before {
    height: 100%;
}

.service-list-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-list-card h3 i {
    color: var(--primary-color);
    margin-right: 10px;
}

.service-list-card p {
    color: var(--gray);
    margin-bottom: 0;
    line-height: 1.6;
}

/*-------------------------
# Leadership Team Section
-------------------------*/
.team-card {
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.team-image {
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 370px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-social {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s ease;
}

.team-card:hover .team-social {
    opacity: 1;
    transform: translateX(0);
}

.team-social a {
    width: 36px;
    height: 36px;
    background-color: #fff;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-social a:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.team-content {
    padding: 25px;
}

.team-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.team-position {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: block;
}

.team-bio {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.team-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.team-expertise span {
    background-color: var(--light-bg);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 30px;
}

/* Advisor Card Styling */
.advisor-section {
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.advisor-card {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.advisor-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    background: var(--secondary-color-1);
    bottom: 0;
    left: 0;
    transition: height 0.4s ease;
    z-index: -1;
}

.advisor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.advisor-card:hover::before {
    height: 8px;
}

.advisor-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 30px;
    flex-shrink: 0;
    border: 4px solid var(--light-bg);
    transition: all 0.3s ease;
}

.advisor-card:hover .advisor-image {
    border-color: var(--primary-color);
}

.advisor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.advisor-content {
    flex-grow: 1;
}

.advisor-content h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.advisor-position {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 15px;
    display: block;
}

.advisor-bio {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.advisor-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.advisor-expertise span {
    background-color: var(--light-bg);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 30px;
}

/*-------------------------
# Vision Section
-------------------------*/
#vision {
    position: relative;
}

#vision .vision-text {
    color: #fff;
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

#vision .vision-text strong {
    color: var(--secondary-color-2);
    font-weight: 600;
}

.vision-highlight-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
    height: 100%;
}

.vision-highlight-item:hover {
    transform: translateY(-8px);
}

.vision-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
}

.vision-icon i {
    font-size: 1.8rem;
}

.vision-highlight-item h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.vision-highlight-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

/*-------------------------
# Awards & Recognition Section
-------------------------*/
.award-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 25px 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.award-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--secondary-color-1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.award-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.award-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.award-image {
    height: 80px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.award-card:hover .award-image {
    transform: scale(1.1);
}

.award-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.award-organization {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 0;
}

.certification-badge {
    background-color: #fff;
    border-radius: 15px;
    padding: 20px 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s ease;
}

.certification-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.cert-image {
    height: 60px;
    margin-bottom: 15px;
}

.cert-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0;
}

/*-------------------------
# Join Us CTA Section
-------------------------*/
#join-us .cta-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 25px;
}

#join-us .cta-stat-number {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

#join-us .cta-stat-text {
    font-size: 1rem;
    color: var(--gray);
    margin-top: 5px;
}

/*-------------------------
# Responsive Styles
-------------------------*/
@media (max-width: 991.98px) {
    #page-hero {
        min-height: 50vh;
        padding: 120px 0 60px;
    }

    .advisor-card {
        flex-direction: column;
        text-align: center;
    }

    .advisor-image {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .impact-card, .service-list-card {
        margin-bottom: 20px;
    }

    #evolution .process-timeline {
        padding-left: 20px;
    }
}

@media (max-width: 767.98px) {
    #page-hero {
        min-height: 40vh;
        padding: 100px 0 50px;
    }

    #page-hero .hero-title {
        font-size: clamp(2.2rem, 5vw, 3rem);
    }

    #our-story .about-content h3 {
        font-size: 1.8rem;
    }

    .impact-stat .stat-value {
        font-size: 2.5rem;
    }

    .team-image img {
        height: 220px;
    }

    .advisor-card {
        padding: 20px;
    }

    .advisor-image {
        width: 120px;
        height: 120px;
    }

    .advisor-content h3 {
        font-size: 1.5rem;
    }

    .vision-highlight-item {
        margin-bottom: 20px;
    }

    #join-us .cta-stats {
        flex-direction: column;
    }

    #join-us .cta-stat-item {
        margin-bottom: 15px;
    }
}

@media (max-width: 575.98px) {
    #page-hero {
        padding: 90px 0 40px;
    }

    #our-story .about-content h3 {
        font-size: 1.6rem;
    }

    .team-expertise, .advisor-expertise {
        justify-content: center;
    }

    .team-image img {
        height: 455px;
    }

    .advisor-image {
        width: 100px;
        height: 100px;
    }

    .process-icon {
        margin-right: 15px;
    }

    .process-content {
        padding: 20px;
    }

    .process-content h3 {
        font-size: 1.3rem;
    }
}