/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

body, h1, h2, h3, h4, h5, h6, p, ul, li, a, input, textarea, button {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', 'Lato', sans-serif;
}

body {
    background: #f7f7f7;
    color: #333;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px;
    margin: 20px 0;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-3px);
}

/* Top Bar */
.top-bar {
    background: #222;
    color: #fff;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: #fff;
}

.top-bar i {
    font-size: 20px;
}

/* Header */
.header {
    background: #fff;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 50px;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav li a {
    padding: 10px;
    font-weight: 700;
    color: #333;
    transition: color 0.3s;
}

.nav li a:hover {
    color: #f7941e;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 60px;
        right: 0;
        background: #fff;
        width: 200px;
        transform: translateX(100%);
        transition: transform 0.3s;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    }

    .nav.open {
        transform: translateX(0);
    }

    .nav ul {
        flex-direction: column;
        gap: 0;
    }

    .nav li a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid #eee;
    }

    .mobile-menu-toggle {
        display: block;
    }
}

/* Hero */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background-size: cover;
    background-position: center;
}

.hero .overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    max-width: 600px;
    margin: 10px auto;
}

.hero h2 {
    margin: 20px 0 10px;
    font-size: 24px;
    font-weight: 700;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px 0;
    background: #f7941e;
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    text-align: center;
}

.btn-primary:hover, .btn-secondary:hover {
    background: #d67c16;
}

.animate-pulse {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(247,148,30,0.4); }
    70% { box-shadow: 0 0 0 20px rgba(247,148,30,0); }
    100% { box-shadow: 0 0 0 0 rgba(247,148,30,0); }
}

.contact-wrapper {
    max-width: 700px;
    margin: 20px auto;
}

.contact-form input, .contact-form textarea {
    width: 48%;
    margin: 1%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.contact-form textarea {
    width: 98%;
    height: 120px;
    margin: 1% 0;
}

.contact-form button {
    width: 100%;
    margin: 10px 0;
}

/* About */
.about-container {
    text-align: center;
}

.about h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.about p {
    max-width: 700px;
    margin: 0 auto 20px;
    font-size: 16px;
    line-height: 1.5;
}

.hero-video-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
}

.hero-video-container, .hero-video-image {
    flex: 1 1 300px;
    text-align: center;
}

.hero-image-container {
    text-align: center;
    margin: 40px 0;
}

.hero-image-container i {
    color: #f7941e;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    text-align: center;
}

.about-features .feature i {
    margin-bottom: 10px;
}

.about-features .feature h3 {
    margin: 10px 0;
    font-size: 20px;
}

/* Highlights */
.services-highlights .highlights-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    text-align: center;
}

.services-highlights .highlight i {
    margin-bottom: 10px;
}

.services-highlights .highlight h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

/* Services */
.services {
    text-align: center;
    background: #f0f0f0;
    padding: 60px 0;
}

.services .service-items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.services .service-item i {
    margin-bottom: 10px;
    color: #f7941e;
}

.services .service-item h3 {
    margin-bottom: 10px;
}

/* Testimonials */
.testimonials {
    background: #fff;
    padding: 60px 0;
    text-align: center;
}

.testimonials .testimonial-summary {
    margin-bottom: 40px;
}

.glider-contain {
    position: relative;
    margin: 0 auto;
    width: 100%;
}

.glider {
    display: flex;
    gap: 20px;
}

.glider-slide {
    min-width: 300px;
    /* Adjust the width as needed */
}

.testimonial-card {
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.glider-prev,
.glider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #f7941e;
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 18px;
    z-index: 1;
}

.glider-prev {
    left: -25px;
}

.glider-next {
    right: -25px;
}

.dots {
    text-align: center;
    margin-top: 20px;
}

.dots button {
    border: none;
    background: #ccc;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.dots button.active {
    background: #f7941e;
}

/* Ratings */
.ratings {
    background: #fafafa;
    text-align: center;
    padding: 40px 0;
}

.ratings-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.ratings-summary .rating {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

/* Emergency */
.emergency-services {
    text-align: center;
    background: #fff;
    padding: 40px 0;
}

.emergency-services p {
    max-width: 700px;
    margin: 0 auto 20px;
}

/* Comprehensive Services */
.comprehensive-services {
    background: #f9f9f9;
    text-align: center;
    padding: 60px 0;
}

.comprehensive-services ul {
    list-style: disc;
    text-align: left;
    max-width: 600px;
    margin: 20px auto;
    padding-left: 20px;
}

.comprehensive-services li {
    margin: 10px 0;
}

/* Blog */
.blog {
    background: #fff;
    text-align: center;
    padding: 60px 0;
}

.blog-posts {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.blog-posts .blog-post i {
    margin-bottom: 10px;
    color: #f7941e;
}

.blog-posts .blog-post h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.blog-posts .blog-post p {
    font-size: 16px;
    margin-bottom: 10px;
}

.blog-posts .blog-post .read-more {
    color: #f7941e;
    font-weight: 700;
}

/* Contact */
.contact {
    background: #f0f0f0;
    text-align: center;
    padding: 60px 0;
}

.contact-info p {
    margin: 10px 0;
    font-size: 16px;
}

.contact-info i {
    color: #f7941e;
    margin-right: 10px;
}

/* Footer */
.footer {
    background: #222;
    color: #fff;
    padding: 40px 0;
    position: relative;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer-content .footer-logo i {
    color: #f7941e;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-nav li a {
    color: #fff;
    font-weight: 700;
}

.footer-nav li a:hover {
    text-decoration: underline;
}

.footer-contact p, .footer-bottom p {
    font-size: 14px;
    margin: 5px 0;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    border-top: 1px solid #444;
    padding-top: 20px;
}

/* Back to Top */
#back-to-top {
    position: fixed;
    right: 20px;
    bottom: -60px;
    background: #f7941e;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: bottom 0.3s;
    z-index: 999;
}

#back-to-top.show {
    bottom: 20px;
}

/* Glider.js Overrides */
.glider-prev,
.glider-next {
    background: #f7941e;
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 18px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.glider-prev {
    left: -25px;
}

.glider-next {
    right: -25px;
}

.dots {
    text-align: center;
    margin-top: 20px;
}

.dots button {
    border: none;
    background: #ccc;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.dots button.active {
    background: #f7941e;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero p, .hero h2 {
        font-size: 16px;
    }

    .services .service-items {
        flex-direction: column;
    }

    .blog-posts, .about-features, .services-highlights .highlights-container {
        flex-direction: column;
    }

    /* Adjust Glider Buttons for Mobile */
    .glider-prev,
    .glider-next {
        padding: 8px 12px;
        font-size: 16px;
    }

    .testimonial-card {
        padding: 15px;
    }

    .slider-button {
        padding: 8px 16px;
        font-size: 14px;
    }
}
