.event-quote-block {
            width: 100%;
            /* Further reduced margin-top and margin-bottom for a more compact block */
            margin: 1rem auto; /* Was 1.5rem auto */ 
            background: #fff;
            border-radius: 10px; /* More rounded */
            box-shadow: 0 12px 30px rgba(0,0,0,0.08); /* Softer, wider shadow */
            overflow: hidden;
        }

.mb-5, .my-5 {
  margin-bottom: 3rem !important;
}

        /* Main Heading */
        .main-heading {
background: #b8b0b0;           
            color: white;
            text-align: left;
            padding: 1rem; /* Further adjusted padding, was 2.8rem */
            margin: 0;
            font-size: 1.8rem;
            font-weight: 700;
            text-transform: capitalize;
            letter-spacing: 0;
            position: relative;
            overflow: hidden;
            font-size: 24px !important;
        }

        .main-heading::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            animation: shimmer 3s infinite;
        }

        @keyframes shimmer {
            0% { transform: translate(-50%, -50%) rotate(0deg); }
            100% { transform: translate(-50%, -50%) rotate(360deg); }
        }

        .main-heading i {
            margin-right: 15px;
            font-size: 1.8rem;
        }

        /* Live Support Indicator (Main) */
        .live-support-main {
            display: flex;
            align-items: center;
            justify-content: left;
            position: relative;
        }

        .live-indicator-main {
            width: 24px; /* Increased size */
            height: 24px; /* Increased size */
            background: #28a745;
            border-radius: 50%;
            animation: pulse-main 1.5s infinite cubic-bezier(0.66, 0, 0.34, 1); /* Faster, smoother pulse */
            box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7), inset 0 0 5px rgba(255, 255, 255, 0.5); /* Stronger initial shadow, inner glow */
        }

        @keyframes pulse-main {
            0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.8), inset 0 0 5px rgba(255, 255, 255, 0.5); }
            70% { box-shadow: 0 0 0 18px rgba(40, 167, 69, 0), inset 0 0 5px rgba(255, 255, 255, 0.1); } /* Wider pulse, subtle inner glow fade */
            100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0), inset 0 0 5px rgba(255, 255, 255, 0); }
        }

        .live-support-main i {
            margin-right: 12px;
            font-size: 1.6rem;
            color: #ffffff;
        }

        /* Range Slider Styles */
        .custom-range {
            -webkit-appearance: none;
            width: 100%;
            height: 10px;
            background: #e9ecef;
            border-radius: 5px;
            outline: none;
            margin: 0;
            z-index: 2;
            position: relative;
        }

        .custom-range::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 26px; /* Slightly larger thumb */
            height: 26px;
            border-radius: 50%;
            background: #bd1825;
            cursor: grab;
            border: 3px solid #fff; /* Clean white border */
            box-shadow: 0 2px 8px rgba(0,0,0,0.15); /* Softer thumb shadow */
            transition: all 0.2s ease;
            margin-top: 0; /* Changed from -8px to 0 to fix track alignment */
        }

        .custom-range::-webkit-slider-thumb:hover {
            transform: scale(1.08); /* Gentle scale */
            box-shadow: 0 4px 12px rgba(189, 24, 37, 0.4);
            cursor: grabbing;
        }

        .custom-range::-moz-range-thumb {
            width: 26px;
            height: 26px;
            border-radius: 50%;
            background: #bd1825;
            cursor: grab;
            border: 3px solid #fff;
            box-shadow: 0 2px 8px rgba(0,0,0,0.15);
            transition: all 0.2s ease;
            margin-top: 0; /* Changed from -8px to 0 to fix track alignment */
        }
        .custom-range::-moz-range-thumb:hover {
            transform: scale(1.08);
            box-shadow: 0 4px 12px rgba(189, 24, 37, 0.4);
            cursor: grabbing;
        }

        .slider-container {
            position: relative;
            margin-bottom: 0.6rem; /* Further reduced space below slider track */
            height: 26px; /* Space for thumb (kept consistent) */
            display: flex;
            align-items: center;
        }

        .slider-track { /* Ensure this exists for the custom track fill */
            position: absolute;
            top: 50%;
            left: 0;
            height: 10px;
            background: linear-gradient(90deg, #bd1825, #d63447);
            border-radius: 5px;
            pointer-events: none;
            transform: translateY(-50%);
            z-index: 1;
        }

        .current-value {
            font-size: 1.5rem;
            font-weight: 700;
            color: #bd1825;
            text-align: center;
            margin-top: 0.9rem; /* Further reduced space above value display */
            padding: 0.9rem; /* Further adjusted padding, was 1.1rem */
            background: #fdfdfd;
            border-radius: 14px;
            border: 2px solid #e0e0e0; /* Lighter, more subtle border */
            box-shadow: inset 0 1px 4px rgba(0,0,0,0.05); /* Very light inner shadow */
        }

        /* Buttons */
        .btn-next {
            background: linear-gradient(135deg, #bd1825 0%, #a0151f 100%);
            border: none;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            padding: 1.1rem 2.5rem; /* Adjusted, was 18px 40px */
            border-radius: 12px;
            font-size: 1rem;
            box-shadow: 0 5px 15px rgba(189, 24, 37, 0.3); /* Softer shadow */
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .btn-next:hover {
            background: linear-gradient(135deg, #a0151f 0%, #8a1219 100%);
            transform: translateY(-2px); /* Gentle lift */
            box-shadow: 0 8px 20px rgba(189, 24, 37, 0.4);
        }

        .btn-next::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s;
        }

        .btn-next:hover::before {
            left: 100%;
        }

        .btn-next .fa-spinner {
            animation: fa-spin 2s infinite linear;
            margin-right: 8px;
        }
        @keyframes fa-spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(359deg); }
        }

        /* Quote Summary Section */
        .quote-summary {
            background: #fcfcfc;
            border-radius: 16px;
            border: 1px solid #e9ecef; /* Very subtle border */
            padding: 1.5rem; /* Reduced, was 2rem */
            margin-bottom: 1.5rem; /* Reduced, was 2rem */
            box-shadow: 0 4px 15px rgba(0,0,0,0.06); /* Softer shadow */
        }

        .summary-item {
            text-align: center;
            padding: 0.8rem 0; /* Reduced, was 1rem 0 */
        }

        .summary-label {
            font-size: 2rem;
            color: black;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            margin-bottom: 0.6rem; /* Reduced, was 0.8rem */
            font-weight: 700;
        }

        .summary-value {
            font-size: 1.5rem;
            font-weight: 700;
            color: #bd1825;
        }

        /* Event Services Section */
        .event-services {
            background: #fff;
            border: 1px solid #e9ecef; /* Very subtle border */
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 6px 20px rgba(0,0,0,0.07); /* Softer shadow */
        }

        .event-services-header {
            background: #b8b0b0;
            color: white;
            padding: 1rem 2rem; /* Reduced, was 1.6rem */
            margin: 0;
            font-size: 1.3rem;
            font-weight: 700;
            text-transform: capticalize;
            letter-spacing: 0;
            text-align: left;
            position: relative;
        }

        .event-services-header::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 3px;

        }

.service-item {
  padding: 1.5rem 3.3rem !important;
  border-bottom: 1px solid #f1f3f4;
  transition: all 0.3s ease;
  position: relative;
}

.accordion-button {
  width: 100%;
  display: inline-block;
  background: none;
  border: none;
}

.service-details {
  padding: 1rem 0;
	font-size: 14px;
	line-height: 18px;
}

.accordion-button.collapsed{
  background-color: none !important;

}
        
        .service-item:hover {
            background: #f1f1f1; /* Lighter hover background */
            transform: translateX(6px); /* Gentle slide */
            box-shadow: 0 2px 8px rgba(0,0,0,0.08); /* Subtle shadow on hover */
        }

        .service-item:last-child {
            border-bottom: none;
        }

        .service-item::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 4px;
            background: #bd1825;
            transform: scaleY(0);
            transition: transform 0.3s ease;
        }

        .service-item:hover::before {
            transform: scaleY(1);
        }

        .service-name {
            color: black;
            font-weight: 600;
            font-size: 1.5rem;
            margin-bottom: 0.3rem; /* Reduced, was 0.4rem */
            display: flex;
            align-items: center;
        }

        .service-name i {
            color: #bd1825;
            margin-right: 12px;
            font-size: 2rem;
        }

        .service-price {
            color: #bd1825;
            font-weight: 700;
            font-size: 1.5rem;
        }

        .service-description {
            color: #6c757d;
            font-size: 13px;
            margin-top: 0.2rem; /* Reduced, was 0.3rem */
            font-style: italic;
            text-align: left;
        }

        .control-label {
            font-size: 1.7rem;
            font-weight: 700;
            color: black;
            margin-bottom: 0.7rem; /* Reduced space below label */
            display: flex;
            align-items: center;
        }

        .control-label i {
            color: #bd1825;
            margin-right: 12px;
            font-size: 2rem;
        }

        .slider-values {
            font-size: 1.3rem;
            color: #6c757d;
            margin-top: 0.6rem; /* Reduced, was 0.8rem */
            font-weight: 500;
        }

        .controls-section {
            padding: 2.3rem 1.5rem; /* Reduced total padding, was 2rem 1.8rem */
            background: #ffffff; /* Consistent white background */
            border-bottom-left-radius: 16px; /* Match block border-radius */
            border-bottom-right-radius: 0; /* Remove right bottom radius for design */
        }

        /* Bootstrap 4 Toast styling (customized) */
        .toast.custom-toast {
            background-color: #bd1825;
            border: none;
            color: white;
            border-radius: 10px;
        }
        .toast.custom-toast .toast-header {
            background-color: transparent;
            border-bottom: none;
            color: white;
            font-weight: 700;
        }
        .toast.custom-toast .toast-body {
            color: white;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .toast.custom-toast .close {
            color: white;
            opacity: 1;
            text-shadow: none;
            font-size: 1.5rem;
        }
        .toast.custom-toast .close:hover {
            color: white;
            opacity: 0.7;
        }

        /* Responsive Adjustments */
        @media (max-width: 768px) {
            .event-quote-block {
                margin: 0.8rem auto; /* Further adjusted */
                border-radius: 15px; /* Slightly less rounded */
            }
            
.main-heading {
color: white;
  text-align: left;
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: 1.2px;
}
            
            .live-indicator-main {
                width: 14px; /* Adjusted size for smaller screens */
                height: 14px; /* Adjusted size for smaller screens */
                margin-right: 10px;
            }
            
            .live-support-main i {
                font-size: 1.5rem;
                margin-right: 10px;
            }
            
            .summary-value {
                font-size: 1.5rem;
            }
            
            .current-value {
                font-size: 1.5rem;
                padding: 0.8rem; /* Adjusted */
            }
            
            .controls-section {
                padding: 1.5rem 1rem; /* Adjusted */
                border-bottom-left-radius: 15px;
                border-bottom-right-radius: 15px; /* Re-add for small screens */
            }

            .event-services, .quote-summary {
                border-radius: 15px;
            }
            
            .service-item {
                padding: 1.5rem 3.8rem; /* Adjusted */
            }

            .service-name {
                font-size: 1.5rem;
            }

            .service-price {
                font-size: 1rem;
            }

            /* Adjust padding for right column on medium screens */
            .p-lg-4 {
                padding: 1rem !important; /* General padding, reduced */
            }
            .pt-4 {
                padding-top: 1rem !important; /* Ensure top padding */
            }
            .px-3 {
                padding-left: 0.6rem !important; /* Smaller horizontal padding */
                padding-right: 0.6rem !important;
            }
        }

        @media (max-width: 576px) {
            .main-heading {
                font-size: 1.5rem;
            }
            
            .live-support-main {
                flex-direction: column;
                gap: 6px;
            }
            
            .live-indicator-main {
                margin-right: 0;
            }
            
            .live-support-main i {
                margin-right: 0;
                font-size: 1.3rem;
            }
            .btn-next {
                padding: 0.8rem 1.5rem; /* Adjusted */
                font-size: 0.95rem;
            }

            .controls-section {
                padding-bottom: 1rem; /* Adjusted */
            }

            /* Further adjust padding for right column on extra small screens */
            .p-lg-4, .pt-4, .px-3 {
                padding: 0.6rem !important; /* Reduce all padding for tightest screens */
            }
        }


/* Custom styling for the specific node-request-quote-form using Bootstrap 4 */

/* --- Overall Form Container Styling --- */
#block-gavias-comely-livequoteheading{
max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  background: #f1f1f1;
  color: #000;
  padding: 40px;
	box-shadow: 15px 35px 40px rgba(0, 0, 0, 0.1);
	    border-radius: 20px 20px 0 0;
}

#node-request-quote-form {
max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  background: #f1f1f1;
  color: #000;
  padding: 30px;
	box-shadow: 15px 35px 40px rgba(0, 0, 0, 0.1);
	    border-radius: 0 0 20px 20px;
		margin-bottom: 30px;

}

#block-gavias-comely-livequoteheading {
    margin-bottom: 0 !important;
    padding: 15px 30px 0px;
	margin-top: 50px;
}
#node-request-quote-form select,
#node-request-quote-form input[type="email"],
#node-request-quote-form input[type="text"]{
  width: 100%;
}
body.path-live #page-main-content{
  margin-bottom: 40px;
}

body.path-live .js-filter-wrapper,
body.path-live #node-request-quote-form .field--name-field-rqst-qt-expctd-atndc,
body.path-live #node-request-quote-form .field--name-field-rqst-qt-cst,
body.path-live #node-request-quote-form .field--name-field-rqst-qt-bdg-sw,
body.path-live #node-request-quote-form .field--name-field-rqst-qt-prnt-stns,
body.path-live #node-request-quote-form .field--name-field__rqst-qt-onst-tch{
    display: none;
}





#node-request-quote-form .field--type-datetime{
width: 50%;
  float: left;
  margin-bottom: 30px;
}

#node-request-quote-form .field--type-datetime h4{
font-size: 16px;
  color: black;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 10px;
}

#node-request-quote-form .field--widget-options-select,
#node-request-quote-form .field--widget-email-default,
#node-request-quote-form .field--widget-string-textfield{
  margin-bottom: 30px;
}

#node-request-quote-form .js-form-type-vertical-tabs{
  display: none !important;
}
#node-request-quote-form input[type=submit]{
outline-color: #BE1522 !important;
    outline-style: solid !important;
    color: white !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    border: 0 !important;
    font-size: 15px !important;
    width: 30%;
    padding: 2px 0px 0px 0px;
    box-shadow: 3px 5px 5px #888888;
    transition: all .2s ease-in-out;
      background: #BE1522;
	margin-top: 30px;

}
/* --- Input Field Styling --- */
#node-request-quote-form .form-control {
  font-size: 1.05rem;
  padding: 0.85rem 1.25rem;
  border-radius: 0.4rem;
  border: 1px solid #ced4da; /* Bootstrap 4 --gray-400 equivalent */
  transition: all 0.2s ease-in-out;
}

#node-request-quote-form .form-control:focus {
  border-color: #007bff; /* Bootstrap 4 --primary equivalent */
  box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25); /* Primary color with transparency */
  background-color: #fff; /* Keep background white on focus */
}

/* --- Labels and Descriptions --- */
#node-request-quote-form label {
color: black;
  margin-bottom: 0.5rem;
  font-size: 16px;
  width: 100%;
}


#node-request-quote-form .description {
  font-size: 0.9rem;
  color: #6c757d; /* Bootstrap 4 --secondary equivalent */
  margin-top: 0.35rem;
}

/* --- Checkboxes and Radios --- */
#node-request-quote-form .form-check-input {
  border-color: #6c757d; /* Bootstrap 4 --gray-600 equivalent */
}
#node-request-quote-form .form-check-label {
  font-weight: normal;
}

/* --- Fieldsets (if used for grouping) --- */
#node-request-quote-form fieldset.border {
    border-color: #dee2e6 !important; /* Bootstrap 4 --gray-300 equivalent */
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    background-color: #fff;
}
#node-request-quote-form fieldset legend {
    font-size: 1.3rem;
    color: #007bff; /* Bootstrap 4 --primary equivalent */
    background-color: #fff;
    padding: 0.25rem 1rem;
    border-radius: 0.25rem;
    border: 1px solid #dee2e6; /* Bootstrap 4 --gray-300 equivalent */
    position: relative;
    top: -1.25rem;
    left: 1rem;
    display: inline-block;
    width: auto;
}

/* --- Button Styling --- */
#node-request-quote-form .btn-primary {
  background-color: #007bff; /* Bootstrap 4 --primary equivalent */
  border-color: #007bff;
  font-weight: bold;
  letter-spacing: 0.05em;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}
#node-request-quote-form .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(0, 123, 255, 0.3); /* Primary color with transparency */
}

#node-request-quote-form .btn-secondary {
  font-weight: bold;
  /* Add similar enhancements for secondary button */
}

/* --- Messages (Status, Error, Warning) --- */
#node-request-quote-form .messages {
  margin-bottom: 2rem;
  border-radius: 0.5rem;
  padding: 1.25rem 1.75rem;
  font-size: 1.05rem;
}

/* --- CKEditor 5 Adjustments --- */
#node-request-quote-form .ck.ck-editor__editable_inline {
  min-height: 250px;
  padding: 1rem 1.25rem;
  border: 1px solid #ced4da; /* Bootstrap 4 --gray-400 equivalent */
  border-radius: 0.4rem;
}
#node-request-quote-form .ck.ck-toolbar {
  background-color: #f8f9fa; /* Bootstrap 4 --gray-100 equivalent */
  border-bottom: 1px solid #ced4da; /* Bootstrap 4 --gray-400 equivalent */
  border-radius: 0.4rem 0.4rem 0 0;
}

/* --- Specific Multi-value Field Tweaks --- */
#node-request-quote-form .field--widget-entity-reference-autocomplete .form-submit,
#node-request-quote-form .field--widget-text-textarea-with-summary .form-submit {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  margin-top: 1rem;
}
#node-request-quote-form .field--widget-entity-reference-autocomplete .table .form-submit {
    margin-top: 0;
    margin-left: 0.5rem;
}
#node-request-quote-form .field--widget-entity-reference-autocomplete .table-responsive {
    margin-bottom: 1rem;
}

.service-details ul {
  list-style: disc;
  padding: 10px 20px;
}

.dwnIcn{
  position: absolute;
  right: 20px;
  top: 20px;

}

/* Hide Drupal's default "required" asterisk */
#node-request-quote-form label.form-required:after {
  content: none;
}