/* Fix Astra Theme Sidebar & Container Constraints */
.site-content .ast-container { max-width: 100% !important; padding: 0 !important; display: block !important; }
#primary, .ast-primary-content-area { width: 100% !important; max-width: 100% !important; float: none !important; margin: 0 !important; }

/* Variables */
:root {
    --cn-red: #c1121f;
    --cn-dark: #1a202c;
    --cn-text-main: #333;
    --cn-text-muted: #666;
    --cn-border: #e2e8f0;
    --cn-bg-light: #f8fafc;
}

.cn-about-page {
    width: 100%;
    overflow-x: hidden;
    font-family: inherit;
    background: #fff;
    padding-bottom: 60px;
}

.cn-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Typography & General */
h1, h2, h3, h4, h5, h6 { margin: 0; color: var(--cn-text-main); font-family: inherit; }
a { text-decoration: none; color: inherit; }

/* 1. Hero Section */
.cn-about-hero {
    background: url('../images/hero-banner.png') center/cover no-repeat;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    border-bottom: 1px solid var(--cn-border);
}
.cn-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.6) 100%);
}
.cn-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}
.cn-hero-content h1 {
    font-size: 38px;
    font-weight: 900;
    margin-bottom: 25px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.cn-hero-content p {
    font-size: 16px;
    color: #e2e8f0;
    line-height: 1.8;
    margin-bottom: 10px;
    font-weight: 500;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

/* 2. Mission & Vision */
.cn-mv-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: -50px auto 60px;
    position: relative;
    z-index: 10;
}
.cn-mv-box {
    background: #fff;
    border: 1px solid var(--cn-border);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.cn-mv-icon {
    font-size: 40px;
    color: var(--cn-red);
}
.cn-mv-text h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
}
.cn-mv-text p {
    font-size: 14px;
    color: var(--cn-text-muted);
    line-height: 1.8;
    margin: 0;
}

/* Titles */
.cn-section-title-center {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cn-section-title-center h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px;
}
.cn-title-line {
    width: 60px;
    height: 3px;
    background: var(--cn-red);
    border-radius: 2px;
}
.cn-section-title-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.cn-section-title-right h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 10px;
}

/* 3. Core Values Grid */
.cn-values-section {
    margin: 80px 0;
}
.cn-values-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    text-align: center;
}
.cn-value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
}
.cn-value-item i {
    font-size: 42px;
    color: #444;
    margin-bottom: 15px;
}
.cn-value-item h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
}
.cn-value-item p {
    font-size: 12px;
    color: var(--cn-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* 4. Stats Bar */
.cn-stats-bar {
    background: #0f172a;
    padding: 50px 0;
    margin: 60px 0;
    color: #fff;
}
.cn-stats-flex {
    display: flex;
    justify-content: space-between;
    text-align: center;
}
.cn-stat-item {
    flex: 1;
    position: relative;
}
.cn-stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.15);
}
.cn-stat-number {
    font-size: 38px;
    font-weight: 900;
    margin-bottom: 10px;
}
.cn-stat-text {
    font-size: 14px;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.cn-stat-text i {
    font-size: 18px;
}

/* 5. What We Do */
.cn-services-section {
    margin: 80px 0;
}
.cn-services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    text-align: center;
}
.cn-service-item {
    border: 1px solid var(--cn-border);
    border-radius: 12px;
    padding: 30px 15px;
    transition: 0.3s;
}
.cn-service-item:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: #d1d5db;
}
.cn-service-item i {
    font-size: 40px;
    color: #333;
    margin-bottom: 15px;
    display: block;
}
.cn-service-item h4 {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 10px;
}
.cn-service-item p {
    font-size: 12px;
    color: var(--cn-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* 6. Our Team */
.cn-team-section {
    margin: 80px 0;
}
.cn-team-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--cn-border);
    padding-bottom: 15px;
}
.cn-view-all-team {
    color: var(--cn-red);
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}
.cn-view-all-team:hover { opacity: 0.8; }

.cn-team-slider-wrapper {
    position: relative;
}
.cn-team-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 15px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}
.cn-team-grid::-webkit-scrollbar {
    height: 6px;
}
.cn-team-grid::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}
.cn-team-card {
    min-width: 180px;
    text-align: center;
}
.cn-team-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #eee;
}
.cn-team-card h4 {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 5px;
}
.cn-team-card span {
    font-size: 12px;
    color: var(--cn-text-muted);
    display: block;
}

.cn-slider-nav-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}
.cn-slider-nav-dots span {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #ddd;
}
.cn-slider-nav-dots span.active {
    background: var(--cn-red);
}

/* 7. Follow Us */
.cn-follow-section {
    margin: 80px 0 20px;
}
.cn-follow-box {
    background: var(--cn-bg-light);
    border: 1px solid var(--cn-border);
    border-radius: 12px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cn-follow-text h2 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
}
.cn-follow-text p {
    font-size: 14px;
    color: var(--cn-text-muted);
    margin: 0;
}
.cn-follow-icons {
    display: flex;
    gap: 15px;
}
.cn-follow-icons a {
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
    transition: 0.3s;
}
.icon-telegram { background: #229ED9; }
.icon-instagram { background: #E1306C; }
.icon-linkedin { background: #0077b5; }
.cn-follow-icons a:hover { opacity: 0.8; transform: translateY(-3px); }

/* Responsive */
@media (max-width: 1024px) {
    .cn-values-grid, .cn-services-grid { grid-template-columns: repeat(3, 1fr); }
    .cn-stats-flex { flex-wrap: wrap; gap: 30px; }
    .cn-stat-item { min-width: 30%; }
    .cn-stat-item::after { display: none; }
}
@media (max-width: 768px) {
    .cn-mv-section { grid-template-columns: 1fr; margin-top: -30px; }
    .cn-follow-box { flex-direction: column; text-align: center; gap: 20px; }
    .cn-stat-item { min-width: 45%; }
}
@media (max-width: 576px) {
    .cn-values-grid, .cn-services-grid { grid-template-columns: repeat(2, 1fr); }
    .cn-stat-item { min-width: 100%; }
    .cn-team-card { min-width: 150px; }
}
