:root {
    --primary-color: #e10b15;
    --secondary-color: #f8b500;
    --accent-color: #c0392b;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --gradient: linear-gradient(135deg, #e10b15 0%, #c0392b 100%);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden; /* Prevent horizontal scroll */
}
/* Header Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}
.navbar-brand img {
    border-radius: 50%;
}
.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
    color: var(--dark-color) !important; /* Ensure text is visible */
}
.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}
.navbar-toggler {
    border: none;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/* Hero Section */
.hero {
    background: var(--gradient);
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0; /* Added padding for content */
}
.hero::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 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}
.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}
.btn-custom {
    background: var(--secondary-color);
    color: var(--dark-color);
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(248, 181, 0, 0.3);
}
.btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(248, 181, 0, 0.4);
    color: var(--dark-color);
}
/* Feature Cards Section */
.feature-cards-section {
    padding: 80px 0;
    background: #f9f9f9;
}
.feature-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}
.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}
.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}
.feature-card p {
    font-size: 0.95rem;
    color: #666;
}

/* Service Categories Section */
.service-categories-section {
    padding: 80px 0;
    background: white;
}
.service-category-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
    text-decoration: none; /* Remove underline from link */
    color: inherit; /* Inherit text color */
    display: block; /* Make the whole card clickable */
}
.service-category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}
.service-category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    transition: transform 0.3s ease;
}
.service-category-card:hover img {
    transform: scale(1.05);
}
.service-category-content {
    padding: 25px;
    text-align: center;
}
.service-category-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
    transition: color 0.3s ease;
}
.service-category-card:hover .service-category-content h3 {
    color: var(--primary-color);
}
.service-category-content p {
    font-size: 0.9rem;
    color: #666;
}

/* Guarantee Section */
.guarantee-section {
    background: var(--primary-color);
    color: white;
    padding: 80px 0;
    text-align: center;
}
.guarantee-section h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}
.guarantee-section h3 {
    font-size: 1.8rem;
    font-weight: 500;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: #f9f9f9;
}
.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}
.testimonial-card img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--primary-color);
}
.testimonial-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
}
.testimonial-card p {
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
}

/* Statistics Section */
.statistics-section {
    background: var(--dark-color);
    color: white;
    padding: 80px 0;
    text-align: center;
}
.statistic-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}
.statistic-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}
.statistic-card .value {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}
.statistic-card .label {
    font-size: 1.2rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* Contact Info Section */
.contact-info-section {
    padding: 80px 0;
    background: white;
}
.contact-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}
.contact-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}
.contact-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}
.contact-card p, .contact-card a {
    font-size: 1.1rem;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}
.contact-card a:hover {
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 50px 0 20px;
}
.footer h5 {
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--secondary-color);
}
.footer ul {
    list-style: none;
    padding: 0;
}
.footer ul li {
    margin-bottom: 10px;
}
.footer ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer ul li a:hover {
    color: var(--primary-color);
}
.footer p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}
.footer .copyright-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 20px;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Emergency Button */
.emergency-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(225, 11, 21, 0.4);
    z-index: 1000;
    animation: pulse 2s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none; /* Remove underline */
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
/* Responsive */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        padding: 20px;
        border-radius: 10px;
        margin-top: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    .navbar-nav .nav-link {
        margin: 5px 0;
        padding: 8px 15px;
        border-radius: 5px;
    }
    .navbar-nav .nav-link:hover {
        background-color: rgba(var(--primary-color-rgb), 0.1);
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .feature-card, .service-category-card, .testimonial-card, .statistic-card, .contact-card {
        margin-bottom: 30px; /* Add space between cards on smaller screens */
    }
}
@media (max-width: 767.98px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 0.9rem;
    }
    .btn-custom {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    .feature-cards-section, .service-categories-section, .testimonials-section, .statistics-section, .contact-info-section, .footer {
        padding: 50px 0;
    }
    .emergency-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        bottom: 20px;
        right: 20px;
    }
}
