@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Source+Serif+Pro:wght@600;700;900&display=swap');

:root {
    --primary-orange: #E85D22;
    --secondary-blue: #0D3B85;
    --text-dark: #1A202C;
    --text-gray: #4A5568;
    --light-bg: #F8FAFC;
    --white: #FFFFFF;
    --border-color: #E2E8F0;
}

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

body {
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0 80px 0;
}

/* --------------------------------------------------
   1. HERO BANNER
-------------------------------------------------- */
.about-hero {
    position: relative;
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), 
                url('https://bengalelectricalindustries.in/image/cta_bg.png') center/cover no-repeat;
    padding: 80px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.about-hero-title {
    font-family: 'Source Serif Pro', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.about-hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-gray);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --------------------------------------------------
   2. SECTION TITLE
-------------------------------------------------- */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-family: 'Source Serif Pro', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* --------------------------------------------------
   3. MANUFACTURING PRODUCTS GRID & CAPSULES
-------------------------------------------------- */
.mfg-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 45px 30px;
    align-items: center;
}

.mfg-card-item {
    display: flex;
    align-items: center;
    position: relative;
    transition: transform 0.3s ease;
}

.mfg-card-item:hover {
    transform: translateY(-4px);
}

.mfg-text-box {
    flex: 1;
    padding: 18px 25px;
    background: var(--white);
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-height: 90px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.3s ease;
}

.mfg-card-item:hover .mfg-text-box {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.mfg-text-box h3 {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0.3px;
}

.mfg-text-box h3 span {
    font-size: 0.8rem;
    font-weight: 600;
    display: block;
    margin-top: 2px;
}

/* Circle Image Container */
.mfg-img-circle {
    width: 125px;
    height: 125px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    padding: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s ease;
}

.mfg-card-item:hover .mfg-img-circle {
    transform: scale(1.06);
}

.mfg-img-circle img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* --------------------------------------------------
   4. STYLING VARIATIONS (ORANGE / BLUE & LEFT / RIGHT)
-------------------------------------------------- */

/* Left Items (Text on Left, Image Circle on Right) */
.mfg-orange-left .mfg-text-box,
.mfg-blue-left .mfg-text-box {
    border-radius: 50px 0 0 50px;
    padding-right: 45px;
    margin-right: -35px;
    text-align: center;
    justify-content: center;
}

/* Right Items (Image Circle on Left, Text on Right) */
.mfg-orange-right .mfg-text-box,
.mfg-blue-right .mfg-text-box {
    border-radius: 0 50px 50px 0;
    padding-left: 45px;
    margin-left: -35px;
    text-align: center;
    justify-content: center;
}

/* Orange Theme - Left */
.mfg-orange-left .mfg-text-box {
    border: 2px solid var(--primary-orange);
    border-right: none;
    border-bottom-style: dotted; /* Dotted bottom line as per reference */
}
.mfg-orange-left .mfg-text-box h3 { color: var(--secondary-blue); }
.mfg-orange-left .mfg-img-circle { border: 3px solid var(--primary-orange); }

/* Orange Theme - Right */
.mfg-orange-right .mfg-text-box {
    border: 2px solid var(--primary-orange);
    border-left: none;
    border-bottom-style: dotted;
}
.mfg-orange-right .mfg-text-box h3 { color: var(--secondary-blue); }
.mfg-orange-right .mfg-img-circle { border: 3px solid var(--primary-orange); }

/* Blue Theme - Left */
.mfg-blue-left .mfg-text-box {
    border: 2px solid var(--secondary-blue);
    border-right: none;
    border-bottom-style: dotted;
}
.mfg-blue-left .mfg-text-box h3 { color: var(--primary-orange); }
.mfg-blue-left .mfg-img-circle { border: 3px solid var(--secondary-blue); }

/* Blue Theme - Right */
.mfg-blue-right .mfg-text-box {
    border: 2px solid var(--secondary-blue);
    border-left: none;
    border-bottom-style: dotted;
}
.mfg-blue-right .mfg-text-box h3 { color: var(--primary-orange); }
.mfg-blue-right .mfg-img-circle { border: 3px solid var(--secondary-blue); }

/* --------------------------------------------------
   5. RESPONSIVE MEDIA QUERIES
-------------------------------------------------- */
@media (max-width: 992px) {
    .mfg-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .about-hero {
        padding: 60px 20px;
    }
    .about-hero-title {
        font-size: 2.2rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .mfg-img-circle {
        width: 95px;
        height: 95px;
    }
    .mfg-text-box {
        min-height: 75px;
        padding: 12px 18px;
    }
    .mfg-orange-left .mfg-text-box,
    .mfg-blue-left .mfg-text-box {
        padding-right: 30px;
        margin-right: -25px;
    }
    .mfg-orange-right .mfg-text-box,
    .mfg-blue-right .mfg-text-box {
        padding-left: 30px;
        margin-left: -25px;
    }
    .mfg-text-box h3 {
        font-size: 0.8rem;
    }
    .mfg-text-box h3 span {
        font-size: 0.7rem;
    }
}