:root {
    --primary-color: #134973;
    --electricity: #F9B82B;
    --water: #134973;
    --recycled-water: #6B42D1;
    --municipality: #134973;
    --dark-bg: #000940;
    --light-blue: #1e5a80;
    --teal-gradient: linear-gradient(135deg, #134973 0%, #1e5a80 50%, #ffffff 100%);
    --dark-teal: #0f3a5a;
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.3);
    --text-dark: #134973;
    --secondary-color: #ffffff;
    --accent-color: #1e5d87;
    --text-light: #6c757d;
    --gradient-bg: linear-gradient(135deg, #134973 0%, #1e5d87 100%);
    --zenersol-primary: #134973;
    --zenersol-primary-light: #1a5a8a;
    --zenersol-primary-dark: #0f3a5c;
    --zenersol-accent: #2196F3;
    --zenersol-success: #10B981;
    --zenersol-warning: #F59E0B;
    --zenersol-danger: #EF4444;
    --zenersol-gray-50: #F9FAFB;
    --zenersol-gray-100: #F3F4F6;
    --zenersol-gray-200: #E5E7EB;
    --zenersol-gray-300: #D1D5DB;
    --zenersol-gray-600: #4B5563;
    --zenersol-gray-700: #374151;
    --zenersol-gray-800: #1F2937;
    --zenersol-white: #FFFFFF;
    --body-bg: #f8f9fa;
}
html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
body {
    background-color: var(--body-bg) !important;
}
a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
    background-color: #f8f9fa !important;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.filter-input-wrapper .btn-light {
    display: none !important;
}
.log-container {
    max-height: 300px;
    overflow-y: auto;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    padding: 10px;
    margin-top: 10px;
}
/* Dotted Circular Spinner */
.dot-circle-spinner {
    width: 2rem;
    height: 2rem;
    border: 4px dotted #333; /* Darker color */
    border-radius: 50%;
    animation: slow-spin 3s linear infinite; /* Slower rotation */
}

@keyframes slow-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }

}

/* Equal width columns */
.grid-column-equal {
    width: 25% !important;
    min-width: 25% !important;
}

/* For the file path column specifically */
.file-path-column {
    width: 40% !important;
    min-width: 40% !important;
}

/* For the action column */
.action-column {
    width: 10% !important;
    min-width: 10% !important;
}

/*form CSS*/
.form-title {
    color: #134973; /* Updated to brand color */
    text-shadow: 0 2px 4px rgba(19, 73, 115, 0.1); /* Adjusted to match blue tone */
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 0.5rem;
}

    .form-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: linear-gradient(90deg, #0e2f4f 0%, #134973 100%); /* Gradient based on #134973 */
        border-radius: 2px;
    }
.zs-btn-blue {
    background: var(--primary-color) !important;
    color: var(--zenersol-white) !important;
}
.active > .page-link, .page-link.active {
    color: var(--zenersol-white) !important;
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}
.page-link {
    color: var(--primary-color) !important;
}

.zs-nav-blue {
    background: var(--primary-color) !important;
    text-transform: uppercase;
}
.sidebar {
    background: var(--primary-color) !important;
}

.zs-barchart {
    height: 250px !important;
}
.toast-top-right {
    top: 85px !important; 
    right: 12px;
}



.email-title {
    color: #212529; /* Bootstrap dark color */
    text-shadow: 0 2px 4px rgba(0,0,0,0.05);
    text-align: left;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 0.5rem;
}



.form-container {
    max-width: 700px;
    margin: 2rem auto;
    padding: 2rem;
    background: linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.form-container:hover {
    box-shadow: 0 10px 35px rgba(0,0,0,0.15);
}

.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        color: #2d3436;
        font-weight: 600;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        background: rgba(108, 117, 125, 0.1);
        padding: 0.5rem 1rem;
        border-radius: 5px;
    }

.form-control {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

    .form-control:focus {
        border-color: #212529;
        box-shadow: 0 0 0 3px rgba(33,37,41,0.25);
        outline: none;
    }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.btn-primary {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #343a40 0%, #212529 100%);
    box-shadow: 0 5px 15px rgba(33,37,41,0.3);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 7px 20px rgba(33,37,41,0.4);
    }

.alert {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    border: 2px solid transparent;
}

    .alert.error {
        background: rgba(255, 99, 71, 0.15);
        border-color: #ff6347;
        color: #cc2e16;
    }

    .alert.success {
        background: rgba(76, 175, 80, 0.15);
        border-color: #4caf50;
        color: #357a38;
    }

input[type="file"]::file-selector-button {
    padding: 0.5rem 1rem;
    background: #e9ecef;
    border: 2px solid #dee2e6;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    input[type="file"]::file-selector-button:hover {
        background: #dee2e6;
    }

/* Compact Service Dashboard Styles */
.home-page {
    padding: 1.5rem 0;
}

.service-management-section {
    margin-bottom: 2rem;
}

.service-card {
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    height: 100%;
}

    .service-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.05);
    }

.service-card-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content:space-around;
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.service-card p {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    color: var(--bs-secondary-color);
}

.service-status-indicator {
    font-size: 0.8rem;
    padding: 0.3rem 0.75rem;
    border-radius: 1rem;
    display: inline-block;
    font-weight: 500;
}

.service-log-section {
    margin-top: 1.5rem;
}

.log-container {
    padding: 1rem;
    border-radius: 0.5rem;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    max-height: 300px;
    overflow-y: auto;
}

.service-log-header {
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    color: var(--bs-primary);
}

.log-entry {
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.35rem;
    background: var(--bs-tertiary-bg);
    border-radius: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
}

.log-time {
    color: var(--bs-secondary-color);
    min-width: 60px;
    font-size: 0.8rem;
}

.btn-service {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 0.35rem;
}
/* Base Styles */
.dashboard-container {
    background-color: #f8f9fa;
    padding: 2rem;
}

.dashboard-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

    .dashboard-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background-color: var(--primary-color) !important;
    }

.dashboard-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-icon-container {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background-color: var(--primary-color);
}

.dashboard-card-title {
    color: #212529 !important;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-value {
    color: #212529;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.card-description {
    color: #94a3b8;
    font-size: 1rem;
    margin-top: auto;
}

.card-link {
    text-decoration: none;
    display: block;
    height: 100%;
}
.schedule-filter-btn {
    background: linear-gradient(135deg, #134973 0%, #196b94 100%);
}
/* Hover Effects */
.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

    .dashboard-card:hover::before {
        background-color: #6366f1;
        width: 6px;
    }

/* SVG Icon Styling */
.card-icon-container img {
    filter: brightness(0) invert(1);
    width: 28px;
    height: 28px;
}
.chart-contain {
    width: 50% !important;
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
}

/* modal-custom.css */

/* Modal dialog centering and width */
#scheduleModal .modal-dialog,
#userModal .modal-dialog {
    max-width: 500px;
    margin: 1.5rem auto;
    transition: transform 0.3s ease-out;
}

#scheduleModal.show .modal-dialog,
#userModal.show .modal-dialog {
    transform: translateY(0);
}

#scheduleModal .modal-backdrop.show,
#userModal .modal-backdrop.show {
    opacity: 0.6;
}

/* Modal content shadow, border, and rounding */
#scheduleModal .modal-content,
#userModal .modal-content {
    border-radius: 1rem;
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.15);
    border: 0;
    overflow: hidden;
}

/* Gradient header with padding */
#scheduleModal .modal-header,
#userModal .modal-header {
    background: linear-gradient(135deg, #134973 0%, #196b94 100%);
    color: #f1f1f1;
    border-bottom: none;
    padding: 1rem 1.5rem;
}

#scheduleModal .modal-title,
#userModal .modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Close button styling */
#scheduleModal .btn-close,
#userModal .btn-close {
    filter: invert(1);
    opacity: 0.8;
    transition: opacity 0.2s;
}

    #scheduleModal .btn-close:hover,
    #userModal .btn-close:hover {
        opacity: 1;
    }

/* Modal body: spacing, typography, scrolling */
#scheduleModal .modal-body,
#userModal .modal-body {
    max-height: 55vh;
    overflow-y: auto;
    padding: 1.5rem 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
}

    #scheduleModal .modal-body dt,
    #userModal .modal-body dt {
        font-weight: 600;
        margin-top: 1rem;
    }

    #scheduleModal .modal-body dd,
    #userModal .modal-body dd {
        margin-top: 1rem;
        margin-left: 0;
        word-wrap: break-word;
    }

/* Footer with buttons spacing */
#scheduleModal .modal-footer,
#userModal .modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 1rem 1.5rem;
    justify-content: flex-end;
}

    #scheduleModal .modal-footer .btn,
    #userModal .modal-footer .btn {
        min-width: 100px;
        font-weight: 500;
        background: linear-gradient(135deg, #134973 0%, #196b94 100%);
    }

.checkbox-column input[type="checkbox"] {
    display: block !important;
    margin: 0 auto;
    width: 18px;
    height: 18px;
}

tr.selected {
    background-color: #e6f7ff !important;
}


.wholebill-container {
    display: flex;
    justify-content: center;
    padding-top: 0px !important;
}

.bill-container {
    width: 80%;
    background: white;
    padding: 0px 40px 10px !important;
}

.logo-container, .name-container, .address-container {
    padding: 5px;
}

.icons-container > div {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.icons-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.payby-container, .prev-bill {
    background: #F1F1F1 !important;
}

.elec-bill, .water-bill, .hotwater-bill, prev-bill {
    min-height: 5vh;
}

.balance-container img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

.elec-bill {
    background: var(--electricity);
}

.water-bill {
    background: var(--water);
}

.hotwater-bill {
    background: var(--municipality);
}

.view-bill-container {
    background: var(--dark-bg);
    height: 220px;
    width: 220px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    padding: 30px 10px 10px;
}

.payment-container {
    background: #F7F5F4;
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    margin: 20px auto;
}

.payment-image-wrapper {
    display: inline-block; /* so it wraps tightly around the image */
    border: 10px solid #fff; /* white border */
    border-radius: 50%; /* rounded corners */
    overflow: hidden; /* ensures the image corners are rounded too */
    width: 25%;
}

    .payment-image-wrapper img {
        display: block;
        max-width: 100%;
        height: auto;
    }

.wholebill-container :is(h1, h2, h3, h4, h5, h6),
.footer i,
.footer span {
    color: var(--primary-color);
}
.bill-footer {
    background: white !important;
}

.main-amount, .main-amount h2 {
    color: var(--municipality);
}

/*PORTAL STYLING*/
.main-portal-container {
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

    .main-portal-container.fade-in {
        opacity: 1;
    }
/*NAVBAR OF PROTAL*/
.navbar-protal {
    background-color: white !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    padding: 0.8rem 1rem !important;
    position: fixed; 
    top: 0; 
    width: 100%;
    z-index: 1030;
}

.navbar-brand-portal {
    display: flex !important;
    align-items: center !important;
    font-weight: 700 !important;
    color: var(--dark-color) !important;
    transition: transform 0.3s ease !important;
}

    .navbar-brand-portal:hover {
        transform: translateY(-2px) !important;
    }

.nav-link-portal {
    color: var(--dark-color) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 4px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

    /* Underline effect ONLY on hover */
    .nav-link-portal:before {
        content: '';
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 0 !important;
        height: 3px !important;
        background: var(--primary-color) !important;
        border-radius: 3px !important;
        transition: width 0.3s ease !important;
    }

    .nav-link-portal:hover:before {
        width: 100% !important;
    }

    .nav-link-portal:hover {
        color: var(--primary-color) !important;
    }

    /* Remove all active state styling */
    .nav-link-portal.active {
        color: var(--dark-color) !important;
    }

        .nav-link-portal.active:before {
            width: 0 !important; /* Ensures no underline shows */
        }

.btn-nav-portal {
    background: var(--primary-color) !important;
    border: none;
    color: white !important;
    border-radius: 0px !important;
    padding: 0.5rem 1.2rem;
/*    transition: all 0.3s ease;*/
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(67, 97, 238, 0.3);
}

/*    .btn-nav-portal:hover {
        background: var(--secondary-color);
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(67, 97, 238, 0.4);
    }*/

.navbar-toggler-portal {
    border: none;
    padding: 0.5rem;
}

    .navbar-toggler-portal:focus {
        box-shadow: none;
    }

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(33, 37, 41, 0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* 
---------------------------------------------
welcome
--------------------------------------------- 
*/
/* Enhanced Welcome Section Styles */
.welcome-area {
    width: 100%;
    min-height: 100vh;
    /*    background: linear-gradient(135deg, #134973 0%, #1e5a80 50%, #ffffff 100%);*/
    background-image: url(Assets/Images/Background-image.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}


.welcome-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: backgroundPulse 8s ease-in-out infinite alternate;
}

@keyframes backgroundPulse {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }

    100% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.welcome-area .header-text {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 2rem 0;
}

    .welcome-area .header-text .left-text {
        position: relative;
        align-self: center;
        margin-top: 0;
        transform: none;
        padding: 2rem 0;
        animation: slideInFromLeft 1.2s ease-out;
    }

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.welcome-area .header-text h1 {
    font-weight: 900;
    font-size: 2.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /*    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);*/
    position: relative;
}

    .welcome-area .header-text h1::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 80px;
        height: 4px;
        background: linear-gradient(90deg, var(--primary-color), var(--primary-color));
        border-radius: 2px;
        animation: expandLine 1.5s ease-out 0.8s both;
    }

@keyframes expandLine {
    0% {
        width: 0;
        opacity: 0;
    }

    100% {
        width: 80px;
        opacity: 1;
    }
}

.welcome-area .header-text h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    0% {
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
    }

    100% {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
    }
}

.welcome-area .header-text p {
    font-weight: 500;
    font-size: 1.25rem;
    color: var(--primary-color);
    line-height: 1.8;
    letter-spacing: 0.3px;
    margin-bottom: 3rem;
    position: relative;
    max-width: 650px;
    animation: slideInFromLeft 1.2s ease-out 0.3s both;
}

    .welcome-area .header-text p a {
        color: #ffffff;
        text-decoration: none;
        font-weight: 500;
        position: relative;
        transition: all 0.3s ease;
    }

        .welcome-area .header-text p a::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, #ffffff, #ffffff);
            transition: width 0.3s ease;
        }

        .welcome-area .header-text p a:hover {
            color: #ffffff;
        }

            .welcome-area .header-text p a:hover::after {
                width: 100%;
            }

.main-button-slider {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #134973 0%, #196b94 100%);
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(19, 73, 115, 0.3);
    animation: slideInFromLeft 1.2s ease-out 0.6s both;
}

    .main-button-slider::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.6s ease;
    }

    .main-button-slider::after {
        content: '?';
        font-size: 1.2rem;
        transition: transform 0.3s ease;
    }

    .main-button-slider:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 20px 40px rgba(19, 73, 115, 0.4);
        color: #ffffff !important;
    }

        .main-button-slider:hover::before {
            left: 100%;
        }

        .main-button-slider:hover::after {
            transform: translateX(5px);
        }

/* Enhanced responsive styles (unchanged, keep as is) */
@media (max-width: 1420px) {
    .welcome-area .header-text {
        width: 90%;
        margin-left: 5%;
    }
}

@media (max-width: 1320px) {
    .welcome-area .header-text .left-text {
        margin-top: 0;
    }

    .welcome-area .header-text {
        width: 85%;
        margin-left: 5%;
    }
}

@media (max-width: 1140px) {
    .welcome-area {
        height: auto;
        min-height: 100vh;
    }

        .welcome-area .header-text {
            width: 92%;
            padding-top: 100px;
        }

            .welcome-area .header-text .left-text {
                margin-top: 0;
                transform: none;
            }

            .welcome-area .header-text h1 {
                font-size: 3.5rem;
            }
}

@media (max-width: 992px) {
    .welcome-area .header-text h1 {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }

    .welcome-area .header-text p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 810px) {
    .welcome-area {
        background-size: cover;
        min-height: 100vh;
        background-attachment: scroll;
    }

        .welcome-area .header-text {
            margin-left: 0;
            padding-top: 80px;
        }

            .welcome-area .header-text h1 {
                font-size: 2.5rem;
            }

            .welcome-area .header-text p {
                font-size: 1rem;
            }

    .main-button-slider {
        font-size: 0.9rem;
        padding: 1rem 2rem;
    }

    .container-fluid .col-md-12 {
        margin-right: 0px;
        padding-right: 0px;
    }

    .text-welcome {
        padding-left: 20px !important;
    }
}

@media (max-width: 576px) {
    .welcome-area {
        min-height: 400px !important;
    }
    .welcome-area .header-text {
        padding-top: 0px !important;
    }
    .welcome-area .header-text h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .welcome-area .header-text p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .main-button-slider {
        font-size: 0.85rem;
        padding: 0.9rem 1.8rem;
    }
}


/*
---------------------------------------------
CSS for the div added after client meeting
---------------------------------------------
*/

.track_record {
    background-image: url(Assets/Images/TracK_Record.jpg);
}

.services_record {
    background-image: url(Assets/Images/Scope_0f_Serivces.png);
}

.delivery_record {
    background-image: url(Assets/Images/Self_Delivery.jpg);
}

.charter_record .charter-image {
    background-image: url(Assets/Images/CustomerCharter.jpg);
}

.track_record, .services_record, .delivery_record, .charter_record {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

    .track_record h2, .services_record h2, .delivery_record h2, .energy_text h2, .faquest h2, .charter_record h2 {
        font-weight: 700;
        color: var(--primary-color);
        position: relative;
        margin-bottom: 20px;
        text-align: center;
    }

.faquest .heading:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color) !important;
    border-radius: 2px;
}

.track_text p, .services_text p, .delivery_text p, .energy_text p, .charter_text p {
    color: #666 !important;
    text-align: justify-all;
}

.contactus h2 {
    font-weight: 700 !important;
    color: var(--zenersol-white) !important;
    position: relative !important;
    margin-bottom: 20px !important;
}

@media (max-width: 767px) {
    .track_record, .services_record, .delivery_record, .charter_record, .charter_record .charter-image {
        background: none;
    }

        .track_record h2:after, .services_record h2:after, .delivery_record h2:after, .energy_text h2:after, .charter_record h2:after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--primary-color) !important;
            border-radius: 2px;
        }

    .energy_text h2 {
        text-align: center;
    }
    .charter_record .charter-image img {
        display: none;
    }
}
/*
---------------------------------------------
about
---------------------------------------------
*/

/* Features Section Container */
#about {
    padding: 100px 0;
    background: #f8f9fa; /* optional background */
}

/* Card layout for 4 in a row: use Bootstrap col-lg-3 */
.features-item {
    position: relative;
    background: #fff;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px; /* space between rows on wrap */
    min-height: 425px;
}

    /* Big background number */
    .features-item h2 {
        position: absolute;
        top: 20px;
        left: 15px;
        font-size: 70px;
        font-weight: 800;
        color: rgba(19, 73, 115, 0.05); /* #134973 with opacity */
        z-index: 1;
        pointer-events: none;
    }

    /* Icon */
    .features-item img {
        position: relative;
        z-index: 2;
        width: 50px;
        margin-bottom: 20px;
    }

    /* Title */
    .features-item h4 {
        position: relative;
        z-index: 2;
        font-size: 20px;
        font-weight: 700;
        color: #1e1e1e;
        margin: 20px 0 15px;
    }

    /* Paragraph */
    .features-item p {
        position: relative;
        z-index: 2;
        font-size: 15px;
        line-height: 1.8;
        color: #666;
        margin-bottom: 15px;
    }

/* START: features-item initial hidden state */
.features-item {
    opacity: 0;
}

    /* WHEN VISIBLE: trigger scale + fade in */
    .features-item.scale-up-center {
        opacity: 1;
        -webkit-animation: scale-up-center 0.8s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
        animation: scale-up-center 0.8s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    }

/* Your existing scale-up-center keyframes stay the same: */
@-webkit-keyframes scale-up-center {
    0% {
        -webkit-transform: scale(0.5);
        transform: scale(0.5);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes scale-up-center {
    0% {
        -webkit-transform: scale(0.5);
        transform: scale(0.5);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}


    /* Main button */
    .features-item .main-button {
        position: relative;
        z-index: 2;
        display: inline-block;
        background: #134973; /* your color */
        color: #fff;
        font-weight: 500;
        text-transform: uppercase;
        border-radius: 30px;
        padding: 7px 25px;
        text-decoration: none;
        transition: background 0.3s ease, box-shadow 0.3s ease;
    }

        .features-item .main-button:hover {
            background: #0f3a5b; /* slightly darker blue on hover */
            box-shadow: 0 5px 15px rgba(19, 73, 115, 0.3); /* blue-ish shadow */
        }

    /* Hover lift */
    .features-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }
.features-icon {
    min-height: 365px !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.feature-after-four {
    min-height: 330px !important;
}
    .feature-after-four .features-icon {
        min-height: 270px !important;
    }

.custom-modal-header {
    background: linear-gradient(135deg, #134973 0%, #196b94 100%);
    color: #fff;
}

/* Responsive: spacing for smaller screens */
@media (max-width: 992px) {
    .features-item {
        margin-bottom: 40px;
    }
}
@media (max-width: 768px) {
    .features-item {
        min-height: 300px !important;
    }
    .features-icon {
        min-height: 250px !important;
    }

    .feature-after-four {
        min-height: 300px !important;
    }

        .feature-after-four .features-icon {
            min-height: 250px !important;
        }
}

/* ---------------------------------------------
   Footer Base Styles
--------------------------------------------- */

footer#contact-us {
    background: #134973; /* changed to your button color */
    padding: 100px 0 50px;
    color: #fff;
}

footer .footer-content {
    position: relative;
    z-index: 2;
}

/* Contact form: back to white for contrast on dark footer */
footer .contact-form {
    background: #fff;
    border-radius: 8px;
    padding: 40px 30px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.05);
}

    footer .contact-form input,
    footer .contact-form textarea {
        width: 100%;
        border: 1px solid rgba(0, 0, 0, 0.1); /* thin subtle border */
        border-radius: 5px;
        padding: 12px 20px;
        margin-bottom: 20px;
        font-size: 14px;
        background-color: rgba(250,250,250,0.6);
        color: #333;
        resize: none; /* textarea not resizable */
    }

        footer .contact-form input::placeholder,
        footer .contact-form textarea::placeholder {
            color: #999;
        }

    footer .contact-form button.main-button {
        background: #134973; /* your blue */
        color: #fff;
        border: none;
        border-radius: 30px;
        padding: 12px 30px;
        text-transform: uppercase;
        font-weight: 600;
        transition: background 0.3s ease, box-shadow 0.3s ease;
    }

        footer .contact-form button.main-button:hover {
            background: #0f3a5b; /* darker blue on hover */
            box-shadow: 0 5px 15px rgba(19, 73, 115, 0.3);
        }

/* Right Content Area */
footer .right-content {
    padding-left: 0px 20px;
}

    footer .right-content h2 {
        font-size: 28px;
        font-weight: 700;
        color: #fff;
        margin-bottom: 30px;
    }

        footer .right-content h2 em {
            color: #fba70b;
            font-style: normal;
        }

    footer .right-content p {
        font-size: 15px;
        line-height: 1.8;
        color: #fff;
        margin-bottom: 30px;
    }

        footer .right-content p a {
            color: #fff;
            text-decoration: underline;
        }

footer .social {
    list-style: none;
    padding: 0;
    margin: 0;
}

    footer .social li {
        display: inline-block;
        margin-right: 15px;
    }

        footer .social li a {
            color: #fff;
            font-size: 18px;
            transition: color 0.3s ease;
        }

            footer .social li a:hover {
                color: #fba70b;
            }

/* Sub Footer */
footer .sub-footer {
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
}

    footer .sub-footer p {
        margin: 0;
        color: #fff;
        font-size: 14px;
    }

        footer .sub-footer p a {
            color: #fff;
            text-decoration: underline;
        }

/* Responsive adjustments */
@media (max-width: 991px) {
    footer .right-content {
        padding-left: 20px;
    }
    footer .left-content {
        margin-top: 50px;
    }
}

/* ---------------------------------------------
   Registration Page Styles
--------------------------------------------- */
.bright-container {
    min-height: 100vh;
    background: linear-gradient( 135deg, #134973 0%, #0f3a5a 50%, #0b2c3b 100% );
    position: relative;
    overflow: hidden;
}

    .bright-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.06)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
        opacity: 0.3;
    }

.bright-geometric-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.bright-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transform: rotate(45deg);
}

.bright-shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 15%;
    animation: float 6s ease-in-out infinite;
}

.bright-shape-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 10%;
    animation: float 8s ease-in-out infinite reverse;
}

.bright-shape-3 {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 30%;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: rotate(45deg) translateY(0px);
    }

    50% {
        transform: rotate(45deg) translateY(-20px);
    }
}

.bright-main-content {
    position: relative;
    z-index: 10;
    min-height: 100vh;
}

.bright-form-section {
    background: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.bright-welcome-section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    color: white;
    padding: 2rem;
}

.bright-logo {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

    .bright-logo i {
        font-size: 2.5rem;
        color: white;
    }

.bright-form-container {
    max-width: 400px;
    width: 100%;
}

.bright-form-logo {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

    .bright-form-logo i {
        font-size: 1.8rem;
        color: white;
    }

.bright-form-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.5rem;
}

.bright-form-subtitle {
    color: #6B7280;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 2rem;
}

.bright-form-group {
    margin-bottom: 1.5rem;
}

.bright-form-label {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.bright-form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: #F9FAFB;
}

    .bright-form-input:focus {
        outline: none;
        border-color: var(--primary-color);
        background: white;
    }

.bright-checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.bright-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.bright-checkbox-label {
    color: #6B7280;
    font-size: 0.9rem;
}

.bright-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #134973, #196b94);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .bright-submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
    }

.bright-welcome-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.bright-welcome-text {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 300px;
}

.bright-brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 1rem;
}

.bright-nav-links {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2rem;
}

.bright-nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .bright-nav-link:hover {
        color: white;
    }

.bright-nav-btn {
    color: var(--primary-color);
}

.bright-form-container > .bright-form-logo {
    display: none;
}

/* FIXED: Medium screen styles (768px to 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
/*    .bright-welcome-section {
        display: none;
    }*/

    .bright-form-section {
        min-height: 100vh;
/*        background: linear-gradient( 135deg, #134973 0%, #0f3a5a 50%, #0a2a3a 100% );*/
/*        color: white;*/
        position: relative;
    }

/*        .bright-form-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.06)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
            opacity: 0.3;
        }*/

    .bright-form-container {
        background: white;
        border-radius: 25px;
/*        padding: 2rem;*/
        max-width: 500px;
        margin-top: 4rem;
/*        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);*/
    }

    .bright-form-logo {
        background: white;
        border: 2px solid var(--primary-color);
        margin-top: -3.5rem;
        margin-bottom: 1.5rem;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

        .bright-form-logo i {
            color: var(--primary-color);
        }

    .bright-medium-header {
        position: absolute;
        top: 2rem;
        left: 0;
        right: 0;
        text-align: center;
        z-index: 5;
    }

    .bright-medium-logo {
        width: 70px;
        height: 70px;
        background: rgba(255, 255, 255, 0.2);
        border: 3px solid rgba(255, 255, 255, 0.3);
        border-radius: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1rem;
        backdrop-filter: blur(10px);
    }

        .bright-medium-logo i {
            font-size: 2rem;
            color: white;
        }

    .bright-medium-title {
        color: white;
        font-size: 1.8rem;
        font-weight: 700;
        margin-bottom: 2rem;
    }
}

/* Mobile Styles */
@media (max-width: 767.98px) {
    .bright-welcome-section {
        display: none;
    }

    .bright-form-section {
        min-height: 100vh;
        background: linear-gradient( 135deg, #134973 0%, #0f3a5a 50%, #0a2a3a 100% );
/*        color: white;*/
        position: relative;
    }

        .bright-form-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.06)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
            opacity: 0.3;
        }

    .bright-form-container {
        position: relative;
        z-index: 10;
        background: white;
        border-radius: 0;
        padding: 2rem;
        margin-top: 8rem;
        border-top-left-radius: 25px;
        border-top-right-radius: 25px;
    }

    .bright-form-logo {
        background: white;
        border: 2px solid var(--primary-color);
        margin-top: -3rem;
        margin-bottom: 1.5rem;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

        .bright-form-logo i {
            color: var(--primary-color);
        }

    .bright-mobile-header {
        position: absolute;
        top: 2rem;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        z-index: 5;
    }

    .bright-mobile-logo {
        width: 60px;
        height: 60px;
        background: rgba(255, 255, 255, 0.2);
        border: 3px solid rgba(255, 255, 255, 0.3);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1rem;
        backdrop-filter: blur(10px);
    }

        .bright-mobile-logo i {
            font-size: 1.8rem;
            color: white;
        }

    .bright-mobile-title {
        color: white;
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 2rem;
    }
}
/* ---------------------------------------------
   Certification Carousel Styles
--------------------------------------------- */
.certifications-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
}
    .certifications-section .card-title {
        color: white !important;
    }
    .certifications-section .card-body {
        background: linear-gradient(135deg, #134973 0%, #1e5a80 50%, #2986cc 100%);
    }

    .section-header {
        text-align: center;
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-weight: 700;
        color: var(--primary-color);
        position: relative;
        display: inline-block;
        margin-bottom: 20px;
    }

        .section-header h2:after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--primary-color) !important;
            border-radius: 2px;
        }

        .section-header p, .proj-text {
            color: #7f8c8d;
            max-width: 700px;
            margin: 0 auto;
            font-size: 1.1rem;
        }

/* Carousel Styling */
.carousel-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    border: none;
    background: white;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .carousel-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.15) !important;
    }

.card-img-container {
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.carousel-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    padding: 15px;
}

.carousel-card:hover img {
    transform: scale(1.03);
}

.card-body {
    padding: 20px;
    text-align: center;
    border-top: 1px solid #eee;
    background: #fff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-title {
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    font-size: 1.25rem;
}

.carousel-indicators {
    bottom: -100px !important;
}

    .carousel-indicators [data-bs-target] {
        width: 12px !important;
        height: 12px !important;
        border-radius: 50%;
        margin: 0 6px;
        background-color: #134973 !important;
        opacity: 0.5;
        transition: all 0.3s ease;
        border: none;
    }

    .carousel-indicators .active {
        opacity: 1;
        background-color: #134973 !important;
        transform: scale(1.2);
    }

.carousel-control-prev,
.carousel-control-next {
    width: 50px !important;
    height: 50px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background-color: rgba(19, 73, 115,0.9) !important;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 2;
    opacity: 0.8;
}

    .carousel-control-prev:hover,
    .carousel-control-next:hover {
        background: linear-gradient(135deg, rgba(19, 73, 115, 1) 0%, rgba(9, 43, 70, 1) 100%) !important;
        opacity: 1;
        transform: translateY(-50%) scale(1.1);
    }

.carousel-control-prev {
    left: -60px !important;
}

.carousel-control-next {
    right: -60px !important;
}

.carousel {
    margin-bottom: 70px;
}

@media (max-width: 991.98px) {
    .carousel-item .col-12 {
        width: 80%;
    }
    .card-img-container {
        height: 350px;
    }

    .carousel-control-prev {
        left: -10px !important;
    }

    .carousel-control-next {
        right: -10px !important;
    }

    .carousel-indicators {
        bottom: -40px;
    }
}

@media (max-width: 767.98px) {
    .card-img-container {
        height: 300px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px !important;
        height: 40px !important;
    }

    .card-title {
        font-size: 1.1rem;
    }
    .carousel-control-prev {
        left: 0px !important;
    }

    .carousel-control-next {
        right: 0px !important;
    }
}

/* Footer styling */
.footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 30px 0;
    text-align: center;
    margin-top: 40px;
}

    .footer p {
        margin: 0;
        font-size: 1rem;
    }
/* Style the overall accordion container */
#fa_question .accordion {
/*    border-top: 1px solid var(--primary-color);*/
    border-bottom: 1px solid var(--primary-color);
    border-left: none;
    border-right: none;
    border-radius: 0px;
}

/* Remove borders from individual accordion items */
#fa_question .accordion-item {
    border-left: none;
    border-right: none;
    border-top: 1px solid var(--primary-color);
    /*    border-bottom: 2px solid white;*/
    border-radius: 0px;
    background-color: var(--body-bg);
    color: #666;
}

/* Accordion buttons styling */
#fa_question .accordion-button {
    background-color: var(--body-bg);
    color: var(--primary-color);
    font-weight: 500;
    border: none;
    box-shadow: none;
}

    /* Open accordion state styling */
    #fa_question .accordion-button:not(.collapsed) {
        background-color: var(--body-bg);
        color: #666;
    }

    /* White caret icon */
    #fa_question .accordion-button::after {
/*        filter: invert(1);*/
        color: var(--primary-color) !important;
    }

/* Accordion body styling */
#fa_question .accordion-body {
    background-color: var(--body-bg);
    color: #666;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}


/* ---------------------------------------------
   Project Section Styles
--------------------------------------------- */
.projects-section {
    background-color: #f8f9fa;
    padding: 4rem 0;
}

    .projects-section h2 {
        font-weight: 700;
        color: var(--primary-color);
        position: relative;
        margin-bottom: 20px;
        text-align: center;
    }

        .projects-section h2:after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--primary-color) !important;
            border-radius: 2px;
        }

.project-card {
    transition: all 0.4s ease;
    border: none !important;
    overflow: hidden;
    position: relative;
    height: 250px !important;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

    .project-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.project-card:hover .card-image {
    transform: scale(1.05);
    filter: brightness(0.4);
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    color: white;
}

.project-card:hover .card-content {
    opacity: 1;
    transform: translateY(0);
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white !important;
}

.card-subtitle {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.85) !important;
}

.card-text {
    font-size: 1rem;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.card-meta {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

.project-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease 0.1s;
}

.project-card:hover .project-badge {
    opacity: 1;
    transform: translateY(0);
}

/* ---------------------------------------------
   About Us page Styles
--------------------------------------------- */
/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #134973 0%, #1e5a80 50%, #ffffff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="150" cy="150" r="80" fill="url(%23a)"/><circle cx="850" cy="200" r="120" fill="url(%23a)"/><circle cx="200" cy="800" r="100" fill="url(%23a)"/><circle cx="750" cy="750" r="90" fill="url(%23a)"/></svg>');
        animation: float 25s ease-in-out infinite;
        opacity: 0.6;
    }

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-15px) rotate(120deg);
    }

    66% {
        transform: translateY(10px) rotate(240deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
    opacity: 0;
    animation: slideInUp 1.2s ease-out 0.3s forwards;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    opacity: 0;
    animation: slideInUp 1.2s ease-out 0.6s forwards;
    font-weight: 300;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glass Card Effect */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    padding: 3rem;
    transition: all 0.4s ease;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out 0.9s forwards;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

    .glass-card:hover {
        transform: translateY(-15px);
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
        background: rgba(255, 255, 255, 0.2);
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main Content Section */
.content-section {
    padding: 6rem 0;
    background: linear-gradient(45deg, #ffffff 0%, #f8fafb 50%, #ffffff 100%);
    position: relative;
}

    .content-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--light-blue), transparent);
    }

.section-title {
    font-size: 2.8rem;
    font-weight: 600;
    color: #134973;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 60px;
        height: 4px;
        background: linear-gradient(135deg, #134973 0%, #1e5a80 100%);
        border-radius: 2px;
    }

.content-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(19, 73, 115, 0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(19, 73, 115, 0.1);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

    .content-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(135deg, #134973 0%, #1e5a80 100%);
    }

    .content-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 25px 50px rgba(19, 73, 115, 0.15);
    }

.content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.highlight-text {
    color: #134973;
    font-weight: 600;
}

/* Leadership Section */
.leadership-section {
    background: #134973;
    padding: 5rem 0;
    color: white;
    position: relative;
}

    .leadership-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    }

.leader-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

    .leader-card:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateY(-5px);
    }

.leader-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #134973;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.leader-card:hover .leader-icon {
    transform: scale(1.1) rotate(10deg);
}

/* Mission Section */
.mission-section {
    padding: 2rem 0;
    color: white;
    text-align: center;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
}

.mission-title {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.mission-text {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.3s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

    .animate-on-scroll.animated {
        opacity: 1;
        transform: translateY(0);
    }

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .glass-card, .content-card, .leader-card {
        padding: 2rem;
    }

    .mission-title {
        font-size: 2.2rem;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #134973;
    border-radius: 4px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #0f3a5a;
    }



/* Responsive adjustments */
@media (max-width: 992px) {
    .project-card {
        height: 270px;
    }
}

@media (max-width: 768px) {
    .project-card {
        height: 250px;
        margin-bottom: 25px;
    }

    .projects-section h2 {
        font-size: 2rem;
    }
}
@media (max-width: 576px) {
    .hero-section .container .row{
        min-height: 400px !important;
    }
}

/*
---------------------------------------------
Quick Actions Page Styles
---------------------------------------------
*/
.quick-heading {
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    margin-bottom: 20px;
    text-align: center;
}

    .quick-heading:after {
        content: '';
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: var(--primary-color) !important;
        border-radius: 2px;
    }

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.quick-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background-color: #f9f9f9;
}

.quick-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.quick-icon {
    font-size: 24px;
    margin-right: 10px;
}

.quick-title {
    font-size: 18px;
    font-weight: bold;
    color: #134973;
    margin: 0;
}

.quick-text {
    margin-bottom: 15px;
    line-height: 1.5;
    color: #666;
}

.quick-list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #666;
}

    .quick-list li {
        margin-bottom: 5px;
        font-size: 14px;
    }

.quick-support {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.quick-support-button {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

    .quick-support-button:hover {
        background-color: #c0392b;
    }



/* ---------------------------------------------
   Services page Styles
--------------------------------------------- */
/* Services Page Header */
.services-page-header {
    background: linear-gradient(135deg, #134973 0%, #1e5a80 50%, #ffffff 100%) !important;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

    .services-page-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
        opacity: 0.3;
    }

.services-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.services-main-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.services-main-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.2s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Container */
.services-container-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.service-item-card {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(19, 73, 115, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
}

    .service-item-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gradient-bg);
        transform: scaleX(0);
        transition: transform 0.4s ease;
    }

    .service-item-card:hover::before {
        transform: scaleX(1);
    }

    .service-item-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 60px rgba(19, 73, 115, 0.15);
    }

    .service-item-card.animate {
        opacity: 1;
        transform: translateY(0);
        transition: all 0.6s ease;
    }

.service-item-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-bg);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: all 0.3s ease;
    overflow: hidden; /* Important to clip overflowing parts */
}

    .service-item-icon img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Ensures the image is scaled down without distortion */
    }

    .service-item-icon i {
        font-size: 2rem;
        color: white;
    }

.service-item-card:hover .service-item-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-item-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.service-item-description {
    color: var(--text-light);
    line-height: 1.8;
    text-align: center;
    font-size: 1rem;
}

/* Alternating Layout */
.service-item-row:nth-child(even) .service-item-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
}

    .service-item-row:nth-child(even) .service-item-card .service-item-title {
        color: white;
    }

    .service-item-row:nth-child(even) .service-item-card .service-item-description {
        color: rgba(255, 255, 255, 0.9);
    }

    .service-item-row:nth-child(even) .service-item-card .service-item-icon {
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
    }

/* Contact CTA Section */
.contact-cta-section {
    background: var(--gradient-bg);
    padding: 80px 0;
    text-align: center;
    color: white;
    position: relative;
}

    .contact-cta-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="0,100 100,0 100,100" fill="rgba(255,255,255,0.1)"/></svg>');
    }

.contact-cta-content {
    position: relative;
    z-index: 2;
}

.contact-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-cta-btn {
    background: white;
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

    .contact-cta-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(255, 255, 255, 0.4);
        color: var(--primary-color);
    }

/* Responsive Design */
@media (max-width: 768px) {
    .services-main-title {
        font-size: 2.5rem;
    }

    .service-item-card {
        padding: 2rem 1.5rem;
    }

    .contact-cta-title {
        font-size: 2rem;
    }
}

/* Scroll animations */
.services-fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

    .services-fade-in-up.animate {
        opacity: 1;
        transform: translateY(0);
    }

/* ---------------------------------------------
   User Dashboard page Styles
--------------------------------------------- */
/* Layout & Typography */
.zs-dashboard-container {
    max-width: 1100px;
}

.zs-dashboard-header {
    font-size: 2.5rem;
    font-weight: 700;
    color: #134973;
    letter-spacing: .5px;
}

/* Cards */
.zs-card {
    background: #fff;
    border-radius: 1rem;

}

.zs-card-title {
    margin: 0;
    padding: 1rem 1.5rem 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #134973;
    text-align: center;
}

.zs-card-body {
    padding: 1rem 1.5rem 1.5rem;
    font-size: .95rem;
    color: #495057;
}

/* User Card Specific */
.zs-user-card {
    border-left: 4px solid #134973;
    border-radius: 0;
}

/* Bill Card Specific */
.zs-bill-card {
    border-left: 4px solid #134973;
    border-radius: 0;
}

.zs-amount {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.zs-btn-view {
    background-color: #134973 !important;
    color: #fff !important;
    border-radius: .5rem !important;
    padding: .5rem 1.25rem !important;
}

.zs-btn-view-pay {
    background-color: gray !important;
    color: #fff !important;
    border-radius: .5rem !important;
    padding: .5rem 1.25rem !important;
}

/* Quick Cards */
.zs-quick-card {
    padding: 2rem 1rem;
}

.zs-icon {
    font-size: 2rem;
    color: #134973;
    margin-bottom: .5rem;
}

.zs-card-subtitle {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: .5rem;
}

.zs-service-list li {
    margin: .25rem 0;
}

/* Responsive tweaks */
@media (max-width: 767px) {
    .zs-card-title {
        font-size: 1.1rem;
    }

    .zs-dashboard-header {
        font-size: 2rem;
    }
}








/* Responsive Styles for < 992px */
@media (max-width: 992px) {
    .dashboard-container {
        padding: 1.5rem;
    }

    .dashboard-card {
        padding: 1.5rem;
    }

    .card-title {
        font-size: 1.3rem;
    }

    .card-value {
        font-size: 1.8rem;
    }

    .card-icon-container {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }

        .card-icon-container img {
            width: 24px;
            height: 24px;
        }

    .card-description {
        font-size: 0.9rem;
    }

    /* Adjust hover effects for mobile */
    .dashboard-card:hover {
        transform: none;
        box-shadow: none;
    }

        .dashboard-card:hover::before {
            width: 4px;
            background-color: #212529;
        }

    /* Force pointer cursor for touch devices */
    .card-link {
        cursor: pointer;
    }
/*bill dashboard*/
    .bill-container {
        width: 100%;
        padding: 0px 20px 10px !important;
    }

/*    .user-info-section {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }*/

    .name-container, .address-container {
        width: 100%;
        max-width: 500px;
    }

/*    .amount-container {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }*/

    .view-bill-container {
        height: 180px;
        width: 180px;
    }

    /*    .payment-image-wrapper {
        width: 50% !important;
    }*/

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    h4 {
        font-size: 1.3rem;
    }

    h5 {
        font-size: 1.1rem;
    }

    h6 {
        font-size: 1rem;
    }
    .nav-link-portal {
        text-align: center !important;
    }
    .btn-nav-portal {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .form-container {
        margin: 1rem;
        padding: 1.5rem;
    }

    .form-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-group label {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }

    .form-control {
        padding: 0.7rem 1rem;
    }

    .btn-primary {
        padding: 0.9rem;
        font-size: 0.95rem;
    }
    .service-card-content {
        padding: 1rem;
    }

    .service-card h3 {
        font-size: 1rem;
    }

    .service-card p {
        font-size: 0.8rem;
    }
    .dashboard-container {
        padding: 1rem;
    }

    .dashboard-card {
        padding: 1.25rem;
    }

    .card-title {
        font-size: 1.2rem;
    }

    .card-value {
        font-size: 1.6rem;
    }

    .card-icon-container {
        width: 45px;
        height: 45px;
    }

        .card-icon-container img {
            width: 22px;
            height: 22px;
        }

    .chart-contain {
        width: 100% !important;
    }
    /*bill dashboard*/
    .bill-container {
        padding: 0px 15px 10px !important;
    }
    .user-info-section {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .per-img {
        flex-basis: 25% !important;
    }
    .per-name {
        flex-basis: 75% !important;
    }
/*
    .payby-container > div {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }*/

    .main-amount {
        justify-content: center;
    }

/*    .view-bill-container {
        height: 160px;
        width: 160px;
    }*/

/*    .payment-image-wrapper {
        width: 25%;
    }*/

    .footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .socials, .contacts {
        justify-content: center;
    }

    h1 {
        font-size: 2.2rem !important;
    }

    h2 {
        font-size: 1.6rem !important;
    }

    h3 {
        font-size: 1.4rem !important;
    }

    h4 {
        font-size: 1.2rem !important;
    }

    h5 {
        font-size: 1rem !important;
    }

    h6 {
        font-size: 0.9rem !important;
    }
    .nav-scrollable {
        display: flex !important;
        flex-direction: column !important;
    }
    .button-send-email button{
        width: 100% !important;
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    }
}

@media (max-width: 768px) and (min-width: 640px) {
    .nav-scrollable {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 639px) {
    .nav-scrollable.collapse {
        display: none !important;
    }

    .nav-scrollable.show {
        display: flex !important;
        flex-direction: column;
    }
}


@media (max-width: 576px) {
    .home-page {
        padding: 1rem 0;
    }

    .log-entry {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        font-size: 0.8rem;
    }

    .log-time {
        min-width: auto;
    }
    .dashboard-card {
        padding: 1rem;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .card-value {
        font-size: 1.5rem;
    }

    .card-icon-container {
        width: 40px;
        height: 40px;
        margin-bottom: 0.75rem;
    }

        .card-icon-container img {
            width: 20px;
            height: 20px;
        }

    .card-description {
        font-size: 0.85rem;
    }

    .chart-contain {
        width: 100% !important;
    }

    #scheduleModal .modal-dialog, #userModal .modal-dialog {
        max-width: 95%;
        margin: 1rem auto;
    }
    /*bill dashboard*/
    .bill-container {
        padding: 0px 10px 10px !important;
    }

    .icons-container {
        justify-content: center;
        flex-wrap: wrap;
    }

    .view-bill-container {
        height: 140px;
        width: 140px;
        padding: 10px;
    }

        .view-bill-container h1 {
            font-size: 1.8rem;
        }

    .payment-container {
        height: 300px;
    }

/*    .payment-image-wrapper {
        width: 50% !important;
    }*/

    .balance-container > div {
        padding: 10px 5px;
    }
    .per-img img, .resident-img img {
        height: 40% !important;
    }
    .name-resident-container {
        flex-direction: column;
    }

    h1 {
        font-size: 1.5rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    h3 {
        font-size: 1.3rem !important;
    }

    h4 {
        font-size: 1.1rem !important;
    }

    h5 {
        font-size: 0.95rem !important;
    }

    h6 {
        font-size: 0.85rem !important;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 1rem;
        margin: 0.5rem;
        border-radius: 10px;
    }

    .form-title {
        font-size: 1.6rem;
        padding-bottom: 0.3rem;
    }

        .form-title::after {
            width: 50px;
            height: 2px;
        }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-control {
        font-size: 0.95rem;
        padding: 0.6rem 0.9rem;
    }

    .btn-primary {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .alert {
        font-size: 0.9rem;
        padding: 0.8rem;
    }

    .chart-contain {
        width: 100% !important;
    }
    .payment-image-wrapper {
        width: 50% !important;
    }

}

@media (max-width: 360px) {
    .form-title {
        font-size: 1.4rem;
    }

    .form-control {
        font-size: 0.9rem;
        padding: 0.5rem 0.8rem;
    }

    .btn-primary {
        font-size: 0.85rem;
        letter-spacing: 0.5px;
    }

    input[type="file"]::file-selector-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .form-title {
        font-size: 1.1rem;
    }

    .chart-contain {
        width: 100% !important;
    }
    .payment-image-wrapper {
        width: 50% !important;
    }
}

/* Smooth fade-in animation */
@media (prefers-reduced-motion: no-preference) {
    #scheduleModal .modal-dialog, #userModal .modal-dialog {
        transform: translateY(-50px);
    }

    #scheduleModal.show .modal-dialog, #userModal.show .modal-dialog {
        transform: translateY(0);
    }
}