@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

:root {
    --primary-blue: #0a1d37;
    --accent-red: #e62e2e;
    --text-gray: #555;
    --bg-white: #f8fafc;
    --cream-white: #fdf5e6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.about-section {
    padding: 60px 0;
    display: flex;
    align-items: center;
    background-color: white;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 40px;
    gap: 30px;
}

.content-side { flex: 2; }

.subheading {
    color: var(--accent-red);
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

h1 {
    color: var(--primary-blue);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.description {
    color: var(--text-gray);
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Flexbox for side-by-side alignment */
.main-content-flex {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

/* Main Blue Card */
.group-companies-card {
    background: var(--primary-blue);
    border-radius: 12px;
    padding: 25px;
    flex: 1.6;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.card-header i { color: var(--accent-red); font-size: 1.3rem; }
.card-header h2 { color: var(--accent-red); font-size: 1.3rem; font-weight: 700; }

.category {
    color: #fff;
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 15px;
}

.services-list h3 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 12px;
}

/* Perfect Grid for Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.service-card {
    background-color: var(--cream-white);
    padding: 12px 5px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    min-height: 85px;
}

.service-card i { color: var(--accent-red); margin-bottom: 5px; font-size: 1.1rem; }
.service-card span { color: var(--primary-blue); font-size: 0.65rem; font-weight: 800; line-height: 1.2; }

/* Right Box - Styled to Match Blue Theme */
.why-choose-us {
    background: var(--primary-blue);
    padding: 25px;
    border-radius: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.why-choose-us h3 {
    color: #fff;
    margin-bottom: 15px;
    border-left: 4px solid var(--accent-red);
    padding-left: 10px;
    font-size: 1rem;
}

.why-choose-us ul { list-style: none; }
.why-choose-us li {
    color: #e0e0e0;
    font-size: 0.8rem;
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.why-choose-us li i { color: #22c55e; margin-top: 2px; }

/* CTA group */
.cta-group { display: flex; align-items: center; gap: 20px; }
.btn-primary {
    background-color: var(--primary-blue);
    color: white;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
}

.client-stats { display: flex; align-items: center; gap: 10px; }
.avatars { display: flex; align-items: center; }
.avatars img, .plus-icon {
    width: 35px; height: 35px;
    border-radius: 50%; border: 2px solid white;
    margin-left: -10px;
}
.plus-icon { background: #ff7a00; color: white; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; }

/* Image styling */
.image-side { flex: 1; position: relative; height: 450px; }
.image-wrapper { 
    position: relative; width: 100%; height: 90%; 
    background: white; border-radius: 15px; padding: 10px; z-index: 5;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.main-img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.video-overlay-circle {
    position: absolute; width: 140px; height: 140px; border-radius: 50%;
    border: 5px solid white; left: -70px; top: 50%; transform: translateY(-50%);
    overflow: hidden; z-index: 10;
}
.video-overlay-circle img { width: 100%; height: 100%; object-fit: cover; }
.red-bg-shape {
    position: absolute; top: 0; bottom: -20px; right: -40px; left: 40%;
    background: var(--accent-red); z-index: 1;
    clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
}

/* Responsiveness */
@media (max-width: 1024px) {
    .container { flex-direction: column; }
    .main-content-flex { flex-direction: column; }
    .image-side { width: 100%; height: 350px; }
    .video-overlay-circle { left: 10px; }
}