/* MB Fabrications - Custom CSS 
--------------------------------------------- */

/* 1. NAVIGATION - Main and Dropdown Styling */
.primary-menu .menu-link div,
.primary-menu .sub-menu-container .menu-link div {
    font-size: 16px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-weight: 400 !important; /* Thins out the text to match the main nav perfectly */
	font-family: 'montserrat', sans-serif !important; /* Forces the exact same font family */
}


/* Dropdown Border Color, Rounded Corners, Spacing, and Shadow */
.primary-menu .sub-menu-container {
    border-top: 0px solid #C8A956 !important;
    border-bottom: 4px solid #C8A956 !important;
    border-left: 0px solid #C8A956 !important;
    border-right: 0px solid #C8A956 !important;
    border-radius: 8px !important;
    margin-top: 8px !important; 
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.25) !important; /* The drop shadow */
}

/* Invisible bridge to fix the hover dead zone */
.primary-menu .menu-item {
    position: relative;
}

.primary-menu .menu-item::after {
    content: "";
    position: absolute;
    bottom: -15px; /* Creates an invisible hit area to cover the margin gap */
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

/* Header Info Text (Call Us, Email Us, We are Open) */
.header-extras .he-text {
    font-family: 'Montserrat', sans-serif !important;
    color: #1C2F35 !important;
	text-transform: uppercase !important;
}

/* 2. REVOLUTION SLIDER - Specific Text Elements & Layout Shift Fix */
#slider, .rev_slider_wrapper {
    min-height: 700px;
}

.revo-slider-emphasis-text {
    font-size: 64px;
    font-weight: 700;
    letter-spacing: -1px;
    font-family: 'Montserrat', sans-serif;
    padding: 15px 20px;
    border-top: 2px solid #FFF;
    border-bottom: 2px solid #FFF;
}

.revo-slider-desc-text {
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
    width: 650px;
    text-align: center;
    line-height: 1.5;
}

.revo-slider-caps-text {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 3px;
    font-family: 'Montserrat', sans-serif;
}

.tp-video-play-button { display: none !important; }
.tp-caption { white-space: nowrap; }

/* 3. ADDITIONAL CUSTOMIZATIONS */
/* Mobile Centering and Spacing Adjustments */
@media (max-width: 991px) {
    #header .header-row {
        justify-content: center !important;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
    
    #logo {
        margin-left: -15px !important;
        margin-right: 0 !important;
        float: none !important;
    }
}

/* Slider Mobile height adjustment */
@media (max-width: 480px) {
    #slider, .rev_slider_wrapper {
        min-height: 720px;
    }
}

/* Ensures Tidio chat button stays visible on mobile */
@media only screen and (max-width: 980px) { 
    #tidio { bottom: 50px !important; } 
}

/* 4. TESTIMONIALS - Star Sizing and Alignment */
.az-testimonial-card .az-stars {
    text-align: center !important;
    display: block !important;
    margin-top: 15px !important;
    margin-bottom: 30px !important;
}

.az-testimonial-card .az-stars i {
    font-size: 48px !important; 
    margin: 0 3px !important;   
    color: #C8A956 !important;  
    text-shadow: 1px 3px 6px rgba(0, 0, 0, 0.25) !important; /* Lifts the stars off the page */
}

/* Reviewer Name */
.az-testimonial-card .az-client-name {
    font-size: 28px !important;
    font-weight: 600 !important;
    text-align: center !important;
    display: block !important;
    margin-bottom: 15px !important;
}

/* Pills Wrapper for Side-by-Side Layout */
.az-pills-wrapper {
    display: flex !important;
    justify-content: center !important;
    gap: 10px !important; /* The gap between the two pills */
    flex-wrap: wrap !important; /* Stacks them neatly on very small mobile screens if needed */
    width: 100% !important;
}

/* Individual Pill Styling */
.az-testimonial-card .az-trip-tag {
    display: inline-block !important;
    width: auto !important;
    text-align: center !important;
    margin: 0 !important;
}

/* Ensure parent containers allow full width and centering */
.az-testimonial-card .az-client-row {
    width: 100% !important;
    justify-content: center !important;
}

/* Google Review Full-Width Button */
.az-google-review-btn {
    display: block !important;
    width: 100% !important;
    background-color: #C8A956 !important;
    color: #FFFFFF !important;
    text-align: center !important;
    padding: 12px 15px !important;
    margin-top: 20px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    text-decoration: none !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important; /* Updated to animate all properties */
}

/* Hover state with lift and shadow */
.az-google-review-btn:hover {
    background-color: #1C2F35 !important; 
    color: #FFFFFF !important;
    text-decoration: none !important;
    transform: translateY(-4px) !important; /* Lifts the button up */
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2) !important; /* Adjust the 0.2 for shadow opacity */
}

/* Stack Testimonials Vertically on Mobile */
@media (max-width: 767px) {
    .az-testimonials-scroll-wrap {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        overflow-x: hidden !important; /* Removes the horizontal scroll */
        padding: 0 15px !important;    /* Keeps cards from touching the screen edges */
        gap: 30px !important;          /* Adds space between the stacked cards */
    }

    .az-testimonial-col {
        width: 100% !important;
        max-width: 500px !important;   /* Prevents cards from stretching too wide on tablets */
        margin: 0 auto !important;     /* Forces perfect centering */
        white-space: normal !important;
    }
}

/* Center and resize the Testimonials Divider */
.az-divider {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100px !important;    /* Adjust this value to make it wider or narrower */
    height: 4px !important;     /* Adjust this value to make it thicker or thinner */
    background-color: #C9A84C !important; /* Maintains your current gold colour */
    border: none !important;
}

/* Custom Full Width Mapbox Map */
#custom-mapbox-map {
    width: 100% !important;
    height: 750px !important;
    display: block !important;
    z-index: 1 !important; 
}

/* Contact Info Boxes */
.feature-box .fbox-icon i {
    color: #C8A956 !important; 
}

.feature-box .fbox-content h3 {
    font-family: 'Montserrat', sans-serif !important;
    text-transform: uppercase !important;
    color: #1C2F35 !important; 
    font-weight: 700 !important;
    letter-spacing: 1px !important; /* Adds a little breathing room for uppercase text */
}

.feature-box .fbox-content h3 .subtitle {
    font-family: 'Montserrat', sans-serif !important;
    text-transform: uppercase !important;
    color: #C8A956 !important; 
    font-weight: 500 !important;
    margin-top: 12px !important;
    line-height: 1.5 !important; /* Improves readability of the stacked address */
}

/* Stacked Social Buttons */
.az-social-btn-wrap {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important; 
    margin-top: 15px !important;
}

.az-social-btn {
    display: block !important;
    width: 100% !important;
    background-color: #C8A956 !important;
    color: #FFFFFF !important;
    text-align: center !important;
    padding: 10px 15px !important;
    border-radius: 6px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    text-decoration: none !important;
    font-size: 13px !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}

/* Ensures the icon inside the button is white and spaced correctly */
.az-social-btn i {
    color: #FFFFFF !important;
    margin-right: 6px !important;
    font-size: 14px !important;
}

/* Updated Hover effect with lift and shadow */
.az-social-btn:hover {
    background-color: #1C2F35 !important; 
    color: #FFFFFF !important;
    text-decoration: none !important;
    transform: translateY(-3px) !important;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2) !important;
}

/* Custom Footer Styles */
.az-custom-footer {
    background-color: #1C2F35 !important; 
    border-top: 7px solid #C8A956 !important;
}

.az-custom-footer .footer-widgets-wrap {
    padding: 72px 0 56px !important;
}

.az-footer-brand {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    color: #C8A956 !important; 
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    display: block !important;
    margin-bottom: 20px !important;
}

.az-footer-desc {
    color: #d1d8dc !important; 
    line-height: 1.8 !important;
    font-size: 0.95rem !important;
    margin-bottom: 28px !important;
    max-width: 320px !important;
}

.az-custom-footer .wr-footer-heading {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 25px !important;
}

/* Footer Links */
.az-footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.az-footer-links li {
    margin-bottom: 12px !important;
}

.az-footer-links a {
    font-family: 'Montserrat', sans-serif !important;
    color: #d1d8dc !important;
    text-decoration: none !important;
    font-size: 0.95rem !important;
    transition: color 0.3s ease, padding-left 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
}

.az-footer-links a i {
    color: #C8A956 !important;
    font-size: 1.1rem !important;
    margin-right: 8px !important;
}

.az-footer-links a:hover {
    color: #C8A956 !important;
    padding-left: 5px !important; 
}

/* Social Icons */
.az-social-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 4px !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: #C8A956 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.az-social-icon:hover {
    background-color: #C8A956 !important;
    color: #1C2F35 !important;
    transform: translateY(-3px) !important;
}

/* Newsletter */
.az-newsletter-input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #FFFFFF !important;
    border-radius: 4px !important;
}

.az-newsletter-input:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: #C8A956 !important;
    box-shadow: none !important;
    color: #FFFFFF !important;
}

.az-newsletter-btn {
    background-color: #C8A956 !important;
    color: #1C2F35 !important;
    border: none !important;
    font-size: 0.8rem !important;
    padding: 0 20px !important;
    letter-spacing: 1px !important;
    white-space: nowrap !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease !important;
}

.az-newsletter-btn:hover {
    background-color: #b5984d !important;
    transform: translateY(-2px) !important;
}

/* Copyright Area */
.az-footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.az-footer-copyright span, .az-footer-copyright a {
    color: #8c9ba1 !important;
    font-size: 0.85rem !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.az-footer-copyright a:hover {
    color: #C8A956 !important;
}

/* Privacy Policy Styles */
.az-policy-card {
    background: #F0F4F8 !important; /* Matches testimonial background */
    padding: 60px !important;
    border: none !important; /* Removes border */
    box-shadow: none !important; /* Removes shadow */
}

.az-policy-title {
    font-family: 'Montserrat', sans-serif !important;
    color: #1C2F35 !important;
    text-align: center !important;
    margin-bottom: 50px !important;
}

.az-policy-h3 {
    font-family: 'Montserrat', sans-serif !important;
    color: #1C2F35 !important;
    font-weight: 700 !important;
    margin-top: 30px !important;
}

.az-policy-h4 {
    font-family: 'Montserrat', sans-serif !important;
    color: #1C2F35 !important;
    margin-top: 30px !important;
    font-weight: 700 !important;
}

/* Body text styling */
.az-policy-card p {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1rem !important;
    color: #555555 !important;
    line-height: 1.8 !important;
    margin-bottom: 1.5rem !important;
}

/* List styling */
.az-policy-list {
    list-style: none !important;
    padding-left: 0 !important;
}

.az-policy-list li {
    margin-bottom: 12px !important;
    position: relative !important;
    padding-left: 30px !important;
    font-family: 'Montserrat', sans-serif !important;
    color: #555555 !important;
}

/* Ensure Checkmarks Appear */
.az-policy-list li::before {
    content: "\f00c" !important; 
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    color: #C8A956 !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
}

/* Table styling */
.az-policy-table {
    border-color: #dee2e6 !important;
    width: 100% !important;
    margin-bottom: 3rem !important;
}

.az-policy-table thead {
    background-color: #1C2F35 !important;
    color: #FFFFFF !important;
}

.az-policy-table th, .az-policy-table td {
    font-family: 'Montserrat', sans-serif !important;
    padding: 15px !important;
    border: 1px solid #dee2e6 !important;
}

/* ==========================================================================
   Civic Cookie Control Brand Overrides (Pop-out Only)
   ========================================================================== */

/* Force Montserrat on all text inside the module */
#ccc-module * {
    font-family: 'Montserrat', sans-serif !important;
}

/* --- Main Accept Button (Gold) --- */
#ccc-button-holder button#ccc-recommended-settings,
#ccc-button-holder button.ccc-accept {
    background-color: #C8A956 !important;
    border-color: #C8A956 !important;
    color: #1C2F35 !important;
    font-weight: 400 !important;
}

#ccc-button-holder button#ccc-recommended-settings:hover,
#ccc-button-holder button.ccc-accept:hover {
    background-color: #b5984d !important;
    border-color: #b5984d !important;
}

/* --- Secondary/Reject Button (Dark Blue with White Text) --- */
#ccc-button-holder button#ccc-reject-settings,
#ccc-button-holder button.ccc-reject,
#ccc-button-holder button#ccc-reject-settings span { 
    background-color: #1C2F35 !important;
    border-color: #1C2F35 !important;
    color: #FFFFFF !important;
}

#ccc-button-holder button#ccc-reject-settings:hover,
#ccc-button-holder button.ccc-reject:hover {
    background-color: #111e22 !important; 
    border-color: #111e22 !important;
    color: #FFFFFF !important;
}

/* --- Toggle Switches --- */
.ccc-slider {
    background-color: #1C2F35 !important;
}
input:checked + .ccc-slider {
    background-color: #C8A956 !important;
}

/* ==========================================================================
   Team List Layout Custom Styling (Vertical Stack)
   ========================================================================== */

/* Main Card Container */
.team-list {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(28, 47, 53, 0.05);
    padding: 40px; /* Increased to balance the right side of the text */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #F0F4F8;
    height: 100%;
}

.team-list:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(28, 47, 53, 0.1);
}

/* Image Uniformity */
.team-list .team-image {
    padding-right: 40px; /* Increased space between the image and the text */
}

.team-list .team-image img {
    border-radius: 8px;
    width: 100%;
    height: 350px;
    object-fit: cover; 
    object-position: center top; 
}

/* Text Container */
.team-list .team-desc {
    padding: 0 !important;
}

/* Names (Gold, Uppercase) */
.team-list .team-title h4 {
    font-family: 'Montserrat', sans-serif;
    color: #C8A956;
    font-weight: 700;
    font-size: 1.4rem; 
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

/* Biographies (Forced Montserrat) */
.team-list .team-content p {
    font-family: 'Montserrat', sans-serif; 
    color: #4A5568;
    font-size: 0.95rem;
    line-height: 1.7; 
    margin-bottom: 0;
}

/* Mobile Adjustments */
@media (max-width: 767.98px) {
    .team-list {
        padding: 30px; 
    }
    
    .team-list .team-image {
        padding-right: 0; 
        margin-bottom: 30px; 
    }
    
    .team-list .team-image img {
        /* Remove fixed height to allow image to scale naturally */
        height: auto !important; 
        /* Ensure the full image is contained within the space */
        object-fit: contain !important; 
    }
}

/* Removes default link formatting from the wrapped cards */
.card-anchor {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.card-anchor:hover {
    text-decoration: none;
    color: inherit;
}

/* Enables smooth sliding animation when clicking an anchor link */
html {
    scroll-behavior: smooth;
}

/* Optional: If you have a sticky header, this prevents the jump destination from hiding behind the header. Adjust the 100px to match your header's height. */
[id] {
    scroll-margin-top: 60px;
}

/* ==========================================================================
   Section Header Text Styling & Animation
   ========================================================================== */

.section-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem; 
    font-weight: 400;
    color: #1C2F35;
    line-height: 1.6; 
    max-width: 800px; 
    margin: 0 auto;
    opacity: 0; /* Starts invisible for the animation */
    animation: fadeSlideUp 0.8s ease-out forwards;
    animation-delay: 0.2s; 
}

@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Service Card Button Styling
   ========================================================================== */

/* The button is now an interactive link */
/* Update this part of your existing .az-service-btn CSS */
.az-service-btn {
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    gap: 10px; 
    background-color: #C8A956;
    color: #FFFFFF !important; 
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1; 
    padding: 14px 28px; 
    border-radius: 50px; 
    transition: all 0.3s ease;
    text-decoration: none;
}

.az-service-btn i {
    color: #FFFFFF !important;
    font-size: 1.15rem;
    line-height: 0; 
    display: flex;
}



/* Ensure the icon spacing works for both left (Back) and right (Explore) */
.az-service-btn .fa-circle-arrow-up {
    margin-right: 5px; /* Adds space after the Up arrow */
}

/* Hover effect triggers ONLY when the mouse is on the button itself */
.az-service-btn:hover {
    background-color: #1C2F35;
    color: #FFFFFF !important;
    text-decoration: none;
}

/* Forces smooth scrolling across the page */
html {
    scroll-behavior: smooth !important;
}

/* Replaces the <br> tags and positions the scroll stop point */
.service-detail-section {
    margin-top: 60px; /* Creates the visual gap above the section */
    scroll-margin-top: 60px; /* Stops the title from hiding under your top navigation menu */
}

/* ==========================================================================
   FlexSlider Image Standardization
   ========================================================================== */

/* Standardize main slider images */
.fslider .slide img {
    width: 100%;
    aspect-ratio: 16 / 9; /* Forces a widescreen ratio. Change to 4 / 3 if you prefer taller images */
    object-fit: cover;
    object-position: center; /* Ensures the middle of the image stays in focus if cropped */
    display: block;
}

/* Standardize thumbnail images */
.fslider .flex-control-thumbs img {
    width: 100%;
    aspect-ratio: 16 / 9; /* Match this to the main image ratio above */
    object-fit: cover !important;
    object-position: center;
    display: block;
}

/* ==========================================================================
   FlexSlider Master Styling (Overrides Theme Defaults)
   ========================================================================== */

/* 1. Standardize image sizes */
.fslider .slide img,
.fslider .flex-control-thumbs img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover !important;
    object-position: center;
    display: block;
}

/* 2. Position the overlay equidistant from bottom and left */
.fslider .bg-overlay-content {
    padding: 45px !important; 
}

/* 3. The wrapper creates the left gold bar and stacks the text boxes */
.fslider .portfolio-desc {
    border-left: 4px solid #C8A956 !important; 
    padding-left: 15px !important;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px; 
    text-align: left;
}

/* 4. The Main Heading (Deep Gold/Olive Box) */
.fslider .portfolio-desc h3 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: #FFFFFF !important;
    background-color: rgba(132, 115, 80, 0.95) !important;
    padding: 8px 16px !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

/* 5. The Subtext / Location (Lighter Gold Box) */
.fslider .portfolio-desc span {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: #FFFFFF !important;
    background-color: rgba(200, 169, 86, 0.95) !important; 
    padding: 5px 12px !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

/* Ensures any icons inside the span remain white */
.fslider .portfolio-desc span i {
    color: #FFFFFF !important;
}

/* 6. Mobile View Adjustments (Screens smaller than 768px) */
@media (max-width: 767.98px) {
    .fslider .bg-overlay-content {
        padding: 20px !important;
    }
    
    .fslider .portfolio-desc h3 {
        font-size: 1.1rem !important;
        padding: 5px 10px !important;
    }
    
    .fslider .portfolio-desc span {
        font-size: 0.9rem !important;
        padding: 4px 8px !important;
    }
    
    .fslider .portfolio-desc {
        border-left-width: 3px !important;
        padding-left: 10px !important;
        gap: 3px !important;
    }
}

/* 5. The Subtext / Location (Lighter Gold Box) */
.fslider .portfolio-desc span {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: #FFFFFF !important;
    background-color: rgba(200, 169, 86, 0.95) !important; 
    padding: 5px 12px !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    display: inline-flex !important; /* Aligns the icon and text */
    align-items: center !important;
    gap: 6px !important; /* Adds a clean space between the icon and the word */
}

/* Ensures the location icon is white, sized correctly, and centered */
.fslider .portfolio-desc span i {
    color: #FFFFFF !important;
    font-size: 1.1rem !important;
    line-height: 0 !important;
    display: flex !important;
}

/* Light Blue Background */
.bg-light-blue {
    background-color: #F0F4F8 !important;
}

/* White Background */
.bg-white {
    background-color: #FFFFFF !important;
}

/* Ensure the light blue background is consistent and has breathing room */
.bg-light-blue {
    background-color: #F0F4F8 !important;
    padding-top: 80px !important;    /* Padding above the title */
    padding-bottom: 80px !important; /* Padding below the Back button */
}

/* Ensure the white background version has the same padding */
.bg-white {
    background-color: #FFFFFF !important;
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

/* Remove default browser gaps that might be breaking the flow */
.service-detail-section {
    margin-top: 0 !important; /* Remove the top margin since we are using padding now */
    scroll-margin-top: 60px; 
}

/* Adjust scroll-to-anchor position for mobile */
@media (max-width: 767.98px) {
    .service-detail-section {
        /* Increase this value to make the scroll stop further down the page */
        scroll-margin-top: 10px !important; 
    }
}

/* Master Background Classes */
.bg-light-blue {
    background-color: #F0F4F8 !important;
    display: block;
    width: 100%;
}

.bg-white {
    background-color: #FFFFFF !important;
    display: block;
    width: 100%;
}

/* Ensure sections have no interfering margins */
.service-detail-section {
    margin: 0 !important;
    padding: 80px 0 !important; /* Forces the background color to extend 80px above and below content */
}

/* ==========================================================================
   Footer Custom Enhancements
   ========================================================================== */

/* Deep blue footer background color lock */
.az-custom-footer {
    background-color: #152428 !important; 
}

/* Service List Styling */
.az-custom-footer .service-list li {
    margin-bottom: 10px;
}

.az-custom-footer .service-list a {
    color: #a0aec0; /* Soft light grey/blue for readability against dark blue */
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

/* Hover Effects */
.az-custom-footer .service-list a:hover,
.hover-gold:hover,
.az-custom-footer .hover-gold:hover {
    color: #C8A956 !important;
    text-decoration: none;
}

/* Newsletter Input Adjustments */
.az-newsletter-form .form-control::placeholder {
    color: rgba(255,255,255,0.5);
}

.az-newsletter-form .form-control:focus {
    border-color: #C8A956 !important;
    box-shadow: 0 0 0 0.25rem rgba(200, 169, 86, 0.25);
    background-color: rgba(255,255,255,0.15);
    color: #fff;
}

/* Card Button Styling */
.az-card-btn {
    display: inline-block;
    padding: 6px 14px;
    border: 2px solid #C8A956;
    background-color: transparent;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

/* Card Button Hover State */
.az-card-btn:hover {
    background-color: #C8A956;
    color: #FFFFFF;
    text-decoration: none;
}

/* Gold Background Class */
.bg-gold {
    background-color: #b9983c !important;
}

/* Force dark text inside the gold background for contrast */
.bg-gold h2, 
.bg-gold h3, 
.bg-gold p, 
.bg-gold ul, 
.bg-gold li,
.bg-gold i {
    color: #152328 !important;
}

/* Optional: A softer gold if the solid hex is too aggressive */
.bg-soft-gold {
    background-color: rgba(200, 169, 86, 0.1) !important; 
}

#core-seo a.seo-link {
    text-decoration: underline !important;
    text-underline-offset: 4px !important;
    text-decoration-thickness: 1px !important;
    color: #152328 !important;
    font-weight: bold !important;
}

/* Gold Top Border Utility */
.section-border-top {
    border-top: 7px solid #C8A956 !important;
}

/* Button Lift Effect */
.btn {
    transition: all 0.3s ease !important;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.8) !important;
}

#location-seo p, #location-seo h2 {
    font-family: 'Montserrat', sans-serif !important;
}

p a.seo-link {
    text-decoration: underline !important;
    text-underline-offset: 4px !important;
    text-decoration-thickness: 1px !important;
    color: #152328 !important; /* Forces the link to a dark color to stand out against the grey text */
    font-weight: bold !important;
}

#intro-text p a.seo-link {
    text-decoration: underline !important;
    text-underline-offset: 4px !important;
    text-decoration-thickness: 1px !important;
    color: #C8A956 !important; /* Using your dark blue header color for better contrast */
    font-weight: 700 !important; /* Montserrat 700 weight */
}

/* Dark section links */
.dark a.seo-link { color: #C8A956 !important; }

/* Light section links */
.light a.seo-link { color: #0D2B4E !important; }

/* Links in Dark Sections */
#bespoke-metalwork a.seo-link {
    color: #C8A956 !important;
    text-decoration: underline !important;
    text-underline-offset: 4px !important;
    text-decoration-thickness: 1px !important;
    font-weight: bold !important;
}

/* Removes top gap between slider and welcome section on mobile */
@media (max-width: 767px) {
    #welcome-section {
        margin-top: 0 !important;
        padding-top: 40px !important; /* Adjust if you need a little breathing room */
    }
}

/* Sub-Product Feature Boxes */
.az-sub-product-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    border-bottom: 4px solid #C8A956;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.az-sub-product-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.az-sub-product-box h3 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700;
    color: #C8A956;
    font-size: 1.25rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.az-sub-product-box p {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 400;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
}