/* 
==============================================
    HOME APPLIANCE REPAIR DEHRADUN THEME
==============================================
*/

/* -- Variables & Base -- */
:root {
    --primary-color: #0d6efd; /* Trustworthy Blue */
    --secondary-color: #ffc107; /* Warning Yellow */
    --dark-bg: #1A252F;
    --text-color: #444;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #212529;
}

p {
    line-height: 1.7;
}

.separator {
    width: 60px;
    height: 3px;
    border-radius: 2px;
}

.tracking-wide {
    letter-spacing: 2px;
}

/* -- Header & Navigation -- */
.top-bar {
    font-size: 14px;
}

.top-bar a:hover {
    color: var(--secondary-color) !important;
    transition: 0.3s ease;
}

.navbar {
    transition: all 0.3s ease-in-out;
}

.navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    padding: 10px 15px !important;
    transition: 0.3s;
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.dropdown-menu {
    border-radius: 8px;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

/* -- Hero Section -- */
.hero-section {
    position: relative;
    padding: 100px 0;
}

/* -- Service Cards (Detailed) -- */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* -- Visual Service Grid (Images) -- */
.service-card img {
    height: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-card:hover h5 {
    color: var(--primary-color);
}

/* -- Footer -- */
.footer-area {
    background-color: var(--dark-bg) !important;
}

.footer-links a, .contact-info a {
    transition: color 0.3s ease;
}

.footer-links a:hover, .contact-info a:hover {
    color: var(--secondary-color) !important;
    padding-left: 5px;
}

/* -- Floating WhatsApp Button -- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF !important;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20b858;
}

/* -- Responsive Adjustments -- */
@media (max-width: 767.98px) {
    .top-bar .contact-info {
        flex-direction: column;
        gap: 5px !important;
        text-align: center;
    }
    .top-bar .d-none {
        display: none !important;
    }
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 30px;
        bottom: 20px;
        right: 20px;
    }
}

/* -- Hero Section Typography Fix -- */
.hero-title {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}