/* ================= BANNER SLIDER ================= */
.banner-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.banner-slider {
    position: relative;
    height: 500px;
}

.banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.banner-img.active {
    opacity: 1;
}

/* ================= ABOUT SECTION ================= */
.about-card {
    display: flex;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    flex: 1;
    padding: 60px;
}

.about-content h3 {
    color: var(--primary-color);
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 10px;
}

.about-content h6 {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
}

.about-content p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #555;
}

/* ================= SERVICES SECTION ================= */
.section-title {
    text-align: center;
    color: var(--primary-color);
    font-family: var(--font-serif);
    font-size: 32px;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    border-top: 5px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-top-color: var(--secondary-color);
}

.service-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-card h4 {
    font-size: 20px;
    margin: 10px 0;
    color: #222;
}

.service-card p {
    font-size: 14px;
    color: #666;
}

/* ================= STATS SECTION ================= */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color), #2c5aa0);
    padding: 60px 0;
    color: var(--white);
    border-radius: 12px;
    margin-bottom: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item h2 {
    font-size: 42px;
    font-weight: 800;
    margin: 0;
    color: var(--secondary-color);
}

.stat-item p {
    margin: 10px 0 0;
    font-size: 16px;
    font-weight: 500;
    opacity: 0.9;
}

/* ================= REPORT ISSUE FORM ================= */
.report-form-wrapper {
    display: flex;
    justify-content: center;
    padding: 60px 0;
    min-height: 80vh;
    /* Ensure it takes good height */
}

.report-form-card {
    background: var(--white);
    width: 100%;
    max-width: 600px;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    /* Soft, deep shadow */
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.report-form-card .section-title {
    margin-bottom: 30px;
    font-size: 28px;
    text-align: center;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
    font-size: 14px;
    letter-spacing: 0.3px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    background-color: #fcfcfc;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-sizing: border-box;
    font-family: inherit;
    color: var(--text-color);
}

.form-control:hover {
    background-color: #fff;
    border-color: #ccc;
}

.form-control:focus {
    background-color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(31, 63, 109, 0.1);
    /* Based on primary color */
    outline: none;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

/* Custom File Upload */
.file-upload-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
}

.file-input {
    width: 100%;
    padding: 12px;
    background: #f8fbff;
    border: 2px dashed #d1d9e6;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    color: #555;
}

.file-input:hover {
    border-color: var(--primary-color);
    background: #fff;
}

/* Button */
.btn-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-color), #2c5aa0);
    color: var(--white);
    font-weight: 700;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(31, 63, 109, 0.2);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(31, 63, 109, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

/* ================= AUTH PAGES ================= */
.auth-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.auth-card {
    background: var(--white);
    width: 100%;
    max-width: 450px;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-title {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.auth-subtitle {
    color: #666;
    font-size: 14px;
}

.auth-footer {
    margin-top: 30px;
    text-align: center;
    font-size: 14px;
    color: #666;
}

.auth-footer a {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.password-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toggle-password {
    cursor: pointer;
    font-size: 14px;
    color: #666;
    user-select: none;
}

.toggle-password:hover {
    color: #000;
}

/* ================= PASSWORD TOGGLE EYE ICON ================= */
.password-input-wrapper {
    position: relative;
    width: 100%;
}

/* Hide browser default password reveal button (Edge/IE) */
input::-ms-reveal,
input::-ms-clear {
    display: none;
}


.password-input-wrapper .form-control {
    padding-right: 50px;
}

.password-toggle-container {
    --color: #666;
    --size: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 50px;
    top: 42%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: var(--size);
    user-select: none;
    fill: var(--color);
    z-index: 10;
    margin-top: -1px;
}

.password-toggle-container .eye {
    position: absolute;
    animation: keyframes-fill .5s;
}

.password-toggle-container .eye-slash {
    position: absolute;
    animation: keyframes-fill .5s;
    display: none;
}

/* ------ On check event ------ */
.password-toggle-container input:checked~.eye {
    display: none;
}

.password-toggle-container input:checked~.eye-slash {
    display: block;
}

/* ------ Hide the default checkbox ------ */
.password-toggle-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* ------ Animation ------ */
@keyframes keyframes-fill {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }
}

/* ================= NOTICES GRID ================= */
.notices-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (max-width: 768px) {
    .notices-grid {
        grid-template-columns: 1fr;
    }
}

.notice-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.notice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.notice-banner {
    height: 200px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 90px;
    color: white;
    position: relative;
    /* transition: height 0.3s; */
}


/* ================= TRACKER SEARCH & STATUS ================= */

.tracker-search-container {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    text-align: center;
}

.tracker-search-form {
    display: flex;
    gap: 10px;
    max-width: 600px;
    margin: 20px auto 0;
}

.tracker-search-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #eee;
    border-radius: 30px;
    font-size: 16px;
    transition: all 0.3s;
    outline: none;
}

.tracker-search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(31, 63, 109, 0.1);
}

.tracker-search-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.tracker-search-btn:hover {
    background: #1a365d;
    transform: translateY(-2px);
}

/* Visual Progress Tracker */
.status-tracker-wrapper {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.tracker-header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.tracker-id-badge {
    background: #eff6ff;
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.progress-track {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

/* Progress Line Background */
.progress-track::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 4px;
    background: #e2e8f0;
    z-index: 1;
}

/* Active Progress Line */
.progress-fill {
    position: absolute;
    top: 20px;
    left: 0;
    height: 4px;
    background: #10b981;
    /* Green */
    z-index: 1;
    width: 0%;
    transition: width 1s ease-in-out;
}

.step-item {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 33.33%;
}

.step-circle {
    width: 44px;
    height: 44px;
    background: white;
    border: 4px solid #e2e8f0;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #94a3b8;
    transition: all 0.4s ease;
}

.step-label {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    transition: color 0.4s;
}

.step-date {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 5px;
    display: block;
}

/* Active State */
.step-item.active .step-circle {
    border-color: #10b981;
    background: #10b981;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.2);
}

.step-item.active .step-label {
    color: #0f172a;
}

/* Completed State (Previous steps) */
.step-item.completed .step-circle {
    border-color: #10b981;
    background: #10b981;
    color: white;
}

/* Rejected State */
.step-item.rejected .step-circle {
    border-color: #ef4444;
    background: #ef4444;
    color: white;
}

.progress-fill.rejected {
    background: #ef4444;
}

/* ================= MEDIA QUERIES ================= */

/* ================= DESCRIPTION READ MORE ================= */

/* ================= COPY TO CLIPBOARD BUTTON ================= */
.copy {
    /* button */
    --button-bg: var(--primary-color);
    --button-hover-bg: #2c5aa0;
    --button-text-color: #ffffff;
    --button-hover-text-color: var(--secondary-color);
    --button-border-radius: 8px;
    --button-diameter: 28px;
    --button-outline-width: 1px;
    --button-outline-color: var(--secondary-color);
    /* tooltip */
    --tooltip-bg: #ffffff;
    --toolptip-border-radius: 4px;
    --tooltip-font-family: var(--font-main);
    /* 👆 this field should not be empty */
    --tooltip-font-size: 11px;
    /* 👆 this field should not be empty */
    --tootip-text-color: var(--primary-color);
    --tooltip-padding-x: 10px;
    --tooltip-padding-y: 6px;
    --tooltip-offset: 10px;
    --tooltip-transition-duration: 0.2s;
}

.copy {
    box-sizing: border-box;
    width: var(--button-diameter);
    height: var(--button-diameter);
    border-radius: var(--button-border-radius);
    background-color: var(--button-bg);
    color: var(--button-text-color);
    border: none;
    cursor: pointer;
    position: relative;
    outline: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
    vertical-align: middle;
    margin-left: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tooltip {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    white-space: nowrap;
    font-family: var(--tooltip-font-family);
    font-size: var(--tooltip-font-size);
    color: var(--tootip-text-color);
    background: var(--tooltip-bg);
    padding: var(--tooltip-padding-y) var(--tooltip-padding-x);
    border-radius: var(--toolptip-border-radius);
    pointer-events: none;
    transition: all var(--tooltip-transition-duration) ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 100;
    border: 1px solid #eee;
}

.tooltip::before {
    content: attr(data-text-initial);
}

.tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    width: 8px;
    height: 8px;
    background: inherit;
    left: 50%;
    transform: translateX(-50%) translateY(-4px) rotate(45deg);
    z-index: -1;
    pointer-events: none;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.copy svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.2s ease;
}

.checkmark {
    display: none;
}

/* actions */

.copy:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-15px);
}

.copy.copied .tooltip::before {
    content: attr(data-text-end);
}

.copy.copied .clipboard {
    display: none;
}

.copy.copied .checkmark {
    display: block;
}

.copy:hover {
    background-color: var(--button-hover-bg);
    transform: translateY(-1px);
}

.copy:active {
    transform: scale(0.95);
}

.copy:hover svg {
    color: var(--button-hover-text-color);
}

.description-wrapper {
    margin: 10px 0;
    position: relative;
}

.description-text {
    color: #444;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

.description-text.expanded {
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
}

.read-more-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.read-more-btn:hover {
    color: var(--secondary-color);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 2px solid #edf2f7;
    border-radius: 10px;
    font-family: inherit;
    box-sizing: border-box;
    /* Explicitly ensure this */
}

.read-more-btn .toggle-icon {
    font-size: 10px;
    transition: transform 0.3s;
}

.read-more-btn.active .toggle-icon {
    transform: rotate(180deg);
}

/* Report Form Card */
.report-form-card {
    max-width: 800px;
    margin: auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    padding: 50px;
}

/* ================= RESPONSIVE HELPERS ================= */

/* Form Grid Row - 2 columns on desktop, 1 on mobile */
.form-grid-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .form-grid-row {
        grid-template-columns: 1fr;
    }
}

/* Responsive Hero Title */
.hero-title-text {
    font-size: 4rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 800;
}

@media (max-width: 768px) {
    .hero-title-text {
        font-size: 2.5rem;
        line-height: 1.2;
    }
}

/* Responsive About Card */
.about-card-inner {
    display: flex;
    gap: 50px;
    align-items: center;
    border: none;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

@media (max-width: 992px) {
    .about-card-inner {
        flex-direction: column;
        gap: 20px;
    }

    .about-image {
        height: 250px !important;
        width: 100%;
    }
}

/* Responsive Stats */
.stat-number {
    font-size: 48px;
    font-weight: 800;
    font-family: var(--font-serif);
}

@media (max-width: 768px) {
    .stat-number {
        font-size: 36px;
    }
}

/* Form Card Padding Adjustment */
@media (max-width: 768px) {
    .report-form-card {
        padding: 25px !important;
    }

    .file-input {
        padding: 20px !important;
    }
}

/* About Page Specifics */
.about-hero-title {
    font-size: 3.5rem;
    color: white;
}

@media (max-width: 768px) {
    .about-hero-title {
        font-size: 2rem;
    }
}

.about-page-card {
    background: white;
    margin-top: -60px;
    position: relative;
    z-index: 10;
    padding: 60px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .about-page-card {
        padding: 25px;
        margin-top: -30px;
    }
}

.vision-mission-row {
    display: flex;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.vision-mission-col {
    flex: 1;
    min-width: 280px;
    background: #f8fafc;
    padding: 40px;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .vision-mission-col {
        padding: 25px;
    }
}