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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

/* Header */
header {
    background: linear-gradient(135deg, #2d5a27 0%, #3d7a35 100%);
    color: white;
    padding: 3rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
}

.logo-image {
    height: 180px;
    width: auto;
    display: block;
    flex-shrink: 0;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.logo-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-align: left;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.tagline {
    font-size: 0.95rem;
    opacity: 0.85;
    font-weight: 300;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 0.75rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(45, 90, 39, 0.6), rgba(61, 122, 53, 0.6)),
                      url('https://images.unsplash.com/photo-1416879595882-3373a0480b5b?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
}

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

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

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.subtitle {
    font-size: 1.5rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* About Section */
.about {
    background: white;
    padding: 4rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2d5a27;
    text-align: left;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #555;
    text-align: left;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.dba {
    background: #ecf0f1;
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1.5rem;
}

/* Services Section */
.services {
    background: #ecf0f1;
    padding: 4rem 0;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2d5a27;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.service-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #ecf0f1;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #2d5a27;
    padding: 1.5rem 2rem 0;
}

.service-card p {
    color: #666;
    line-height: 1.8;
    padding: 0 2rem 2rem;
}

/* Contractors Section */
.contractors {
    background: white;
    padding: 4rem 0;
}

.contractors h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2d5a27;
    text-align: center;
}

.contractors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.contractor-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.contractor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.contractor-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
}

.contractor-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2d5a27;
}

.contractor-card p {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

/* Safety Section */
.safety {
    background: #fff3cd;
    border-top: 3px solid #ffc107;
    border-bottom: 3px solid #ffc107;
    padding: 3rem 0;
}

.safety-content {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.safety-icon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.safety-icon {
    font-size: 4rem;
}

.missdig-logo {
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.safety-text {
    flex: 1;
}

.safety-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #856404;
}

.safety-text p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #856404;
    line-height: 1.8;
}

.safety-text a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
}

.safety-text a:hover {
    text-decoration: underline;
}

/* Service Area Section */
.service-area {
    background: #f8f9fa;
    padding: 4rem 0;
    text-align: center;
}

.service-area h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2d5a27;
    text-align: center;
}

.service-area > p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #555;
    text-align: center;
}

.counties-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 2rem auto;
}

.county-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.county-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.county-item h3 {
    font-size: 1.5rem;
    color: #2d5a27;
    margin: 0;
}

.service-area > p:last-of-type {
    margin-top: 2rem;
}

/* Why Choose Us Section */
.why-choose-us {
    background: white;
    padding: 4rem 0;
}

.why-choose-us h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2d5a27;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2d5a27;
}

.benefit-card p {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

/* FAQ Section */
.faq {
    background: #f8f9fa;
    padding: 4rem 0;
}

.faq h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2d5a27;
    text-align: center;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: white;
    border: none;
    padding: 1.5rem 2rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: inherit;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-arrow {
    font-size: 0.8rem;
    color: #27ae60;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    display: inline-block;
}

.faq-question-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d5a27;
    flex: 1;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 2rem 1.5rem 2rem;
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
}

.faq-answer a {
    color: #27ae60;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.faq-answer a:hover {
    color: #229954;
    text-decoration: underline;
}

/* Contact Section */
.contact {
    background: white;
    padding: 4rem 0;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2d5a27;
}

.contact > p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #555;
}

.contact-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    display: inline-block;
    margin-top: 1rem;
}

.contact-info p {
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

.contact-info a {
    color: #27ae60;
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2d5a27;
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    z-index: 10000;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-consent-content p {
    margin: 0;
    flex: 1;
    min-width: 250px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.cookie-consent-content a {
    color: #27ae60;
    text-decoration: underline;
}

.cookie-consent-content a:hover {
    color: #229954;
}

.cookie-consent-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-accept,
.cookie-decline {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.cookie-accept {
    background: #27ae60;
    color: white;
}

.cookie-accept:hover {
    background: #229954;
    transform: translateY(-2px);
}

.cookie-decline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cookie-decline:hover {
    background: rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-consent-content p {
        min-width: 100%;
    }
    
    .cookie-consent-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-accept,
    .cookie-decline {
        flex: 1;
        max-width: 150px;
    }
}

/* Cookie Information Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.cookie-modal-content {
    background: white;
    border-radius: 10px;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid #f8f9fa;
}

.cookie-modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
    color: #2d5a27;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.cookie-modal-close:hover {
    background: #f8f9fa;
    color: #2d5a27;
}

.cookie-modal-body {
    padding: 2rem;
    color: #555;
}

.cookie-modal-body h3 {
    color: #2d5a27;
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.cookie-modal-body h3:first-child {
    margin-top: 0;
}

.cookie-modal-body p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.cookie-modal-body ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.cookie-modal-body li {
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.cookie-modal-footer {
    padding: 1.5rem 2rem;
    border-top: 2px solid #f8f9fa;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .cookie-modal-content {
        max-width: 95%;
    }
    
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: 1.25rem 1.5rem;
    }
    
    .cookie-modal-footer {
        flex-direction: column;
    }
    
    .cookie-modal-footer .cookie-accept,
    .cookie-modal-footer .cookie-decline {
        width: 100%;
    }
}

/* Footer */
footer {
    background: #2d5a27;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

/* Floating Scroll to Top Button */
.floating-scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background: #2d5a27;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(45, 90, 39, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.floating-scroll-top-btn:hover {
    background: #3d7a35;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(45, 90, 39, 0.5);
}

.floating-scroll-top-btn:active {
    transform: translateY(0);
}

.scroll-top-icon {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
}

/* Floating Contact Button */
.floating-contact-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.floating-contact-btn:hover {
    background: #229954;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(39, 174, 96, 0.5);
}

.floating-contact-btn:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 1.2rem;
}

.btn-text {
    display: inline;
}

@media (max-width: 768px) {
    .floating-scroll-top-btn {
        bottom: 1.5rem;
        left: 1.5rem;
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }

    .floating-contact-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .floating-scroll-top-btn {
        bottom: 1rem;
        left: 1rem;
        border-radius: 50%;
        width: 56px;
        height: 56px;
        padding: 0;
        justify-content: center;
        font-size: 0.85rem;
    }

    .floating-contact-btn {
        bottom: 1rem;
        right: 1rem;
        border-radius: 50%;
        width: 56px;
        height: 56px;
        padding: 0;
        justify-content: center;
        font-size: 0.85rem;
    }
    
    .floating-scroll-top-btn .btn-text,
    .floating-contact-btn .btn-text {
        display: none;
    }
    
    .floating-scroll-top-btn .scroll-top-icon {
        font-size: 2rem;
    }
    
    .floating-contact-btn .btn-icon {
        font-size: 1.5rem;
    }
}

footer p {
    margin: 0.5rem 0;
    opacity: 0.9;
}

.dba-footer {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 2rem 0;
    }

    .logo {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .logo-image {
        height: 140px;
        width: auto;
        margin-bottom: 0;
    }

    .logo-content {
        align-items: center;
    }

    .logo h1 {
        font-size: 2.5rem;
        text-align: center;
    }

    .tagline {
        text-align: center;
        font-size: 0.85rem;
        max-width: 100%;
    }

    .hero {
        background-attachment: scroll;
        padding: 4rem 0;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text h2 {
        text-align: center;
    }

    .about-text p {
        text-align: center;
    }

    .services h2,
    .contractors h2,
    .safety-text h2,
    .service-area h2,
    .why-choose-us h2,
    .faq h2,
    .contact h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contractors-grid {
        grid-template-columns: 1fr;
    }

    .safety-content {
        flex-direction: column;
        text-align: center;
    }

    .safety-icon-container {
        margin: 0 auto;
    }

    .counties-list {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .faq-question {
        padding: 1.25rem 1.5rem;
    }
    
    .faq-question-text {
        font-size: 1.1rem;
    }
    
    .faq-answer p {
        padding: 0 1.5rem 1.25rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 3rem 0;
    }

    .about,
    .services,
    .service-area,
    .why-choose-us,
    .contractors,
    .safety,
    .faq,
    .contact {
        padding: 3rem 0;
    }
}

