/* ===================================
   RMP ELECTRICALS
   GLOBAL CSS
=================================== */

:root {

    --primary: #002D72;
    --secondary: #ED1C24;

    --dark: #111827;
    --light: #F8FAFC;
    --white: #ffffff;

    --text: #555555;
    --border: #e5e7eb;

    --transition: all .4s ease;

}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


:root{

    --primary:#002D72;
    --secondary:#ED1C24;
    --white:#fff;
    --dark:#222;

}

/* Reset */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins',sans-serif;
}

a{
    text-decoration:none !important;
}

/* ====================
   TOP HEADER
==================== */

.top-header{

    background:var(--primary);
    padding:8px 0;

}

.header-info{

    display:flex;
    justify-content:center;
    align-items:center;
    gap:15px;

}

.header-item{

    display:flex;
    align-items:center;
    gap:6px;

    color:var(--white);
    font-size:14px;
    font-weight:500;

}

.header-item i{

    color:var(--secondary);

}

.divider{

    width:1px;
    height:16px;
    background:rgba(255,255,255,.4);

}

/* ====================
   NAVBAR
==================== */

.custom-navbar{

    background:#fff;

    padding:12px 0;

    box-shadow:0 2px 15px rgba(0,0,0,.08);

    position:sticky;
    top:0;
    z-index:999;

}

.navbar-brand img{

    height:90px;

}

.navbar-nav{

    gap:10px;

}

.nav-link{

    color:var(--primary) !important;

    font-weight:600;

    position:relative;

    padding:10px 15px !important;

    transition:.3s;

}

/* Underline Effect */

.nav-link::after{

    content:"";

    position:absolute;

    left:50%;
    bottom:0;

    width:0;

    height:2px;

    background:var(--secondary);

    transition:.3s;

    transform:translateX(-50%);

}

.nav-link:hover::after,
.nav-link.active::after{

    width:70%;

}

.nav-link:hover{

    color:var(--secondary) !important;

}

/* Button */

.nav-btn{

    background:var(--secondary);

    color:#fff;

    padding:12px 25px;

    border-radius:50px;

    margin-left:20px;

    font-weight:600;

    transition:.3s;

}

.nav-btn:hover{

    background:var(--primary);

    color:#fff;

}

/* Toggler */

.navbar-toggler{

    border:none;

}

.navbar-toggler:focus{

    box-shadow:none;

}

.navbar-toggler i{

    font-size:34px;

    color:var(--primary);

}

/* ====================
   MOBILE
==================== */

@media(max-width:991px){

    .navbar-brand img{

        height:80px;

    }

    .navbar-collapse{

        margin-top:15px;

        background:#fff;

        border-radius:15px;

        padding:15px;

        box-shadow:0 10px 20px rgba(0,0,0,.08);

    }

    .nav-link{

        text-align:center;

        padding:12px !important;

    }

    .nav-btn{

        display:block;

        width:100%;

        text-align:center;

        margin:15px 0 0;

    }

}

@media(max-width:576px){

  

    .header-info{

        gap:10px;

    }

    .header-item{

        font-size:12px;

    }

    .navbar-brand img{

        height:75px;

    }

}

.hero-section{
    overflow:hidden;
}

.hero-slide{

    min-height:85vh;

    display:flex;
    align-items:center;

    background:#f8f9fa;
}

.hero-tag{

    background:#ED1C24;

    color:#fff;

    padding:8px 18px;

    border-radius:30px;

    font-size:14px;

    font-weight:600;

}

.hero-slide h1{

    font-size:58px;

    font-weight:800;

    color:#002D72;

    margin:20px 0;

}

.hero-slide p{

    font-size:18px;

    color:#666;

    margin-bottom:30px;

}

.hero-btn{

    background:#ED1C24;

    color:#fff;

    padding:14px 30px;

    border-radius:50px;

    display:inline-block;

}

.hero-btn:hover{

    background:#002D72;

    color:#fff;

}

.hero-img{

    max-width:100%;
}

/* ==========================
   HERO MOBILE FIX
========================== */

@media (max-width: 991px) {

    .hero-slide {
        min-height: auto;
        padding: 60px 0;
        text-align: center;
    }

    .hero-slide .row {
        flex-direction: column-reverse;
    }

    .hero-slide .col-lg-6:first-child {
        margin-top: 30px;
    }

    .hero-img {
        max-width: 280px;
        width: 100%;
        margin: auto;
        display: block;
    }

    .hero-slide h1 {
        font-size: 32px;
        line-height: 1.3;
        margin: 15px 0;
    }

    .hero-slide p {
        font-size: 15px;
        line-height: 1.8;
        margin-bottom: 20px;
    }

    .hero-btn {
        display: inline-block;
        padding: 12px 25px;
    }

    .hero-tag {
        font-size: 12px;
        padding: 8px 15px;
    }

}

/* Small Mobile */

@media (max-width: 576px) {

    .hero-slide {
        padding: 40px 0 60px;
    }

    .hero-img {
        max-width: auto;
    }

    .hero-slide h1 {
        font-size: 26px;
    }

    .hero-slide p {
        font-size: 14px;
    }

}

.swiper-button-next,
.swiper-button-prev{

    color:#002D72;

}

.swiper-pagination-bullet-active{

    background:#ED1C24;

}


.about-section{

    padding:100px 0;
    background:#fff;

}

.section-tag{

    display:inline-block;

    background:#ED1C24;
    color:#fff;

    padding:8px 18px;

    border-radius:30px;

    font-size:14px;
    font-weight:600;

    margin-bottom:15px;

}

.about-section p {
    text-align: justify;
}

.about-section h2{

    font-size:42px;
    font-weight:800;

    color:#002D72;

    margin-bottom:20px;

}

.about-section p{

    color:#666;
    line-height:1.9;

}

.about-img{

    position:relative;

}

.about-img img{

    width:100%;

    border-radius:20px;

}

.experience-box{

    position:absolute;

    bottom:20px;
    right:20px;

    background:#002D72;

    color:#fff;

    padding:20px;

    border-radius:15px;

    text-align:center;

}

.experience-box h3{

    margin:0;

    font-size:36px;
    font-weight:800;

}

.about-features{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:15px;

    margin:30px 0;

}

.feature-item{

    display:flex;
    align-items:center;

    gap:10px;

    font-weight:600;

}

.feature-item i{

    color:#ED1C24;

}

.about-btn{

    display:inline-block;

    background:#ED1C24;
    color:#fff;

    padding:14px 30px;

    border-radius:50px;

    transition:.3s;

}

.about-btn:hover{

    background:#002D72;
    color:#fff;

}

@media(max-width:991px){

    .about-section{

        text-align:center;

    }

    .about-section h2{

        font-size:32px;

    }

    .about-features{

        grid-template-columns:1fr;

    }

    .experience-box{

        position:static;

        margin-top:20px;

        display:inline-block;

    }

}

@media(max-width:576px){

    .about-section{

        padding:70px 0;

    }

    .about-section h2{

        font-size:28px;

    }

}

.why-choose{

    background:#f8f9fa;

}

.section-heading{

    max-width:750px;
    margin:auto;

}

.section-tag{

    background:#ED1C24;

    color:#fff;

    padding:8px 18px;

    border-radius:30px;

    font-size:14px;
    font-weight:600;

}

.section-heading h2{

    color:#002D72;

    font-size:42px;

    font-weight:800;

    margin:20px 0;

}

.choose-card{

    background:#fff;

    padding:35px 25px;

    text-align:center;

    border-radius:20px;

    height:100%;

    transition:.4s;

    box-shadow:0 5px 20px rgba(0,0,0,.05);

}

.choose-card:hover{

    transform:translateY(-10px);

}

.icon-box{

    width:80px;
    height:80px;

    margin:auto;

    border-radius:50%;

    background:#002D72;

    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:32px;

    margin-bottom:20px;

}

.choose-card h4{

    color:#002D72;

    font-weight:700;

    margin-bottom:15px;

}

/* ==================================
   GLOBAL SECTION SPACING
================================== */

.section-padding{
    padding:100px 0;
}

@media(max-width:991px){

    .section-padding{
        padding:80px 0;
    }

}

@media(max-width:576px){

    .section-padding{
        padding:60px 0;
    }

}

.brands{

    background:#fff;

}

.brand-card{

    background:#fff;

    border:1px solid #eee;

    border-radius:20px;

    height:140px;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:20px;

    transition:.4s;

}

.brand-card:hover{

    transform:translateY(-8px);

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.brand-card img{

    max-width:100%;
    max-height:70px;

    object-fit:contain;

}

.products{

    background:#f8f9fa;

}

.product-card{

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    height:100%;

    transition:.4s;

    box-shadow:0 5px 20px rgba(0,0,0,.05);

}

.product-card:hover{

    transform:translateY(-10px);

    box-shadow:0 15px 40px rgba(0,0,0,.1);

}

.product-img{

    overflow:hidden;

}

.product-img img{

    width:100%;

    height:250px;

    object-fit:cover;

    transition:.5s;

}

.product-card:hover .product-img img{

    transform:scale(1.08);

}

.product-content{

    padding:25px;

    text-align:center;

}

.product-content h4{

    color:#002D72;

    font-weight:700;

    margin-bottom:10px;

}

.product-content p{

    margin:0;

    color:#666;

}

.banner-section{

    position: relative;

    overflow: hidden;

}

.banner-section img{

    width: 100%;

    height: 450px;

    object-fit: cover;

    display: block;

}

@media(max-width:991px){

    .banner-section img{

        height: 350px;

    }

}

@media(max-width:576px){

    .banner-section img{

        height: 220px;

    }

}

.services-section{

    background:#f8f9fa;

}

.service-card{

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    height:100%;

    transition:.4s;

    box-shadow:0 5px 20px rgba(0,0,0,.05);

}

.service-card:hover{

    transform:translateY(-10px);

    box-shadow:0 15px 40px rgba(0,0,0,.10);

}

.service-img{

    overflow:hidden;

}

.service-img img{

    width:100%;

    height:250px;

    object-fit:cover;

    transition:.5s;

}

.service-card:hover .service-img img{

    transform:scale(1.08);

}

.service-content{

    padding:25px;

}

.service-content h4{

    color:#002D72;

    font-weight:700;

    margin-bottom:15px;

}

.service-content p{

    margin:0;

    color:#666;

    line-height:1.8;

}

.gallery-item{

    position:relative;

    overflow:hidden;

    border-radius:20px;

}

.gallery-item img{

    width:100%;

    height:300px;

    object-fit:cover;

    transition:.5s;

}

.gallery-item:hover img{

    transform:scale(1.08);

}

.video-item{

    position:relative;

}

.play-btn{

    position:absolute;

    top:50%;
    left:50%;

    transform:translate(-50%,-50%);

    width:70px;
    height:70px;

    border-radius:50%;

    background:#ED1C24;

    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:35px;

    box-shadow:0 10px 30px rgba(0,0,0,.2);

}

@media(max-width:576px){

    .gallery-item img{

        height:250px;

    }

    .play-btn{

        width:60px;
        height:60px;

        font-size:30px;

    }

}


.testimonial-section{

    background:#f8f9fa;

}

.testimonialSwiper{

    padding-bottom:60px;

}

.testimonial-card{

    background:#fff;

    padding:35px 25px;

    border-radius:20px;

    text-align:center;

    height:100%;

    border:1px solid #eee;

    transition:.4s;

}

.testimonial-card:hover{

    transform:translateY(-10px);

    box-shadow:0 15px 35px rgba(0,0,0,.08);

}

.quote-icon{

    width:70px;
    height:70px;

    margin:auto;

    border-radius:50%;

    background:#002D72;

    display:flex;
    align-items:center;
    justify-content:center;

    margin-bottom:20px;

}

.quote-icon i{

    color:#fff;

    font-size:30px;

}

.stars{

    color:#ffc107;

    font-size:18px;

    margin-bottom:15px;

}

.testimonial-card p{

    color:#666;

    line-height:1.8;

    margin-bottom:20px;

}

.testimonial-card h5{

    color:#002D72;

    font-weight:700;

    margin:0;

}

/* Pagination */

.testimonialSwiper .swiper-pagination-bullet{

    width:12px;
    height:12px;

}

.testimonialSwiper .swiper-pagination-bullet-active{

    background:#ED1C24;

}   


.contact-section{

    position: relative;

    padding: 100px 0;

    background: #f8f9fa;

}

.contact-info{

    height: 100%;

    background: linear-gradient(
        135deg,
        #002D72,
        #0046B8
    );

    padding: 50px 35px;

    border-radius: 30px;

    color: #fff;

}

.contact-info h2{

    font-size: 42px;

    font-weight: 800;

    margin: 20px 0;

}

.contact-info p{

    opacity: .9;

}

.contact-box{

    display: flex;

    align-items: flex-start;

    gap: 20px;

    margin-top: 25px;

    padding: 20px;

    background: rgba(255,255,255,.08);

    border: 1px solid rgba(255,255,255,.1);

    border-radius: 20px;

}

.contact-box i{

    width: 60px;
    height: 60px;

    background: #ED1C24;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;

    flex-shrink: 0;

}

.contact-box h5{

    font-weight: 700;

    margin-bottom: 8px;

}

.contact-box p{

    margin-bottom: 5px;

    color: #fff;

}

/* Form */

.contact-form{

    background: #fff;

    padding: 45px;

    border-radius: 30px;

    box-shadow:
    0 20px 50px rgba(0,0,0,.08);

}

.contact-form .form-control{

    height: 58px;

    border-radius: 15px;

    border: 1px solid #ddd;

    padding-left: 20px;

}

.contact-form textarea{

    height: 150px !important;

    padding-top: 15px;

}

.contact-form .form-control:focus{

    border-color: #002D72;

    box-shadow: none;

}

.submit-btn{

    width: 100%;

    background: linear-gradient(
        135deg,
        #ED1C24,
        #ff4b4b
    );

    border: none;

    color: #fff;

    padding: 16px;

    border-radius: 50px;

    font-weight: 600;

    transition: .4s;

}

.submit-btn:hover{

    background: #002D72;

}

/* Mobile */

@media(max-width:991px){

    .contact-info{

        margin-bottom: 30px;

    }

}

@media(max-width:576px){

    .contact-section{

        padding: 70px 0;

    }

    .contact-info{

        padding: 30px 20px;

        text-align: center;

    }

    .contact-info h2{

        font-size: 30px;

    }

    .contact-box{

        text-align: left;

        padding: 15px;

    }

    .contact-box i{

        width: 50px;
        height: 50px;

        font-size: 18px;

    }

    .contact-form{

        padding: 25px;

    }

}

.footer-section{

    background: #002D72;

    color: #fff;

    padding-top: 80px;

    position: relative;

}

.footer-logo{

    max-width: 180px;

    margin-bottom: 20px;

    background: #fff;

}

.footer-widget h4{

    font-size: 22px;

    font-weight: 700;

    margin-bottom: 25px;

    position: relative;

    padding-bottom: 12px;

}

.footer-widget h4::after{

    content: '';

    position: absolute;

    left: 0;
    bottom: 0;

    width: 50px;
    height: 3px;

    background: #ED1C24;

}

.footer-widget p{

    color: rgba(255,255,255,.8);

    line-height: 1.9;

}

.footer-widget ul{

    list-style: none;

    padding: 0;
    margin: 0;

}

.footer-widget ul li{

    margin-bottom: 15px;

    color: rgba(255,255,255,.8);

}

.footer-widget ul li a{

    color: rgba(255,255,255,.8);

    transition: .3s;

}

.footer-widget ul li a:hover{

    color: #ED1C24;

    padding-left: 5px;

}

.footer-contact li{

    display: flex;

    gap: 10px;

    align-items: flex-start;

}

.footer-contact i{

    color: #ED1C24;

    margin-top: 4px;

}

.footer-bottom{

    margin-top: 60px;

    border-top: 1px solid rgba(255,255,255,.1);

    padding: 20px 0;

}

.footer-bottom-content{

    display: flex;

    justify-content: space-between;

    align-items: center;

}

.footer-bottom p{

    margin: 0;

    color: rgba(255,255,255,.8);

}

.footer-bottom a{

    color: #ED1C24;

    font-weight: 600;

}

.footer-bottom a:hover{

    color: #fff;

}

/* Mobile */

@media(max-width:991px){

    .footer-section{

        text-align: center;

    }

    .footer-widget h4::after{

        left: 50%;

        transform: translateX(-50%);

    }

    .footer-contact li{

        justify-content: center;

    }

    .footer-bottom-content{

        flex-direction: column;

        gap: 10px;

        text-align: center;

    }

}

.page-header{

    position: relative;

    height: 450px;

    background: linear-gradient(
        rgba(0,0,0,.55),
        rgba(0,0,0,.55)
    ),
    url('../img/bg.jpg');

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    background-attachment: fixed;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

}

.page-header-content{

    color: #fff;

}

.page-header-content h1{

    font-size: 65px;

    font-weight: 800;

    margin-bottom: 15px;

    text-transform: uppercase;

}

.page-header-content nav{

    display: flex;

    justify-content: center;

    gap: 10px;

    font-size: 18px;

}

.page-header-content nav a{

    color: #ED1C24;

}

.page-header-content nav span{

    color: #fff;

}

@media(max-width:991px){

    .page-header{

        height:350px;

        background-attachment: scroll;

    }

    .page-header-content h1{

        font-size:45px;

    }

}

@media(max-width:576px){

    .page-header{

        height:280px;

    }

    .page-header-content h1{

        font-size:34px;

    }

    .page-header-content nav{

        font-size:14px;

    }

}

.about-company{

    background:#fff;

}

.about-image{

    overflow:hidden;

    border-radius:25px;

}

.about-image img{

    width:100%;

    border-radius:25px;

    transition:.5s;

}

.about-image:hover img{

    transform:scale(1.05);

}

.about-company h2{

    color:#002D72;

    font-size:42px;

    font-weight:800;

    margin:20px 0;

}

.about-company p{

    color:#666;

    line-height:1.9;

    margin-bottom:20px;

}

.about-highlights{

    margin-top:30px;

}

.highlight-item{

    display:flex;

    align-items:center;

    gap:12px;

    margin-bottom:15px;

    font-weight:600;

}

.highlight-item i{

    color:#ED1C24;

    font-size:18px;

}

.mission-vision{

    background:#f8f9fa;

}

.mv-card{

    background:#fff;

    padding:50px 40px;

    border-radius:25px;

    height:100%;

    position:relative;

    overflow:hidden;

    transition:.4s;

    box-shadow:0 10px 30px rgba(0,0,0,.06);

}

.mv-card:hover{

    transform:translateY(-10px);

}

.mv-icon{

    width:90px;
    height:90px;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    margin-bottom:25px;

    font-size:40px;

    color:#fff;

}

.mission-card .mv-icon{

    background:#002D72;

}

.vision-card .mv-icon{

    background:#ED1C24;

}

.mv-card h3{

    font-size:30px;

    font-weight:700;

    color:#002D72;

    margin-bottom:20px;

}

.mv-card p{

    color:#666;

    line-height:1.9;

    margin:0;

}

.mission-card{

    border-top:5px solid #002D72;

}

.vision-card{

    border-top:5px solid #ED1C24;

}

.contact-details{

    background:#fff;

}

.contact-card{

    background:#f8f9fa;

    padding:40px 30px;

    border-radius:25px;

    text-align:center;

    height:100%;

    transition:.4s;

}

.contact-card:hover{

    transform:translateY(-10px);

    box-shadow:0 15px 40px rgba(0,0,0,.08);

}

.contact-icon{

    width:80px;
    height:80px;

    margin:auto;

    background:#002D72;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    margin-bottom:20px;

}

.contact-icon i{

    color:#fff;

    font-size:32px;

}

.contact-card h4{

    color:#002D72;

    font-weight:700;

    margin-bottom:15px;

}

.contact-card p{

    color:#666;

    margin-bottom:10px;

}

.contact-card a{

    color:#ED1C24;

    font-weight:600;

}

.map-section{

    line-height:0;

}

.map-section iframe{

    width:100%;

    height:500px;

    border:none;

}

@media(max-width:576px){

    .map-section iframe{

        height:350px;

    }

}


.whatsapp-float{

    position:fixed;

    left:25px;
    bottom:25px;

    width:65px;
    height:65px;

    background:#25D366;

    color:#fff;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:32px;

    z-index:9999;

    box-shadow:0 10px 25px rgba(37,211,102,.4);

    transition:.3s;

    animation:whatsappPulse 2s infinite;

}

.whatsapp-float:hover{

    color:#fff;

    transform:translateY(-5px);

}

@keyframes whatsappPulse{

    0%{
        box-shadow:0 0 0 0 rgba(37,211,102,.7);
    }

    70%{
        box-shadow:0 0 0 20px rgba(37,211,102,0);
    }

    100%{
        box-shadow:0 0 0 0 rgba(37,211,102,0);
    }

}

@media(max-width:576px){

    .whatsapp-float{

        width:55px;
        height:55px;

        font-size:28px;

        left:15px;
        bottom:15px;

    }

    .whatsapp-float span{

        display:none;

    }

}

#scrollTopBtn{

    position:fixed;

    right:25px;
    bottom:25px;

    width:55px;
    height:55px;

    border:none;

    border-radius:50%;

    background:#002D72;

    color:#fff;

    font-size:22px;

    cursor:pointer;

    z-index:999;

    opacity:0;

    visibility:hidden;

    transition:.4s;

    box-shadow:0 10px 25px rgba(0,45,114,.3);

}

#scrollTopBtn.active{

    opacity:1;

    visibility:visible;

}

#scrollTopBtn:hover{

    background:#ED1C24;

    transform:translateY(-5px);

}

.product-card{

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    height:100%;

    box-shadow:0 5px 20px rgba(0,0,0,.05);

}

.product-img{

    width:100%;

    height:250px;

    overflow:hidden;

    background:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

}

.product-img img{

    width:100%;

    height:100%;

    object-fit:contain;

    transition:.4s;

}

.product-card:hover .product-img img{

    transform:scale(1.05);

}

/* ===============================
   FLOATING CALL BUTTON
================================= */

.call-float{
    position:fixed;
    right:20px;
    bottom:100px; /* Above WhatsApp button */
    z-index:9999;

    display:flex;
    align-items:center;
    gap:10px;

    background:linear-gradient(135deg,#2E7D32,#1E3A8A);
    color:#fff;

    padding:14px 22px;
    border-radius:60px;

    text-decoration:none;
    font-weight:600;
    font-size:16px;

    box-shadow:0 12px 35px rgba(0,0,0,.25);

    transition:.4s;
    animation:callPulse 2s infinite;
}

.call-float i{
    width:50px;
    height:50px;
    border-radius:50%;
    background:#fff;
    color:#2E7D32;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:24px;
}

.call-float:hover{
    color:#fff;
    transform:translateY(-5px) scale(1.05);
    box-shadow:0 18px 45px rgba(0,0,0,.35);
}

/* Pulse Animation */

@keyframes callPulse{

    0%{
        box-shadow:0 0 0 0 rgba(46,125,50,.6);
    }

    70%{
        box-shadow:0 0 0 18px rgba(46,125,50,0);
    }

    100%{
        box-shadow:0 0 0 0 rgba(46,125,50,0);
    }

}

/* Mobile */

@media(max-width:768px){

.call-float{

    width:65px;
    height:65px;

    padding:0;

    justify-content:center;

    border-radius:50%;

    bottom:90px;
    right:15px;

}

.call-float span{
    display:none;
}

.call-float i{
    width:65px;
    height:65px;
    font-size:28px;
}

}