/* Skip Navigation for Accessibility */
.skip-nav {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    z-index: 9999;
    transition: top 0.3s;
}

.skip-nav:focus {
    top: 0;
    color: white;
}

.visually-hidden-focusable:not(:focus):not(:focus-within) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Global Styles */
:root {
    --primary-color: #ff6600;
    --secondary-color: #cc5200;
    --accent-color: #ff8533;
    --dark-color: #000000;
    --light-color: #ffffff;
    --text-color: #333333;
    --container-bg: #ffffff;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--dark-color);
    overflow-x: hidden;
}

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

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

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

.section-padding {
    padding: 5rem 0;
}

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

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    width: 100%;
    z-index: 1000;
}

/* Navigation Links */
.navbar-nav .nav-link {
    color: var(--light-color) !important;
    font-weight: 600;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
    color: var(--light-color) !important;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 0.25rem;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--light-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 70%;
}

/* Mobile Menu */
.navbar-toggler {
    border: 2px solid var(--light-color);
    padding: 0.5rem;
    color: var(--light-color);
    background-color: transparent;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.15rem rgba(255, 255, 255, 0.5);
    outline: 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%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.95);
        padding: 1rem;
        margin-top: 0.5rem;
        border-radius: 0.5rem;
        border: 1px solid var(--primary-color);
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        margin: 0.25rem 0;
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
}

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

.logo-placeholder {
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-color);
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--light-color) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.navbar-nav {
    display: flex;
    align-items: center;
}

.nav-link {
    color: var(--light-color) !important;
    font-weight: 600;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: 0.25rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.nav-link:hover, .nav-link:focus {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--light-color) !important;
}


/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.1) 0%, rgba(204, 82, 0, 0.1) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 76px; /* Account for fixed navbar */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48cGF0dGVybiBpZD0icGF0dGVybiIgd2lkdGg9IjQwIiBoZWlnaHQ9IjQwIiBwYXR0ZXJuVW5pdHM9InVzZXJTcGFjZU9uVXNlIiBwYXR0ZXJuVHJhbnNmb3JtPSJyb3RhdGUoNDUpIj48cmVjdCB3aWR0aD0iMjAiIGhlaWdodD0iMiIgeD0iMCIgeT0iMCIgZmlsbD0icmdiYSg3OSwgNzAsIDIyOSwgMC4xKSI+PC9yZWN0PjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSI+PC9yZWN0Pjwvc3ZnPg==');
    opacity: 0.6;
    z-index: -1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--light-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.hero p.lead {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--light-color);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: var(--light-color);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Services Section */
#services {
    background-color: var(--light-color);
    position: relative;
    padding: 5rem 0;
}

#services h2 {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    color: var(--dark-color);
}

#services h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* Service Cards */
.service-card {
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 4px 6px rgba(255, 102, 0, 0.2);
    position: relative;
    background-color: var(--light-color);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 102, 0, 0.3);
    border-color: var(--secondary-color);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card .fa-arrow-right {
    transition: transform 0.3s ease;
    display: inline-block;
}

.service-card:hover .fa-arrow-right {
    transform: translateX(3px);
}

.service-card .card-title {
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.service-card:hover .card-title {
    color: var(--primary-color);
}

/* Card styles */
.card {
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 4px 6px rgba(255, 102, 0, 0.2);
    background-color: var(--light-color);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 102, 0, 0.3);
    border-color: var(--secondary-color);
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.card-text {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.card i {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Quote Section */
#quote {
    background-color: var(--light-color);
    position: relative;
    padding: 5rem 0;
}

#quote .card {
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 102, 0, 0.3);
    background-color: var(--light-color);
}

.form-control, .form-select {
    padding: 0.75rem 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    background-color: var(--light-color);
    color: var(--text-color);
}

.form-control:focus, .form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.25rem rgba(255, 102, 0, 0.25);
}

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

.map-container {
    border-radius: 10px;
    overflow: hidden;
    margin: 1.5rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.map-iframe-container {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.map-iframe-container iframe {
    width: 100%;
    height: 300px;
    border: 0;
    display: block;
}

.map-container iframe {
    width: 100%;
    border: none;
    min-height: 250px;
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    color: var(--light-color);
}

.contact-info i {
    margin-right: 1rem;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

/* Footer */
footer {
    background-color:#CDDC39;
    color: white;
    padding: 3rem 0 1.5rem;
}

footer h5 {
    color: var(--light-color);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-color);
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

footer .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

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

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

.visually-hidden {
    position: absolute !important;
    left: -5000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.copyright {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out forwards;
}

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

.form-message.show {
    animation: fadeIn 0.5s ease-out forwards;
}

.live-chat-placeholder {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.95);
        padding: 1rem;
        border-radius: 0.5rem;
        margin-top: 1rem;
        box-shadow: 0 10px 20px rgba(255, 102, 0, 0.3);
        border: 1px solid var(--primary-color);
    }

    .nav-link {
        padding: 0.75rem 0 !important;
        margin: 0.25rem 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p.lead {
        font-size: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p.lead {
        font-size: 1.1rem;
    }

    .section-padding {
        padding: 3rem 0;
    }

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

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        padding: 0.5in;
        font-size: 12pt;
        color: #000;
        background: none;
    }
    
    .container {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    a[href^="http"]:after {
        content: " (" attr(href) ")";
        font-size: 80%;
    }
    
    footer {
        margin-top: 2em;
        border-top: 1px solid #000;
        padding-top: 1em;
    }
}