
/* Extracted from templates/main/home.html (inline <style> blocks) */

/*@media (min-width: 1600px) {
    #carousel_168a {
        display: none;
    }
}*/
#sec-23ef {
    display: none;
}

@media (max-width: 1050px) {
    #sec-23ef {
        display: block;
    }
}

/* Optional padding for slideshow */
#powerpointCarousel {
    padding: 20px 0;
}

/* Optional: make carousel images have max height */
#powerpointCarousel .carousel-item img {
    max-height: 500px;
    object-fit: contain;
}

container-style {
    background-color: #999999;
}

carpousel-inner-style {
    max-height: 600px;
}

.dropdown-style {
    column-count: 2 !important;
}

.list-form-style {
    all: unset !important;
    curser: pointer !important;
}

.list-button-style {
    all: unset !important;
}

.container-div-style {
    font-size: 0.8rem !important;
    color: #004085 !important;
}

.container-div-a-style {
    text-decoration: underline !important;
}

.footer-p-style {
    font-size: 14px !important;
}

.footer-p-2-style {
    font-size: 0.8rem !important;
    color: #cce5ff !important;
}

.footer-p-a-style {
    text-decoration: underline !important;
    color: #b8daff !important;
}

.header-container-style {
    padding-left: 10px !important;
    padding-right: 10px !important;
    width: 100% !important;
}

.container-style {
    background-color: #999999;
}

.container-row-style {
    flex-wrap: nowrap !important;
}

.div-a-img-style {
    max-width: 250px !important;
}

.header-ctn-dropdown-style {
    cursor: pointer !important;
}

.cart-dropdown {
    cursor: auto !important;
    z-index: 10000 !important;
}

.default-header-link-style {
    font-weight: 500 !important;
    color: #f2f2f2 !important;
}

.u-image-style {
    background-image: url('/media/sawblade-wood.jpg') !important;
}

.div-step-1-button-style {
    background-color: #004b88 !important;
}

.home-img-small-style {
    height: 47px !important;
    width: 47px !important;
}

.section-container-div-style {
    background-color: #595959 !important;
}

.container-row-card-div-style {
    background-color: #595959 !important;
    color: white !important;
    border-radius: 50px !important;
}

.row-col-a-style {
    background-color: #004b88 !important;
    color: white !important;
    border-radius: 15px !important;
}

.roy-img {
    max-width: 300px !important;
}

#section_weekly_service {
    background-color: #004b88 !important;
}

#search-error {
    color: red !important;
    display: none !important;
    font-size: 1rem !important;
    margin: 0 0 10px 0 !important;
}

#cookie-consent-popup {
    display: none !important;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 888px; /* controls how wide it can get (16:9 ratio for 500px height) */
    margin: 0 auto; /* center on page */
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.text-color-heading-style {
    color: #004b88;
}

.text-color-2-heading-style {
    color: #D10024;
}

.custom-display {
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.welcome-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(0,75,136,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.welcome-section-1 {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.welcome-section-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(0,75,136,0.1)" stroke-width="1.0"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.welcome-section-2 {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.welcome-section-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="25" height="25" patternUnits="userSpaceOnUse"><path d="M 25 0 L 0 0 0 25" fill="none" stroke="rgba(0,75,136,0.1)" stroke-width="1.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.welcome-section-3 {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.welcome-section-3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 120"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(0,75,136,0.1)" stroke-width="2.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 100%;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    border-color: #004b88;
}

.card-icon {
    font-size: 3rem;
    color: #004b88;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.service-card:hover .card-icon {
    transform: scale(1.2);
    color: #003366;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #004b88, #003366);
    color: white;
    padding: 2rem;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card:hover .card-overlay {
    opacity: 1;
    transform: translateY(0);
}

.card-overlay h5 {
    margin-bottom: 1rem;
    font-weight: bold;
}

.card-overlay ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

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

.card-overlay li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #D10024;
    font-weight: bold;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #004b88;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-box {
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid #004b88;
    max-width: 600px;
    margin: 0 auto;
}

.cta-primary {
    background: #004b88;
    color: white;
    border: 2px solid #004b88;
}

.cta-primary:hover {
    background: #003366;
    border-color: #003366;
    color: white;
    transform: translateY(-2px);
}

.cta-secondary {
    background: transparent;
    color: #004b88;
    border: 2px solid #004b88;
}

.cta-secondary:hover {
    background: #004b88;
    color: white;
    transform: translateY(-2px);
}

.cta-buttons .btn {
    margin: 0.5rem;
    transition: all 0.3s ease;
    padding: 12px 30px;
}

.cta-buttons .btn:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }

    .service-card {
        padding: 1.5rem;
    }
}
