/* Form Titles & Description */
.form-title {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
}

.form-desc {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 20px;
}

.form-points {
    list-style: none;
    padding: 0;
}

.form-points li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    color: #333;
}

.form-points li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #fe0000; /* Red bullet */
    font-size: 20px;
    line-height: 15px;
}

/* Select Fields */
.custom-select-width {
    width: 100%;
    max-width: 380px;
    min-width: 150px;
    height: 40px;
    padding: 6px 12px;
    font-size: 16px;
    border-radius: 8px;
}

.custom-select-width-2 {
    width: 100%;
    max-width: 700px;
    min-width: 150px;
    height: auto; /* let browser handle dropdown */
    padding: 6px 12px;
    font-size: 16px;
    position: relative;
    z-index: 1000;
    border-radius: 8px;
}

/* Buttons */
button.btn-custom {
    background-color: #000 !important; /* black by default */
    color: #fff !important;  
    border: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

button.btn-custom:hover {
    background-color: #ff0000 !important; /* red on hover */
    color: #fff !important;
}

/* Red label text */
.label-red {
    color: red;
    font-weight: 500;
    display: block;
    margin-bottom: 5px;
}

/* Form container styling */
.quote-form {
    background-color: #D3D3D3;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 50px;
    border-radius: 5px;
}

#extraQtyRow {
    display: none;           /* keep hidden initially */
    flex-wrap: wrap;         /* responsive wrapping */
    border: 2px solid red;   /* red border to highlight */
    border-radius: 10px;     /* rounded corners */
    background-color: #fff0f0; /* light red background */
    padding: 15px;           /* spacing inside the box */
    margin-bottom: 20px;     /* space below the section */
    transition: all 0.3s ease; /* smooth show/hide effect */
}

/* Optional: make input fields more prominent */
#extraQtyRow .form-control {
    border: 1px solid #000;  /* black border for inputs */
    font-weight: 500;
    border-radius: 7px;
}

#businessCardsOptions {
    display: none;
    width: 100%; /* ensure full width */
    flex-wrap: wrap; /* if using flex */
}
.custom-alert {
    font-size: 16px;
    font-weight: 500;
    padding: 15px 20px;
    margin-bottom: 0;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    text-align: center;
    justify-content: center;

}

/* Visible state */
.custom-alert.show {
    opacity: 1;
}
.custom-fluid {
    padding-left: 100px !important;   /* increase or decrease as needed */
    padding-right: 100px !important;
}


/* Combined fade in + fade out animation */
@keyframes fadeInOut {
    0% { opacity: 0; }
    8.33% { opacity: 1; }   /* fade in over 0.5s (0.5/6 ≈ 8.33%) */
    91.66% { opacity: 1; }  /* stay visible for 5s (5/6 ≈ 83.33%) */
    100% { opacity: 0; }    /* fade out over 0.5s */
}


/* ======================================== */
/* Mobile Responsive: Quote Request Form    */
/* Screens smaller than 768px              */
/* ======================================== */
@media (max-width: 768px) {

    /* Form container adjustments */
    .quote-form {
        padding: 20px;
        margin: 20px 10px 40px 10px; /* smaller margins on mobile */
        border-radius: 10px;
    }

    /* Form title & description */
    .form-title {
        font-size: 22px; /* smaller font */
        text-align: center;
        margin-bottom: 12px;
    }
    .form-desc {
        font-size: 14px;
        line-height: 1.4;
        text-align: center;
        margin-bottom: 15px;
    }

    /* Form points / bullet list */
    .form-points li {
        font-size: 14px;
        padding-left: 18px;
    }
    .form-points li::before {
        font-size: 18px;
    }

    /* Select fields adjustments */
    .custom-select-width,
    .custom-select-width-2 {
        width: 100%;     /* full width */
        max-width: 100%; /* override fixed max-width */
        font-size: 15px;
        padding: 5px 10px;
    }

    /* Buttons */
    button.btn-custom {
        width: 100%;      /* full width buttons */
        padding: 10px;
        font-size: 16px;
        margin-top: 10px;
    }

    /* Labels */
    .label-red {
        font-size: 14px;
    }

    /* Extra Qty Row & Business Cards Options */
    #extraQtyRow,
    #businessCardsOptions {
        width: 100%;
        padding: 12px;
    }

    /* Alerts */
    .custom-alert {
        font-size: 14px;
        padding: 12px 15px;
    }

    /* Optional: remove big container padding */
    .custom-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* ======================================== */
/* Extra small screens: phones <480px      */
/* ======================================== */
@media (max-width: 480px) {

    .form-title {
        font-size: 20px;
    }
    .form-desc {
        font-size: 13px;
    }
    .form-points li {
        font-size: 13px;
        padding-left: 16px;
    }
    .form-points li::before {
        font-size: 16px;
    }
    button.btn-custom {
        font-size: 15px;
        padding: 8px;
    }
    .quote-form {
        padding: 15px;
        margin: 15px 5px 30px 5px;
    }
    .custom-select-width,
    .custom-select-width-2 {
        font-size: 14px;
        padding: 5px 8px;
    }
}


/* Custom width for inputs, textareas, and buttons */
.custom-input-width {
    width: 100%;        /* full width of parent column */
    max-width: 175px;   /* optional max width */
   
    box-sizing: border-box; /* include padding & border in width */
}

.no-wrap-btn {
    display: flex;               /* make button a flex container */
    justify-content: center;     /* horizontal center of text */
    align-items: center;         /* vertical center of text */
    white-space: nowrap;         /* prevent text wrapping */
}

.center-screen {
    display: flex;
    flex-direction: column; /* Stack children vertically */
    justify-content: center; /* Vertical centering */
    align-items: center;     /* Horizontal centering */
    min-height: 100vh;       /* Takes up 100% of the screen height */
    width: 100%;
}

/* Optional: Ensures the form doesn't get too wide on giant screens */
.center-screen .col-lg-6 {
    max-width: 800px; 
    width: 100%;
}