/* Base styles shared across all pages */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo a {
    display: block;
    text-decoration: none;
}

.logo h2 {
    color: #000000;
    font-weight: 700;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.logo a:hover h2 {
    color: #eaaa0e;
}


.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 10px 18px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: block;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: #eaaa0e;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: #eaaa0e;
    background: rgba(234, 170, 14, 0.08);
}

.nav-link:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, #eaaa0e 0%, #d29a0c 100%);
    box-shadow: 0 4px 12px rgba(234, 170, 14, 0.3);
}

.nav-link.active::before {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Page header */
.page-header {
    position: relative;
    color: white;
    padding: 150px 0 80px;
    text-align: center;
    overflow: hidden;
}

.page-header-background-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    transition: background-image 1s ease-in-out;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Contact Information */
.contact-info {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-details h2 {
    color: #000000;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.contact-details > p {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 50px;
    line-height: 1.6;
}

.contact-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #eaaa0e;
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.method-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.method-content h3 {
    color: #000000;
    margin-bottom: 5px;
    font-size: 1.1rem;
    font-weight: 600;
}

.method-content p {
    color: #555;
    margin: 0;
    font-size: 1rem;
}

.method-content a {
    color: #eaaa0e;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.method-content a:hover {
    color: #d29a0c;
    text-decoration: underline;
}

/* Contact Form */
.contact-form-section h2 {
    color: #000000;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #eaaa0e;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
}

.form-submit {
    text-align: center;
    padding-top: 20px;
}

.submit-btn {
    background: #eaaa0e;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #e55a2b;
}

/* Service Areas */
.service-areas {
    padding: 60px 0;
    background: #f8f9fa;
    text-align: center;
}

.service-areas h2 {
    font-size: 2rem;
    color: #000000;
    margin-bottom: 15px;
}

.service-areas > p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #666;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto 30px;
}

.area-column ul {
    list-style: none;
    padding: 0;
}

.area-column li {
    padding: 8px 0;
    color: #333;
    font-weight: 500;
}

.areas-note {
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
    margin-top: 20px;
}

/* Emergency Services */
.emergency-services {
    padding: 80px 0;
    background: #eaaa0e;
    color: white;
    text-align: center;
}

.emergency-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.emergency-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.emergency-contact {
    margin-top: 30px;
}

.emergency-button {
    background: white;
    color: #eaaa0e;
    padding: 20px 40px;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.emergency-button:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.emergency-contact p {
    font-size: 1rem;
    opacity: 0.9;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

.faq-section h2 {
    color: #000000;
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-item h3 {
    color: #000000;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.faq-item p {
    color: #555;
    line-height: 1.8;
}

/* Service Areas */
.service-areas {
    padding: 80px 0 60px;
    background: #f8f9fa;
    position: relative;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

.service-areas h2 {
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 15px;
    text-align: center;
}

.areas-intro {
    font-size: 1.2rem;
    color: #555;
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.areas-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto 50px;
    align-items: start;
}

.counties-section h3 {
    font-size: 1.8rem;
    color: #000000;
    margin-bottom: 25px;
}

.counties-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.counties-list li {
    color: #333;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.check-icon {
    color: #eaaa0e;
    font-weight: 700;
    font-size: 1.3rem;
}

.areas-map-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.county-map {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.contact-details {
    max-width: 1100px;
    margin: 50px auto 0;
    padding-top: 40px;
    border-top: 2px solid #eaaa0e;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    font-size: 1.5rem;
    min-width: 30px;
}

.contact-text strong {
    display: block;
    color: #000;
    font-size: 1rem;
    margin-bottom: 3px;
}

.contact-text p {
    color: #eaaa0e;
    font-size: 0.95rem;
    margin: 0;
    font-weight: 500;
}

/* Certifications Section */
.certifications-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 80px 0;
    overflow: hidden;
}

.certifications-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 15px;
}

.certifications-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
}

.certifications-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.carousel-track {
    display: flex;
    gap: 60px;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

.carousel-track:hover {
    animation-play-state: paused;
}

.cert-item {
    flex-shrink: 0;
    width: 280px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 24px rgba(234, 170, 14, 0.3);
}

.cert-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Footer */
.footer {
    background: #100e0a;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 150px repeat(3, 1fr) 150px;
    gap: 40px;
    align-items: start;
}

.footer-logo-left,
.footer-logo-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo {
    width: 180px;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: #eaaa0e;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #eaaa0e;
}

.social-media {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 35px;
    height: 35px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.15);
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid #eaaa0e;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 10px 0;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-details h2,
    .contact-form-section h2 {
        font-size: 2rem;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .areas-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .service-areas h2,
    .emergency-content h2,
    .faq-section h2 {
        font-size: 2rem;
    }

    .emergency-button {
        font-size: 1.1rem;
        padding: 15px 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-logo-left,
    .footer-logo-right {
        display: none;
    }
}
