/* Base Styles */
:root {
    --primary: #1a5db4;
    --primary-dark: #0f4a9c;
    --secondary: #f8b500;
    --dark: #333333;
    --gray: #777777;
    --light: #f8f8f8;
    --white: #ffffff;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--dark);
}

.btn-secondary:hover {
    background-color: #e0a800;
    color: var(--dark);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 800px;
    margin: 0 auto;
}

/* Announcement Bar */
.announcement-bar {
    background-color: var(--secondary);
    padding: 0.5rem 0;
    text-align: center;
}

.announcement-bar p {
    margin: 0;
    font-weight: 600;
    color: var(--dark);
}

.announcement-bar a {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Header */
.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    max-width: 180px;
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin-left: 1.5rem;
}

.main-nav ul li a {
    color: var(--dark);
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
}

.main-nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.main-nav ul li a:hover:after,
.main-nav ul li a.active:after {
    width: 100%;
}

.header-cta {
    display: flex;
    align-items: center;
}

.phone-button {
    display: flex;
    align-items: center;
    margin-right: 1rem;
    color: var(--primary);
    font-weight: 600;
}

.phone-button i {
    margin-right: 0.5rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    text-align: center;
    padding: 150px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Walk-In Services Section */
.walk-in-services {
    padding: 5rem 0;
    background-color: var(--light);
}

.walk-in-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.hours-card {
    flex: 1;
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 300px;
}

.hours-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.hours-card h3 {
    margin-bottom: 1.5rem;
}

.hours-card ul {
    margin-bottom: 1.5rem;
}

.hours-card ul li {
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 0.5rem;
}

.hours-card ul li span {
    font-weight: 600;
}

.walk-in-services-list {
    flex: 1;
    min-width: 300px;
}

.walk-in-services-list h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.service-item {
    background-color: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Services Section */
.services {
    padding: 5rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.service-card h3 {
    text-align: center;
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

.service-card ul {
    margin-bottom: 1.5rem;
}

.service-card ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-card ul li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary);
}

.service-card a {
    display: block;
    text-align: center;
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: var(--light);
}

.why-choose-us {
    margin-top: 3rem;
}

.why-choose-us h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

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

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.feature-card h4 {
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray);
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
}

.testimonials-slider {
    display: flex;
    overflow-x: hidden;
    gap: 2rem;
    margin-bottom: 2rem;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 300px;
    flex: 1;
}

.stars {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author .name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-author .location {
    font-size: 0.9rem;
    color: var(--gray);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.testimonial-controls button {
    background-color: var(--white);
    border: 1px solid var(--primary);
    color: var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-controls button:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Certifications Section */
.certifications {
    padding: 5rem 0;
    background-color: var(--light);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
}

.certification-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

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

.certification-icon {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.certification-icon img {
    max-height: 80px;
    max-width: 100%;
}

.certification-card h4 {
    margin-bottom: 0.5rem;
}

.certification-card p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Request Service Section */
.request-service {
    padding: 5rem 0;
}

.request-service-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.service-info {
    flex: 1;
    min-width: 300px;
}

.service-info h3 {
    margin-bottom: 1.5rem;
}

.service-info p {
    margin-bottom: 2rem;
}

.what-to-expect {
    margin-bottom: 2rem;
}

.what-to-expect h4 {
    margin-bottom: 1rem;
}

.what-to-expect ul li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.what-to-expect ul li i {
    color: var(--primary);
    margin-right: 0.5rem;
}

.emergency-services h4 {
    margin-bottom: 1rem;
}

.emergency-services p {
    margin-bottom: 1rem;
}

.emergency-phone {
    display: inline-flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
}

.emergency-phone i {
    margin-right: 0.5rem;
}

.service-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: var(--light);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.contact-card h3 {
    margin-bottom: 1rem;
}

.contact-card p {
    margin-bottom: 0.5rem;
}

.contact-card p.small {
    font-size: 0.9rem;
    color: var(--gray);
}

.contact-card a {
    color: var(--primary);
    font-weight: 600;
}

.contact-map {
    flex: 2;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Live Chat Widget */
.live-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chat-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.chat-toggle:hover {
    background-color: var(--primary-dark);
}

.chat-toggle i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.chat-popup {
    display: none;
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 300px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.chat-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    margin: 0;
}

.close-chat {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 1.2rem;
}

.chat-messages {
    height: 250px;
    padding: 1rem;
    overflow-y: auto;
}

.message {
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 10px;
    max-width: 80%;
}

.message p {
    margin: 0;
    margin-bottom: 0.25rem;
}

.message .time {
    font-size: 0.8rem;
    color: var(--gray);
    text-align: right;
}

.message.received {
    background-color: #f1f1f1;
    align-self: flex-start;
}

.message.sent {
    background-color: #e3f2fd;
    align-self: flex-end;
    margin-left: auto;
}

.chat-input {
    display: flex;
    border-top: 1px solid #ddd;
    padding: 0.5rem;
}

.chat-input input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-right: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.chat-input button {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 5px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-input button:hover {
    background-color: var(--primary-dark);
}

/* Footer */
.site-footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    flex: 2;
    min-width: 300px;
}

.footer-logo img {
    max-width: 180px;
    margin-bottom: 1.5rem;
}

.footer-logo p {
    color: #bbb;
}

.footer-links,
.footer-services,
.footer-contact {
    flex: 1;
    min-width: 200px;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h4:after,
.footer-services h4:after,
.footer-contact h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-links ul li,
.footer-services ul li,
.footer-contact ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a,
.footer-services ul li a {
    color: #bbb;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    color: #bbb;
}

.footer-contact ul li i {
    margin-right: 0.75rem;
    color: var(--secondary);
    width: 20px;
    text-align: center;
}

.footer-contact ul li a {
    color: #bbb;
}

.footer-contact ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    color: #bbb;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: #bbb;
    font-size: 0.9rem;
}

.footer-legal a:hover {
    color: var(--white);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .site-header .container {
        flex-wrap: wrap;
    }
    
    .logo {
        margin-right: auto;
    }
    
    .main-nav {
        order: 3;
        width: 100%;
        display: none;
        margin-top: 1rem;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav ul li {
        margin: 0;
        margin-bottom: 0.5rem;
    }
    
    .header-cta {
        display: none;
    }
    
    .header-cta.active {
        order: 4;
        width: 100%;
        display: flex;
        flex-direction: column;
        margin-top: 1rem;
    }
    
    .header-cta .phone-button {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero {
        height: 500px;
    }
    
    .hero-content {
        padding: 100px 20px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 400px;
    }
    
    .hero-content {
        padding: 80px 20px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .services-grid,
    .features-grid,
    .certifications-grid {
        grid-template-columns: 1fr;
    }
}

/* Smaller Certifications Section */
.certifications-small {
    padding: 2rem 0;
    background-color: #f8f8f8;
}

.certifications-small .section-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.certifications-small .section-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

.certifications-small-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.certification-small-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
    text-align: center;
}

.certification-small-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.certification-small-item span {
    font-size: 0.8rem;
    font-weight: 500;
    color: #555;
}

@media (max-width: 768px) {
    .certifications-small-grid {
        gap: 1rem;
    }
    
    .certification-small-item {
        width: 100px;
    }
    
    .certification-small-item img {
        width: 50px;
        height: 50px;
    }
    
    .certification-small-item span {
        font-size: 0.7rem;
    }
}

