/* ================================
   About Subpages Specific Styles
   ================================ */

/* Clients Page Styles */
.clients-intro {
    margin-bottom: 4rem;
}

.client-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.client-stat-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.client-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.client-stat-card .stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    flex-shrink: 0;
}

.client-stat-card .stat-content {
    flex: 1;
}

.client-stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.client-stat-card .stat-label {
    font-size: 1rem;
    color: var(--text-light);
}

.client-category {
    margin-bottom: 4rem;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.category-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.category-header h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin: 0;
}

.client-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.client-logo-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.client-logo-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.client-placeholder {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-quote {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.author-company {
    font-size: 0.95rem;
    color: var(--text-light);
}

.partnership-cta {
    text-align: center;
    padding: 2rem;
}

/* Responsive for Clients */
@media (max-width: 768px) {
    .client-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .client-stat-card {
        flex-direction: column;
        text-align: center;
    }
    
    .client-logos-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .client-logo-box {
        padding: 1.5rem;
        min-height: 100px;
    }
    
    .client-placeholder {
        font-size: 0.95rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* Company Overview Styles */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

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

/* Business Areas Grid */
.business-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.business-area-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.business-area-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.ba-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--primary-color);
    font-size: 1.75rem;
}

.business-area-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.business-area-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Company Info Table */
.company-info-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.info-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    border-bottom: 1px solid #f0f0f0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    background: var(--bg-light);
    padding: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.info-value {
    padding: 1.5rem;
    color: var(--text-light);
}

/* CEO Message Styles */
.ceo-message-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
}

.ceo-photo-section {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.ceo-photo-frame {
    width: 300px;
    height: 400px;
    border-radius: 12px;
    background: #f5f5f5;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ceo-info {
    text-align: center;
}

.ceo-message-content {
    flex: 1;
}

.message-greeting {
    margin-bottom: 2rem;
}

.message-paragraph {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.message-highlight {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    margin: 2rem 0;
}

.message-signature {
    margin-top: 3rem;
    text-align: right;
}

/* Philosophy Grid */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.philosophy-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.philosophy-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.philosophy-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.philosophy-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.philosophy-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Timeline Styles */
.history-intro {
    margin-bottom: 4rem;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 100px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.timeline-item {
    position: relative;
    padding-left: 180px;
    margin-bottom: 3rem;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
}

.timeline-year {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: var(--shadow);
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.timeline-title {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.timeline-achievements {
    list-style: none;
    padding: 0;
}

.timeline-achievements li {
    padding: 0.75rem 0;
    color: var(--text-light);
    border-bottom: 1px solid #f0f0f0;
}

.timeline-achievements li:last-child {
    border-bottom: none;
}

.timeline-achievements li i {
    color: var(--primary-color);
    margin-right: 0.75rem;
}

/* Milestones Grid */
.milestones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.milestone-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.milestone-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.milestone-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--primary-color);
    font-size: 2rem;
}

.milestone-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.milestone-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.milestone-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Organization Chart Styles */
.org-chart {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow-x: auto;
}

.org-level {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.org-level-1 {
    margin-bottom: 4rem;
}

.org-level-2 {
    margin-bottom: 4rem;
}

.org-box {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    min-width: 200px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.org-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.org-ceo {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
}

.org-executive {
    border-color: var(--primary-color);
    border-width: 2px;
}

.org-department {
    background: var(--bg-light);
}

.org-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.org-name {
    font-size: 1.3rem;
    font-weight: 700;
}

.org-count {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.org-icon {
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

.org-department-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.org-main-group {
    flex: 1;
    max-width: 600px;
}

/* Organization Summary */
.org-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.summary-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.summary-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.summary-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.summary-label {
    font-size: 1.1rem;
}

/* Departments Detail */
.departments-detail {
    display: grid;
    gap: 2rem;
}

.dept-detail-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.dept-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.dept-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.dept-header h3 {
    font-size: 1.8rem;
    margin: 0;
}

.dept-teams {
    padding: 2rem;
    display: grid;
    gap: 2rem;
}

.team-item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
}

.team-item h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.team-item h4 i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.team-item ul {
    list-style: none;
    padding: 0;
}

.team-item ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.team-item ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Culture Grid */
.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.culture-item {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.culture-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.culture-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    font-size: 2rem;
}

.culture-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.culture-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Responsive Styles */
@media (max-width: 968px) {
    .ceo-message-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .ceo-photo-section {
        position: static;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .timeline::before {
        left: 50px;
    }
    
    .timeline-item {
        padding-left: 130px;
    }
    
    .org-chart {
        padding: 2rem 1rem;
    }
    
    .org-level {
        flex-direction: column;
        align-items: center;
    }
    
    .org-department-group {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .info-cards,
    .business-areas-grid,
    .philosophy-grid,
    .milestones-grid,
    .culture-grid {
        grid-template-columns: 1fr;
    }
    
    .company-info-table .info-row {
        grid-template-columns: 1fr;
    }
    
    .info-label {
        border-bottom: 1px solid #e0e0e0;
    }
    
    .ceo-photo-frame {
        width: 100%;
        max-width: 300px;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        padding-left: 80px;
    }
    
    .timeline-year {
        padding: 0.75rem 1.5rem;
        font-size: 1.2rem;
    }
    
    .org-box {
        min-width: 150px;
        padding: 1rem 1.5rem;
    }
    
    .dept-teams {
        grid-template-columns: 1fr;
    }
}
