@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: 60px 0 80px 0;
}

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

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

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

/* --------------------------------------------------
   2. TEXT DESCRIPTION BOX
-------------------------------------------------- */
.installation-text-box {
    max-width: 900px;
    margin: 0 auto 40px auto;
    text-align: center;
}

.installation-text-box p {
    font-size: 1.02rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* --------------------------------------------------
   3. CURVED IMAGE SLIDER CONTAINER
-------------------------------------------------- */
.installation-slider-wrapper {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: 40px; /* Distinctive curved border matching screenshot */
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    transform: scale(1.02);
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.slider-container:hover .slide.active img {
    transform: scale(1.04); /* Subtle mouse-over zoom effect */
}

/* --------------------------------------------------
   4. SLIDER DOTS (INDICATORS)
-------------------------------------------------- */
.slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid #333333;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.dot.active {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    transform: scale(1.15);
}

.dot:hover {
    border-color: var(--primary-orange);
    transform: scale(1.1);
}

/* --------------------------------------------------
   5. RESPONSIVE MEDIA QUERIES
-------------------------------------------------- */
@media (max-width: 992px) {
    .slider-container {
        height: 400px;
        border-radius: 30px;
    }
    .about-hero-title {
        font-size: 2.6rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 40px 0 60px 0;
    }
    .about-hero {
        padding: 60px 20px;
    }
    .about-hero-title {
        font-size: 2.1rem;
    }
    .about-hero-subtitle {
        font-size: 0.95rem;
    }
    .slider-container {
        height: 280px;
        border-radius: 20px;
    }
    .installation-text-box p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .slider-container {
        height: 220px;
        border-radius: 16px;
    }
}