/* ════════════════════════════════════════════════════════════════════════
   ABOUT US PAGE - CUSTOM STYLES
   MargHR - Cloud-Based HRMS & Payroll Software
   
   Table of Contents:
   1. About Us Section
   2. Company Story & Timeline
   3. Vision, Mission & Values
   4. Statistics Section
   5. Features Section
   6. Leadership Section
   7. Responsive Styles
════════════════════════════════════════════════════════════════════════ */


/* ════════════════════════════════════════════════════════════════════════
   1. ABOUT US SECTION - Main container and spacing
════════════════════════════════════════════════════════════════════════ */
.about-us h2
{font-size: clamp(1.6rem, 3.5vw, 2.1rem);color: var(--text);margin-bottom: 15px;}
.about-us p
{
    font-size: 17px;
}
.about-us h2 span,.our-vision h2 span,.choose-marghr h2 span,.our-leaderships h2 span
{
    color: var(--primary);
}
.about-us,
.choose-marghr {
    padding: 50px 0px;
}

.our-leaderships {
    padding: 0px 0px 50px;
}

.our-vision {
    padding: 0px 0px 50px;
}


/* ════════════════════════════════════════════════════════════════════════
   2. COMPANY STORY & TIMELINE SECTION
════════════════════════════════════════════════════════════════════════ */

/* Timeline Container */
.timeline {
    position: relative;
    padding-left: 2rem;
    border-left: 1px solid var(--primary);
}

/* Individual Timeline Item */
.timeline-item {
    position: relative;
    padding-bottom: 0.8rem;
    padding-left: 1.2rem;
    transform: translateX(-20px);
    transition: all 0.5s ease;
}

/* Timeline Dot/Bullet */
.timeline-item::before {
    content: '';
    position: absolute;
    left: -17.5px;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: 0 0 0 3px rgb(26 107 255 / 22%);
}

/* Timeline Item Title */
.timeline-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.3rem;
}

/* Timeline Year Label */
.timeline-year {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

/* Timeline Description Text */
.timeline-body {
    font-size: 16px;
    color: var(--text-2);
    line-height: 1.7;
}

/* Our Story Impact Box */
.our-story-section {
    background-color: #1a6bff14;
    padding: 40px 30px;
    border-radius: 18px;
    border: 1px solid #f2f2f2;
}

/* Impact Section Heading */
.our-impact h3 {
    color: var(--text);
    font-size: 20px;
    padding-bottom: 10px;
}

.our-impact hr {
    color: var(--text-3);
}

/* Individual Impact Stat Box */
.our-story-box {
    background-color: #0314340f;
    border-radius: 10px;
}

/* Section Divider Line */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 0 5vw;
}


/* ════════════════════════════════════════════════════════════════════════
   3. VISION, MISSION & VALUES - Custom Cards
════════════════════════════════════════════════════════════════════════ */

/* Card Container */
.custom-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    overflow: hidden;
    box-shadow: rgb(67 71 85 / 10%) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
    transition: 0.3s ease;
}

/* Card Hover Effect */
.custom-card:hover {
    transform: translateY(-6px);
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 50%, #17419c 100%);
}
.custom-card:hover .icon-custom i
{
    color: var(--white);
}
/* Card Title */
.custom-card h5 {
    font-size: 22px;
    margin: 10px 0px;
}

/* Card Description */
.custom-card p {
    font-size: 17px;
    margin-bottom: 0px;
}

/* Hover State - White Text */
.custom-card:hover h5,
.custom-card:hover p {
    color: var(--white);
}

/* ════════════════════════════════════════════════════════════════════════
   4. STATISTICS SECTION - Animated Counter Section
════════════════════════════════════════════════════════════════════════ */

.stats-section {
    background: var(--gradient);
    padding: 45px 0;
    position: relative;
    overflow: hidden;
}

/* Stats Container */
.stats-container {
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Background Decorative Circle */
.stats-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 446px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
    top: -185px;
    right: -250px;
}

/* Individual Stat Box */
.stat-box {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
}

/* Icon Circle Container */
.icon-circle {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Icon Image Styling */
.icon-circle img {
    width: 28px;
    filter: brightness(0) invert(1);
}

/* Stat Counter Number */
.stat-content h2 {
    margin: 0;
    font-size: 38px;
    color: var(--white);
    font-weight: 700;
}

/* Add Plus Sign After Number */
.stat-content h2::after {
    content: "+";
}

/* Stat Description Text */
.stat-text {
    font-size: 14px;
    margin-top: 2px;
    color: var(--white);
}


/* ════════════════════════════════════════════════════════════════════════
   5. FEATURES SECTION - Why Choose MargHR
════════════════════════════════════════════════════════════════════════ */

/* Feature Card Container */
.feature-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    transition: 0.3s ease;
    border: 2px solid #eee;
}

/* Feature Card Hover Effect */
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

/* Feature Card Title */
.feature-card h6 {
    color: var(--text);
    font-size: 17px;
}

/* Feature Card Description */
.feature-card p {
    line-height: 1.3em;
    margin-top: 5px;
    font-size: 16px;
}

/* Feature Icon Container */
.fi-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: #ecf3ff;
}
.fi-icon svg
{
    width: 30px;
    height: 30px;
}
.fi-icon i
{
    color: var(--primary);
}

/* ════════════════════════════════════════════════════════════════════════
   6. LEADERSHIP SECTION - Team Leaders Grid
════════════════════════════════════════════════════════════════════════ */

/* Leadership Grid Layout */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, 230px);
    justify-content: center;
    gap: 30px;
}

/* Individual Leader Card */
.leader-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 1px 2px 8px #cfcfcf;
    overflow: hidden;
    transition: all 0.4s ease;
}

/* Leader Card Hover Effect */
.leader-card:hover {
    transform: translateY(-7px);
}

/* Leader Image Container */
.leader-img img {
    width: 100%;
    object-fit: cover;
}

/* Leader Content Container */
.leader-content {
    padding: 15px 18px;
    text-align: center;
}

/* Leader Position/Role */
.leader-content span {
    font-size: 13px;
    color: var(--text-2);
    display: block;
    margin-bottom: 5px;
}

/* Leader Name */
.leader-content h3 {
    margin-bottom: 5px;
    font-size: 18px;
    color: var(--primary);
    font-weight: 600;
    line-height: 1.2rem;
}

/* Leader Description */
.leader-content p {
    font-size: 13px;
    margin-bottom: 0;
    color: var(--text-muted);
    line-height: 1.5;
    font-weight: 400;
}


/* ════════════════════════════════════════════════════════════════════════
   7. RESPONSIVE STYLES - Mobile & Tablet Optimization
════════════════════════════════════════════════════════════════════════ */

@media (max-width: 991px) {
    /* About Us Section - Add top margin for mobile header */
    .about-us, .choose-marghr {
        padding: 40px 0px;
    }
    
    /* Stats Container - Change to Grid Layout */
    .stats-container {
        display: grid;
        gap: 12px;
    }
    
    /* Reduce Counter Font Size */
    .stat-content h2 {
        font-size: 32px;
    }          
    /* Leadership Grid - Make Responsive */
    .leadership-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
}

/* Tablet Specific Styles */
@media (max-width: 768px) {    
    
    /* Leadership Grid - Single Column */
    .leadership-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        margin: 0 auto;
    }
}