.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.loader {
    width: 60px;
    height: 60px;
    border: 6px solid #ffffff;
    border-top-color: #d4af37;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

.loader-text {
    color: white;
    font-size: 18px;
    font-weight: 500;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.stepper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.step {
    text-align: center;
    flex: 1;
    position: relative;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e5e7eb;
    line-height: 40px;
    margin: 0 auto 10px;
    font-weight: bold;
    color: #6b7280;
    position: relative;
    z-index: 1;
}

.step.active .step-circle {
    background-color: #d4af37;
    color: #4b1e1e;
}

.step.completed .step-circle {
    background-color: #4b1e1e;
    color: white;
}

.step-title {
    font-size: 14px;
    font-weight: bold;
    color: #4b1e1e;
}

/* Connecting line between steps */
.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    width: 100%;
    height: 4px;
    background-color: #e5e7eb;
    z-index: 0;
}

.step.completed:not(:last-child)::after {
    background-color: #4b1e1e;
}

.step.active:not(:last-child)::after {
    background-color: #d4af37;
}

.d-none {
    display: none;
}

/* Ensure consistent dimensions for all step content */
.step-content {
    min-height: 250px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Reduce map size */
#map {
    height: 600px;
    width: 90%;
    margin: auto;
    border-radius: 12px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

/* Hero Section Styling */
.hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    padding: 10px;
    position: relative;
    overflow: hidden;
}

/* Ensure content is above the overlay */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero-section .section_title_roof_cal {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    background: linear-gradient(to right, #d9b567, #300);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Subtitle styling */
.hero-section .sub_title {
    color: #aaa;
    width: 100%;
    font-size: 20px;
    text-align: center;
    margin-bottom: 5px;
    margin-top: 10px;
}

/* Highlighted 'Powered by AI' */
.hero-section .highlight {
    font-weight: bold;
    color: #d4af37;
}

.steper-btn {
    
    margin: auto;
}

.btn-secondary {
    background-color: #6b7280;
    border-color: #6b7280;
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: #4b1e1e;
    border-color: #4b1e1e;
    color: #fff;
}

.disclaimer {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 10px;
    font-style: italic;
}

/* Input validation styling */
.form-control.invalid {
    border: 2px solid #dc3545;
}

/* reCAPTCHA styling */
.g-recaptcha {
    margin: 15px auto;
    display: flex;
    justify-content: center;
}

/* Modal styling */
.modal {
    z-index: 1050;
}

.modal-content {
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.modal-header {
    border-bottom: 1px solid #e5e5e5;
    padding: 15px;
}

.modal-title {
    color: #333333;
    font-size: 20px;
    text-align: center;
    background: linear-gradient(to right, #d9b567, #300);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.modal-body {
    padding: 15px;
    background-color: #fff;
}

.modal-footer {
    border-top: 1px solid #e5e5e5;
    padding: 15px;
    text-align: center;
    background-color: #fff;

}

.modal-item {
    margin: 10px 0;
    align-items: center;
}

.modal-label {
    font-weight: bold;
    color: #333333;
    font-size: 17px;
}

.modal-value {
    color: #555555;
    font-size: 17px;
}

.modal-value img {
    margin-top: 10px;
    max-width: 100%;
}

.modal-value p {
    margin: 10px 0 0;
    color: #555555;
    font-size: 17px;
}

.modal .close {
    font-size: 20px;
    color: #333333;
    opacity: 0.8;
}

.modal .close:hover {
    opacity: 1;
}

.disclaimer {
    font-size: 12px;
    line-height: 17px;
    text-align: justify;

}

#modalMapImage {
    width: 70%;
    height: auto;
    margin: auto;

}