/* 
   Mudra Finance / Dhaani Finance
   About Page Specific Styles
   Theme: Saffron, Green, Blue, White
*/

/* =========================================
   Page Title / Breadcrumb Section
   ========================================= */
.page-title-section {
    background: linear-gradient(rgba(0,0,128,0.8), rgba(0,0,128,0.9)), url('../images/background/pattern-1.png'); /* Blue Overlay */
    background-size: cover;
    padding: 60px 0;
    text-align: center;
    color: white;
    border-bottom: 5px solid var(--primary-color); /* Saffron Bottom Border */
}

.page-title-section h1 {
    font-size: 36px;
    font-family: var(--font-heading);
    margin-bottom: 10px;
    color: var(--white);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary-color); /* Saffron Hover */
}

.breadcrumb span {
    color: white;
}

/* =========================================
   About Page Content
   ========================================= */
.about-page-content {
    padding: 60px 0;
    overflow: hidden; /* Prevent horizontal scroll from AOS */
}

.about-page-content .row {
    display: flex;
    flex-direction: column; /* Mobile first */
    gap: 30px;
}

.about-page-content .col-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-bottom: 4px solid var(--primary-color); /* Saffron Accent */
}

.about-page-content .col-text h2 {
    font-size: 28px;
    color: var(--accent-color); /* Blue Title */
    margin-bottom: 20px;
    font-family: var(--font-heading);
    position: relative;
    padding-bottom: 15px;
}

.about-page-content .col-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color); /* Saffron Underline */
}

.about-page-content .col-text p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--light-text);
}

/* =========================================
   Mission & Vision Section
   ========================================= */
.mission-vision-section {
    padding: 60px 0;
    background-color: #f9f9f9; /* Light Gray BG */
}

.mission-vision-section .row {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mv-box {
    flex: 1;
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid transparent;
}

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

/* Specific Border Colors */
.mv-box:nth-child(1) {
    border-bottom-color: var(--primary-color); /* Saffron for Mission */
}

.mv-box:nth-child(2) {
    border-bottom-color: var(--secondary-color); /* Green for Vision */
}

.mv-icon {
    font-size: 40px;
    margin-bottom: 20px;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background: rgba(0,0,0,0.03);
    margin-left: auto;
    margin-right: auto;
    transition: background 0.3s ease, color 0.3s ease;
}

.mv-box:nth-child(1) .mv-icon { color: var(--primary-color); }
.mv-box:nth-child(2) .mv-icon { color: var(--secondary-color); }

.mv-box:hover .mv-icon {
    background: var(--accent-color);
    color: #ffffff;
}

.mv-box h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--accent-color);
    font-family: var(--font-heading);
}

.mv-box p {
    color: var(--light-text);
    line-height: 1.6;
}


/* =========================================
   Stats Section
   ========================================= */
.stats-section {
    padding: 60px 0;
    background: #ffffff; /* White Background */
    color: var(--text-color);
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 30px 20px;
    background: #ffffff;
    border-radius: 8px;
    transition: transform 0.3s ease;
    border: 1px solid #eee;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.stat-item:hover {
    transform: translateY(-10px);
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.stat-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--accent-color);
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 16px;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   Our Journey Section (Timeline)
   ========================================= */
.journey-section {
    padding: 80px 0;
    background-color: #ffffff;
    position: relative;
}

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

/* Vertical Line */
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #eee;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

/* Circles */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid var(--primary-color);
    top: 20px;
    border-radius: 50%;
    z-index: 1;
}

/* Left side */
.left {
    left: 0;
}

/* Right side */
.right {
    left: 50%;
}

.right::after {
    left: -10px;
}

/* Content Box */
.content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.timeline-item:hover .content {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.right .content {
    border-left: none;
    border-right: 4px solid var(--secondary-color);
}

.content h3 {
    color: var(--accent-color);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.content h4 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.right .content h4 {
    color: var(--secondary-color);
}

.content p {
    color: var(--light-text);
    margin: 0;
}

/* =========================================
   Responsive Media Queries
   ========================================= */
@media (min-width: 768px) {
    .about-page-content .row {
        flex-direction: row;
        align-items: center;
    }
    
    .about-page-content .col-img,
    .about-page-content .col-text {
        flex: 1;
    }

    .mission-vision-section .row {
        flex-direction: row;
    }
}

@media screen and (max-width: 768px) {
    /* Timeline Responsive */
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item::after {
        left: 21px;
    }
    
    .left::after, .right::after {
        left: 21px;
    }
    
    .right {
        left: 0%;
    }

    .right .content {
        border-left: 4px solid var(--secondary-color);
        border-right: none;
    }
}
