@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: #2D3748;
    --text-gray: #4A5568;
    --light-bg: #F8FAFC;
    --white: #FFFFFF;
}

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

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

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

.section {
    padding: 70px 0;
}

/* --------------------------------------------------
   1. ABOUT HERO BANNER (FIXED BACKGROUND IMAGE & GRADIENT)
-------------------------------------------------- */
.about-hero {
    position: relative;
    padding: 100px 20px 80px 20px;
    text-align: center;
    border-bottom: 1px solid #E2E8F0;
    overflow: hidden;
    background-image: url('https://bengalelectricalindustries.in/image/cta_bg.png') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* Gradient overlay pseudo-element to guarantee top sky blue & bottom golden tint */
.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg, 
        rgba(195, 218, 238, 0.75) 0%, 
        rgba(238, 222, 172, 0.65) 40%, 
        rgba(235, 182, 83, 0.80) 100%
    );
    z-index: 1;
}

/* Elevate hero text layers above gradient overlay */
.about-hero-title,
.about-hero-subtitle,
.about-hero .container {
    position: relative;
    z-index: 2;
}

.about-hero-title {
    font-family: 'Source Serif Pro', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #1A202C;
    margin-bottom: 10px;
}

.about-hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
}

/* --------------------------------------------------
   2. OUR STORY & FOUNDER SECTION
-------------------------------------------------- */
.story-founder-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.badge-orange {
    display: inline-block;
    background-color: var(--primary-orange);
    color: var(--white);
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.story-title {
    font-family: 'Source Serif Pro', serif;
    font-size: 2.2rem;
    color: #1A202C;
    margin-bottom: 20px;
}

.story-title span {
    color: var(--primary-orange);
}

.story-text {
    color: var(--text-gray);
    font-size: 0.98rem;
    margin-bottom: 15px;
    line-height: 1.7;
}

.founder-col {
    text-align: center;
}

.founder-badge {
    font-size: 0.9rem;
    font-weight: 800;
    color: #1A202C;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 15px;
}

.founder-badge span {
    color: var(--primary-orange);
}

.founder-card {
    background: var(--white);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.founder-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.founder-img-box {
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
}

.founder-img {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.4s ease;
}

.founder-card:hover .founder-img {
    transform: scale(1.03);
}

.founder-name {
    font-family: 'Source Serif Pro', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1A202C;
    margin-top: 5px;
}

/* --------------------------------------------------
   3. OUR VALUES SECTION
-------------------------------------------------- */
.values-section {
    background: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)), 
                url('https://bengalelectricalindustries.in/image/cta_bg.png') center/cover no-repeat fixed;
}

.section-title-wrapper {
    text-align: center;
    background: rgba(255, 255, 255, 0.85);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.section-title {
    font-family: 'Source Serif Pro', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #1A202C;
    margin-bottom: 5px;
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 0.95rem;
}

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

.value-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

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

.border-top-orange { border-top: 4px solid var(--primary-orange); }
.border-top-blue { border-top: 4px solid var(--secondary-blue); }

.value-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.icon-bg-orange { background-color: #FFF5F0; color: var(--primary-orange); }
.icon-bg-blue { background-color: #EBF8FF; color: var(--secondary-blue); }

.value-title {
    font-family: 'Source Serif Pro', serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1A202C;
}

.value-desc {
    color: var(--text-gray);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* --------------------------------------------------
   4. MISSION & VISION SECTION
-------------------------------------------------- */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.mv-card {
    padding: 40px 30px;
    border-radius: 8px;
    color: var(--white);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-5px);
}

.mv-card-orange { background-color: var(--primary-orange); }
.mv-card-blue { background-color: var(--secondary-blue); }

.mv-title {
    font-family: 'Source Serif Pro', serif;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.mv-text {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.95;
}

/* --------------------------------------------------
   5. A FAMILY BUSINESS SECTION
-------------------------------------------------- */
.family-business-section {
    background-color: var(--white);
    text-align: center;
    padding: 60px 0;
}

.family-business-text {
    max-width: 850px;
    margin: 20px auto 0 auto;
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.8;
}

/* --------------------------------------------------
   6. RESPONSIVE MEDIA QUERIES
-------------------------------------------------- */
@media (max-width: 900px) {
    .story-founder-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-hero-title { font-size: 2.2rem; }
    .story-title { font-size: 1.8rem; }
    .section { padding: 50px 0; }
}