/* ===== Epoxy flooring page: styles moved from inline ===== */

/* Hero banner */
.hero-banner {
    background-image: url('../img/epoxy-flooring-dehradun/banner11.webp'); /* path is relative to css/style.css */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 350px;
}

.hero-overlay {
    opacity: 0.6;
}

.hero-content {
    z-index: 2;
}

.hero-line {
    width: 60px;
    height: 3px;
}

.hero-label {
    letter-spacing: 1px;
    font-size: 0.875rem;
}

.display-2.hero-title {
    font-size: 2.5rem;
}

/* Intro / benefits section */
.service-row-offset {
    margin-top: -5rem;
}

.service-img {
    object-fit: cover;
}

/* Headings */
.heading-accent {
    color: #ab2522;
}

.faq-question {
    font-size: 18px;
}

/* \\\ SERVICES PAGE //// */


/* Banner Header Redesign */
.banner-header {
    position: relative;
    overflow: hidden;
}

.banner-content {
    padding: 2rem 0;
}

.banner-content .subtitle {
    display: inline-block;
    background: #E02B20;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.banner-content .main-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin: 1rem 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.title-underline {
    width: 80px;
    height: 4px;
    background: #E02B20;
    margin: 0 auto;
    border-radius: 2px;
}

/* Services Modern Section */
.services-modern {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.services-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%23f0f0f0" opacity="0.3"/></svg>') repeat;
    background-size: 50px 50px;
    pointer-events: none;
}

.service-item {
    position: relative;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(224,43,32,0.1);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.15);
}

/* Service Content */
.service-content {
    padding: 3rem;
    position: relative;
}

.service-header {
    margin-bottom: 1.5rem;
}

.service-content h4 {
    font-size: 2rem;
    font-weight: 600;
    color: #ab2522;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #6c757d;
    margin-bottom: 2rem;
}

.line-dec {
    width: 50px;
    height: 3px;
    background: #E02B20;
    margin: 1.5rem 0;
    border-radius: 2px;
}

.service-content ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.service-content ul li {
    padding: 0.5rem 0;
    color: #495057;
    font-weight: 500;
    position: relative;
    padding-left: 1.5rem;
}

.service-content ul li:before {
    content: '✦';
    color: #E02B20;
    position: absolute;
    left: 0;
    top: 0.5rem;
}

/* Service Image */
.service-image {
    padding: 2rem;
    position: relative;
}

.service-image figure {
    position: relative;
    /* border-radius: 15px; */
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    margin: 0;
}

.service-image figure:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}

.service-image figure img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    transition: all 0.4s ease;
}

.service-image figure:hover img {
    transform: scale(1.05);
}

/* CTA Button */
.cta-button {
    margin-top: 2rem;
}

.btn-modern {
    display: inline-block;
    padding: 1rem 2rem;
    background: #E02B20;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(224,43,32,0.3);
    border: none;
    cursor: pointer;
}

.btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(224,43,32,0.4);
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 992px) {
    .service-content {
        padding: 2rem;
    }
    
    .service-content h4 {
        font-size: 1.6rem;
    }
    
    .service-image figure img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .banner-content .main-title {
        font-size: 2.5rem;
    }
    
    .service-content {
        padding: 1.5rem;
    }
    
    .service-image {
        padding: 1rem;
        margin-bottom: 1rem;
    }
}

/* Animation for scroll reveal */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-item {
    animation: fadeInUp 0.6s ease forwards;
}

.service-item:nth-child(even) {
    animation-delay: 0.1s;
}

.service-item:nth-child(odd) {
    animation-delay: 0.2s;
}