@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: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 70px 0;
}

/* --------------------------------------------------
   1. HERO BANNER
-------------------------------------------------- */
.services-hero {
    position: relative;
    padding: 100px 20px 80px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    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 */
.services-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 content layers above gradient overlay */
.services-hero-title,
.services-hero-subtitle,
.services-hero .container {
    position: relative;
    z-index: 2;
}

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

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

/* --------------------------------------------------
   2. CORE SERVICES SECTION
-------------------------------------------------- */
.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: 25px;
}

.core-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.core-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.core-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px 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); }

.service-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.service-card-desc {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.service-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.service-list li {
    position: relative;
    padding-left: 20px;
    color: var(--text-gray);
    font-size: 0.92rem;
    margin-bottom: 8px;
}

.service-list li::before {
    content: "•";
    color: var(--primary-orange);
    font-size: 1.3rem;
    position: absolute;
    left: 0;
    top: -2px;
}

/* --------------------------------------------------
   3. PRODUCTS WE DEAL IN SECTION
-------------------------------------------------- */
.products-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: var(--text-dark);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.product-card {
    background: var(--white);
    padding: 30px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.product-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 18px;
    transition: transform 0.3s ease;
}

.product-card:hover .product-icon {
    transform: scale(1.1);
}

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

.product-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.product-desc {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

.product-card-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

/* --------------------------------------------------
   4. MANUFACTURING & INSTALLATION SECTION
-------------------------------------------------- */
.mfg-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: stretch;
}

.mfg-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.mfg-card-content {
    flex-grow: 1;
}

.mfg-card-orange {
    background-color: #FF5722;
}

.mfg-card-blue {
    background-color: #002288;
}

.mfg-card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

.mfg-list {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 25px;
    color: #f1f1f1;
}

.mfg-list li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.mfg-card-text {
    line-height: 1.6;
    color: #f1f1f1;
    margin-bottom: 25px;
}

.btn-mfg {
    display: inline-block;
    align-self: flex-start;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.mfg-card-orange .btn-mfg {
    color: #FF5722;
}

.mfg-card-blue .btn-mfg {
    color: #002288;
}

.btn-mfg:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* --------------------------------------------------
   5. RESPONSIVE MEDIA QUERIES
-------------------------------------------------- */
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .core-grid,
    .products-grid,
    .mfg-grid {
        grid-template-columns: 1fr;
    }

    .services-hero-title { font-size: 2.2rem; }
    .section-title { font-size: 1.8rem; }
    .section { padding: 50px 0; }
    
    .btn-mfg {
        align-self: flex-start;
    }
}