/* =================================================================
   About Us Page Styles (about.css)
   ================================================================= */

/* General Section Styling */
.about-section {
    padding: 80px 0;
    position: relative; /* For decorations */
    overflow: hidden; /* Hide overflow from decorations */
}

.about-section .section-header {
    margin-bottom: 60px;
}

.bg-light {
    background-color: #f9fafb;
}

/* Section Decorations */
#methodology {
    background: var(--dark-bg-gradient, linear-gradient(145deg, #1d2b4e, #0f172a));
    color: #fff;
}

#methodology .section-header p {
    color: rgba(255,255,255,0.8);
}

#methodology h4 {
    color: #fff;
}

#methodology .methodology-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}

#methodology .triangle-item {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}

#methodology .triangle-item strong {
    color: var(--primary-color-light);
}

#methodology::before, #methodology::after {
    display: none;
}

#endorsements .container {
    position: relative;
    z-index: 1;
}

#endorsements::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(30deg);
    width: 60%;
    height: 120%;
    background-color: white;
    border-radius: 40px;
    opacity: 0.7;
    z-index: 0;
}

#case-studies::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: linear-gradient(45deg, var(--primary-color-light), transparent);
    border-radius: 50%;
    opacity: 0.3;
}

#social-value {
    background: 
        linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
        url('../images/bg-pattern.svg');
    background-size: cover;
}

/* Hero Section Additions */
.about-hero .subhero-content {
    max-width: 650px;
}

.about-hero-stats {
    display: flex;
    justify-content: flex-start;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.about-hero-stats .stat-item {
    text-align: left;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.about-hero-stats .stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.about-hero-stats .stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-color-light);
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background-color: var(--light-grey-bg, #f4f6f9);
}

.stats-container {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    flex: 1;
    min-width: 200px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-color);
    margin-top: 10px;
}

/* Company Intro Section */
.intro-container {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.07);
}

.intro-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-top: 10px;
}

.intro-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--text-color);
}

/* Business Matrix Section */
.matrix-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.matrix-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e7eb;
}

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

.matrix-card .matrix-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.matrix-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--title-color);
}

.matrix-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.matrix-list li {
    margin-bottom: 15px;
    line-height: 1.6;
}

.matrix-list li strong {
    color: var(--primary-color);
}

/* Methodology Section */
.methodology-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.methodology-item {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.methodology-item h4 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.methodology-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    text-align: center;
    flex-wrap: wrap;
}

.methodology-steps span {
    flex: 1;
    position: relative;
    padding: 10px;
}

.methodology-steps span:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.5rem;
}

.methodology-triangle {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
    gap: 20px;
}

.triangle-item {
    flex: 1;
    min-width: 200px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid var(--primary-color-light);
}

.triangle-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

/* Endorsements Section */
.endorsements-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.endorsement-card {
    background: #f9fafb;
    padding: 30px;
    border-radius: 12px;
}

.endorsement-card h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color-light);
    padding-bottom: 10px;
}

.endorsement-card ul {
    list-style-type: '✓ ';
    padding-left: 20px;
}

.endorsement-card li {
    margin-bottom: 10px;
}

.partners-table {
    width: 100%;
    border-collapse: collapse;
}

.partners-table th, .partners-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.partners-table th {
    background-color: var(--primary-color-light);
    color: var(--primary-color);
    font-weight: 600;
}

/* Case Studies Section */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-study-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.case-study-card:hover {
    transform: scale(1.03);
}

.case-study-card .case-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.case-study-card h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.case-study-card p {
    margin-bottom: 10px;
    line-height: 1.7;
}

/* Founder Section */
.founder-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
}

.founder-video img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.founder-quote blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 25px;
    margin: 0;
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.8;
}

.founder-quote footer {
    margin-top: 20px;
    font-weight: 600;
    font-style: normal;
    color: var(--title-color);
}

.founder-quote footer small {
    display: block;
    font-weight: 400;
    color: var(--text-color);
    margin-top: 5px;
}

/* Social Value Section */
.social-value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.social-value-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.social-value-item h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.social-value-item p {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.social-value-item p strong {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Founder Values Section */
#founder-values {
    background: var(--dark-bg-gradient, linear-gradient(145deg, #0f172a, #1d2b4e));
    color: #fff;
}

#founder-values .founder-quote blockquote {
    color: #fff;
}

#founder-values .founder-quote footer {
    color: rgba(255,255,255,0.9);
}

#founder-values .founder-quote footer small {
    color: rgba(255,255,255,0.7);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .endorsements-grid {
        grid-template-columns: 1fr;
    }
    .founder-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .founder-video {
        margin-bottom: 30px;
    }
    .founder-quote blockquote {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px 0;
    }
    .intro-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .intro-icon {
        margin: 0 auto;
    }
    .methodology-steps {
        flex-direction: column;
        gap: 15px;
    }
    .methodology-steps span:not(:last-child)::after {
        content: '↓';
        right: 50%;
        bottom: -20px;
        top: auto;
        transform: translateX(50%);
    }
    .about-hero-stats {
        justify-content: center;
    }
} 