@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: #F7FAFC;
    --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;
    font-family: 'Inter', sans-serif;
}

/* --------------------------------------------------
   1. HERO SECTION (WITH BACKGROUND VIDEO & GRADIENT OVERLAY)
-------------------------------------------------- */
/* Default / Desktop Styles */
.hero {
    position: relative;
    min-height: 85vh; /* Desktop par full screen look */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    overflow: hidden;
}

/* Tablet Screens (Laptop & iPad / 768px - 1024px) */
@media (max-width: 1024px) {
    .hero {
        min-height: 65vh;
        padding: 60px 20px;
    }
}

/* Mobile Screens (Small Screens / <= 767px) */
@media (max-width: 767px) {
    .hero {
        min-height: 50vh;
        padding: 40px 16px;
    }
}

/* Extra Small Mobile Screens (<= 480px) */
@media (max-width: 480px) {
    .hero {
        min-height: 400px;
        padding: 30px 12px;
    }
}

/* Background Video Styling */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Exact Match Gradient Overlay Over Video */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg, 
        rgba(195, 218, 238, 0.70) 0%, 
        rgba(238, 222, 172, 0.65) 35%, 
        rgba(235, 182, 83, 0.75) 100%
    );
    z-index: 1;
}

/* Content layer over gradient overlay */
.hero-content {
    position: relative;
    max-width: 900px;
    z-index: 2;
}

.brand-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    /*margin-bottom: 15px; */
}

.hero-logo-img {
    /*max-width: 180px; */
    height: auto;
    margin-bottom: 10px; 
    /* transition: transform 0.3s ease; */
}

.hero-logo-img:hover {
    transform: scale(1.05);
}

.brand-title {
    font-family: 'Source Serif Pro', serif;
    font-size: 1.6rem;
    letter-spacing: 2px;
    font-weight: 800;
    color: var(--primary-orange);
    text-transform: uppercase;
}

.hero h1 {
    font-family: 'Source Serif Pro', serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: #1A202C;
    margin: 15px 0;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 30px auto;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Buttons & Hover Effects */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn-orange {
    background-color: var(--primary-orange);
    color: var(--white);
    border: 2px solid var(--primary-orange);
}

.btn-orange:hover {
    background-color: #d04d18;
    border-color: #d04d18;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 93, 34, 0.3);
}

.btn-blue {
    background-color: var(--secondary-blue);
    color: var(--white);
    border: 2px solid var(--secondary-blue);
}

.btn-blue:hover {
    background-color: #092b63;
    border-color: #092b63;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 59, 133, 0.3);
}

/* --------------------------------------------------
   2. STATS SECTION
-------------------------------------------------- */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: -40px auto 60px auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.stat-item {
    background: var(--white);
    padding: 30px 20px;
    text-align: center;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border-top: 4px solid var(--primary-orange);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.stat-item h2 {
    font-family: 'Source Serif Pro', serif;
    font-size: 2.2rem;
    color: var(--primary-orange);
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-gray);
}

/* --------------------------------------------------
   3. WHAT WE DO SECTION
-------------------------------------------------- */
.section-padding {
    padding: 70px 20px;
}

.bg-image-section {
    position: relative;
    background: url('https://bengalelectricalindustries.in/image/cta_bg.png') center/cover no-repeat fixed !important;
}

.bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.92);
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
    position: relative;
    z-index: 2;
}

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

.section-title p {
    color: var(--text-gray);
    font-size: 1rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #E2E8F0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

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

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

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

.card h3 {
    font-family: 'Source Serif Pro', serif;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.card ul {
    list-style: none;
    margin-bottom: 30px;
}

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

.card ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
}

/* --------------------------------------------------
   4. WHY CHOOSE US
-------------------------------------------------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-box {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
}

.feature-box:hover {
    border-color: var(--primary-orange);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.feature-box h4 {
    font-family: 'Source Serif Pro', serif;
    font-size: 1.15rem;
    margin: 15px 0 10px 0;
}

.feature-box p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* --------------------------------------------------
   5. CTA SECTION
-------------------------------------------------- */
.cta {
    position: relative;
    text-align: center;
    color: #000000;
    background: linear-gradient(rgb(238 241 247 / 85%), rgb(239 243 249 / 85%)), 
                url('https://bengalelectricalindustries.in/image/cta_bg.png') center/cover no-repeat fixed !important;
    padding: 100px 20px;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: 'Source Serif Pro', serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #000000;
    letter-spacing: 0.5px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    color: #000000;
    font-weight: 400;
}

.btn-outline {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--primary-orange, #E85D22);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 4px;
    border: 2px solid var(--primary-orange, #E85D22);
    box-shadow: 0 4px 15px rgba(232, 93, 34, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-outline:hover {
    background-color: #D04D18;
    border-color: #D04D18;
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(232, 93, 34, 0.6);
}

/* --------------------------------------------------
   6. RESPONSIVE MEDIA QUERIES
-------------------------------------------------- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .brand-title { font-size: 1.2rem; }
    .hero p { font-size: 0.95rem; }
    .stats { margin-top: 20px; }
    .section-padding { padding: 50px 20px; }
    .section-title h2 { font-size: 1.8rem; }
    .cta { padding: 60px 20px; }
    .cta-content h2 { font-size: 1.8rem; }
    .cta-content p { font-size: 1rem; }
}