.cms-section {
    position: relative;
}

.section-padding {
    padding-top: 100px;
    padding-bottom: 100px;
}

.section-padding-sm {
    padding-top: 48px;
    padding-bottom: 48px;
}

.section-padding-lg {
    padding-top: 120px;
    padding-bottom: 120px;
}

.section-my-0 {
    margin-top: 0;
    margin-bottom: 0;
}

.section-my-4 {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.section-my-5 {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 767.98px) {
    .section-padding {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .section-padding-lg {
        padding-top: 72px;
        padding-bottom: 72px;
    }
}

/* Appointment form honeypot: hidden from real users, only bots fill it. */
.appointment-hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.contact-section .appointment-alert {
    margin-bottom: 1.25rem;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
}

.contact-section .appointment-alert.alert-success {
    background-color: #0f5132;
    color: #ffffff;
}

.contact-section .appointment-alert.alert-danger {
    background-color: #ffffff;
    color: #b02a37;
    border-left: 4px solid #b02a37;
}

/* SweetAlert2 — icon wrapper: strip default border/background when using custom iconHtml */
.swal2-no-border {
    border: none !important;
    background: transparent !important;
    margin: 0 !important;
    font-size: 1.75rem;
    color: #a5dc86;
}

/* SweetAlert2 — explicit overrides; .swal2-popup .swal2-title is specificity (0,2,0)
   which beats body.public-site h2 (0,1,2) without needing !important */
.swal2-popup {
    font-size: 1rem;
    box-sizing: border-box;
}

.swal2-popup.swal2-toast .swal2-title {
    font-size: 1em;
    font-weight: 600;
    line-height: 1.3;
    text-align: initial;
    margin: .5em 1em;
    padding: 0;
}

.swal2-popup:not(.swal2-toast) .swal2-title {
    font-size: 1.875em;
    font-weight: 600;
    line-height: normal;
    text-align: center;
    margin: 0;
}

.swal2-popup .swal2-html-container p,
.swal2-popup .swal2-html-container li {
    font-size: 1em;
    line-height: normal;
}

.swal2-toast .swal2-icon {
    margin: 0 !important
}

.colored-toast.swal2-icon-success {
    background-color: #a5dc86 !important;
}

.colored-toast.swal2-icon-error {
    background-color: #f27474 !important;
}

.colored-toast.swal2-icon-warning {
    background-color: #f8bb86 !important;
}

.colored-toast.swal2-icon-info {
    background-color: #3fc3ee !important;
}

.colored-toast.swal2-icon-question {
    background-color: #87adbd !important;
}

.colored-toast .swal2-title {
    color: white;
}

.colored-toast .swal2-close {
    color: white;
}

.colored-toast .swal2-html-container {
    color: white;
}

.colored-toast .swal2-close {
    color: white;
}

.form-control {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid #eaeeee;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.15s;
    font-family: inherit;
}

.form-control:focus {
    background-color: #ffffff;
    border-color: #c2d4d9;
    box-shadow: 0 0 0 3px rgba(11, 49, 61, 0.12);
}

/* ── Scroll-to-top button ── */
.scrollToTop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 900;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--nalltech-blue, #0B313D);
    color: #fff;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s, transform 0.2s;
    user-select: none;
}

.scrollToTop:hover {
    background-color: #1e4a5a;
    transform: translateY(-2px);
}

.scrollToTop .arrow {
    font-size: 1.1rem;
    line-height: 1;
}

.input-group-text {
    border-color: #eaeeee;
}

.card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #ededed !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01) !important;
}

.card-header {
    border-bottom: 1px solid #f0f0f0;
    background-color: #fff;
}

.card-footer {
    border-top: 1px solid #f0f0f0;
    background-color: #fff;
}

.list-group-item {
    border-color: #efefef !important;
}

.btn {
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 0.89rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.2s ease;
    border: none;
    outline: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.btn-primary {
    background-color: var(--nalltech-blue);
    color: #fff;
    border-color: var(--nalltech-blue);
    transition: all 0.2s ease;
    cursor: pointer;
    outline: none;
    border: none;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #1e4a5a !important;
    border-color: #1e4a5a !important;
}

.btn-primary:disabled {
    background-color: #446875 !important;
    border-color: #446875 !important;
    cursor: not-allowed;
}

.form-label {
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
}

.form-text {
    font-size: 0.85rem;
    margin-top: 0.4rem;
    color: #747678bf;
}

/* ── Soft Alert Overrides ── */
.alert {
    border-radius: 8px;
    font-size: 0.9rem;
    border-width: 1px;
    border-style: solid;
    padding: 0.8rem 1rem;
}

.alert-success {
    background-color: #edfaf3;
    border-color: #b6e8d0;
    color: #1a5c3a;
}

.alert-warning {
    background-color: #fffbec;
    border-color: #fde9a2;
    color: #7a5100;
}

.alert-danger {
    background-color: #fff1f1;
    border-color: #f5c0c0;
    color: #9b1c1c;
}

.alert-info {
    background-color: #eef6ff;
    border-color: #bddcf8;
    color: #1a4a7a;
}

.alert-secondary {
    background-color: #f4f5f7;
    border-color: #d5d8de;
    color: #3d4451;
}

.alert-light {
    background-color: #fafafa;
    border-color: #e8e8e8;
    color: #555555;
}