@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600;1,700&display=swap");

/*Reset */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    color: #e5e7eb;
    min-height: 100vh;
    overflow-x: hidden;

    body {
    font-family: Arial, sans-serif;
    color: #e5e7eb;

    
    background-image: url("Hero_section-bg.jpg");

    min-height: 100vh;
    overflow-x: hidden;
}
}


/*Navbar - Glassmorphism */

nav {
    position: fixed;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);

    width: 94%;
    max-width: 81.25rem;
    min-height: 4.5rem;

    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0.75rem 1.5rem;

    /*Transparent Glass */
    background: rgba(12, 12, 18, 0.42);

    /*Strong Visible Blur */
    backdrop-filter: blur(1.875rem) saturate(180%);
    -webkit-backdrop-filter: blur(1.875rem) saturate(180%);

    /*Glass Border */
    border: 0.0625rem solid rgba(255, 255, 255, 0.15);

    border-radius: 1.375rem;

    box-shadow:
        0 0.9375rem 2.8125rem rgba(0, 0, 0, 0.45),
        inset 0 0.0625rem 0 rgba(255, 255, 255, 0.12),
        inset 0 -0.0625rem 0 rgba(255, 255, 255, 0.03);
}

.logo {
    font-family: "Outfit", sans-serif;
    font-size: 1.625rem;
    font-weight: 700;

    background: linear-gradient(90deg, #ffffff, #c084fc, #60a5fa);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.logo img{
    height:4rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links button {
    border: none;
    background: transparent;

    color: #a1a1aa;

    padding: 0.5625rem 0.875rem;
    border-radius: 0.625rem;

    font-family: "DM Sans", sans-serif;
    font-size: 0.9375rem;

    cursor: pointer;

    transition: 0.25s ease;
}

.nav-links button:hover {
    color: #ffffff;

    background: rgba(255, 255, 255, 0.08);
}


/*Page System */

.page {
    display: none;
    min-height: 100vh;
}

.page.active {
    display: block;
}


/*Dark Inner Pages */

#report,
#reports,
#admin {
    position: relative;

    min-height: 100vh;

    padding: 7.8125rem 8% 4.375rem;

    overflow: hidden;

    background: #2A7B9B;
        background: linear-gradient(90deg, rgba(42, 123, 155, 1) 0%, rgba(87, 199, 133, 1) 50%, rgba(237, 221, 83, 1) 100%);
    }


/*Hero Section */

.hero-section {
    min-height: 43.75rem;
    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;

    padding: 9.375rem 8% 6.25rem;

    background-image:
        linear-gradient(
            90deg,
            rgba(2, 2, 2, 0.88) 0%,
            rgba(2, 2, 2, 0.70) 35%,
            rgba(2, 2, 2, 0.30) 70%,
            rgba(2, 2, 2, 0.45) 100%
        ),
        url("Hero_section-bg.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/*Dark Overlay */

.hero-overlay {
    display: none;
}


/*Grid Effect */

.hero-grid {
    position: absolute;
    inset: 0;

    opacity: 0.07;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.35) 0.0625rem,
            transparent 0.0625rem
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.35) 0.0625rem,
            transparent 0.0625rem
        );

    background-size: 3.75rem 3.75rem;

    pointer-events: none;
}


/*Hero Content */

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 51.25rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;

    padding: 0.625rem 1.0625rem;

    border-radius: 3.125rem;

    color: #d4d4d8;

    background: rgba(255, 255, 255, 0.06);

    backdrop-filter: blur(0.9375rem);

    border: 0.0625rem solid rgba(255, 255, 255, 0.14);

    font-size: 0.875rem;

    margin-bottom: 1.875rem;
}

.status-dot {
    width: 0.5rem;
    height: 0.5rem;

    border-radius: 50%;

    background: #22c55e;

    box-shadow:
        0 0 0 0.3125rem rgba(34, 197, 94, 0.12),
        0 0 1.125rem rgba(34, 197, 94, 0.85);
}


/*Hero Title */

.hero-content h1 {
    font-family: "Playfair Display", serif;

    font-size: clamp(3.25rem, 7vw, 5.9375rem);

    line-height: 1.04;

    letter-spacing: -0.1875rem;

    color: #ffffff;

    margin-bottom: 1.75rem;

    font-weight: 700;

    text-shadow:
        0 0.3125rem 1.875rem rgba(0, 0, 0, 0.65);
}

.hero-content h1 span {
    display: block;

    font-style: italic;

    background: linear-gradient(
        90deg,
        #22c55e,
        #4ade80,
        #86efac
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    max-width: 40.625rem;

    color: #a1a1aa;

    font-size: 1.125rem;

    line-height: 1.8;

    margin-bottom: 2.375rem;
}


/*Hero Buttons */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-primary,
.hero-secondary {
    padding: 0.9375rem 1.75rem;

    border-radius: 0.75rem;

    font-family: "DM Sans", sans-serif;

    font-size: 1rem;

    cursor: pointer;

    transition: 0.25s ease;
}

.hero-primary {
    border: none;

    font-weight: 700;

    color: #02130a;

    background: linear-gradient(
        135deg,
        #22c55e,
        #4ade80
    );

    box-shadow:
        0 0.9375rem 2.1875rem rgba(34, 197, 94, 0.22);
}

.hero-primary:hover {
    transform: translateY(-0.1875rem);

    box-shadow:
        0 1.375rem 2.8125rem rgba(34, 197, 94, 0.35);
}

.hero-secondary {
    border: 0.0625rem solid rgba(255, 255, 255, 0.16);

    background: rgba(255, 255, 255, 0.06);

    backdrop-filter: blur(0.9375rem);

    color: #ffffff;
}

.hero-secondary:hover {
    transform: translateY(-0.1875rem);

    background: rgba(255, 255, 255, 0.12);
}


/*Statistics Section */

.city-stats-section {
    background: #ffffff;

    padding: 5.625rem 8%;

    color: #111827;
}

.stats-container {
    max-width: 84.375rem;
    margin: auto;
}

.stats-intro {
    max-width: 40.625rem;
    margin-bottom: 3.4375rem;
}

.section-label {
    color: #16a34a;

    font-size: 0.8125rem;
    font-weight: 700;

    letter-spacing: 0.125rem;
}

.stats-intro h2 {
    margin: 0.9375rem 0;

    font-family: "Outfit", sans-serif;

    font-size: clamp(2.25rem, 4vw, 3.5rem);

    color: #111827;

    letter-spacing: -0.125rem;
}

.stats-intro h2 span {
    color: #16a34a;
}

.stats-intro p {
    color: #6b7280;

    font-size: 1.0625rem;

    line-height: 1.7;
}

.stats-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 1.375rem;
}

.city-stats-section .stat-card {
    display: flex;
    align-items: center;

    gap: 1.125rem;

    padding: 1.875rem 1.5625rem;

    background: #ffffff;

    border: 0.0625rem solid #e5e7eb;

    border-radius: 1.125rem;

    box-shadow:
        0 0.25rem 1.25rem rgba(0, 0, 0, 0.03);

    transition: 0.3s ease;
}

.city-stats-section .stat-card:hover {
    transform: translateY(-0.4375rem);

    box-shadow:
        0 1.25rem 2.8125rem rgba(0, 0, 0, 0.10);
}

.stat-icon {
    width: 3.4375rem;
    height: 3.4375rem;

    flex: 0 0 3.4375rem;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 0.9375rem;

    font-size: 1.375rem;
}

.total-card .stat-icon {
    color: #2563eb;
    background: #eff6ff;
}

.reported-card .stat-icon {
    color: #f97316;
    background: #fff7ed;
}

.pending-card .stat-icon {
    color: #ca8a04;
    background: #fefce8;
}

.resolved-card .stat-icon {
    color: #16a34a;
    background: #f0fdf4;
}

.stat-info {
    display: flex;
    flex-direction: column;

    gap: 0.3125rem;
}

.stat-info span {
    color: #6b7280;
    font-size: 0.875rem;
}

.stat-info strong {
    font-family: "Outfit", sans-serif;

    font-size: 2.25rem;

    color: #111827;
}


/*Report Form - Real Glass Effect */

.form-container {
    position: relative;

    width: 100%;
    max-width: 47.5rem;

    margin: 1.25rem auto;

    padding: 2.625rem;

    border-radius: 1.5rem;

    /*Semi-Transparent Glass */
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.10),
            rgba(255, 255, 255, 0.025)
        );

    /*Strong Blur */
    backdrop-filter: blur(2.1875rem) saturate(180%);
    -webkit-backdrop-filter: blur(2.1875rem) saturate(180%);

    border: 0.0625rem solid rgba(255, 255, 255, 0.16);

    box-shadow:
        0 1.5625rem 4.375rem rgba(0, 0, 0, 0.50),
        inset 0 0.0625rem 0 rgba(255, 255, 255, 0.14),
        inset 0 -0.0625rem 0 rgba(255, 255, 255, 0.04);
}

.form-container h2 {
    text-align: center;

    margin-bottom: 1.875rem;

    color: #ffffff;

    font-family: "Outfit", sans-serif;

    font-size: 2rem;
}

label {
    display: block;

    margin-top: 1.125rem;
    margin-bottom: 0.5rem;

    color: #e4e4e7;

    font-weight: 600;
}

input,
select,
textarea {
    width: 100%;

    padding: 0.875rem;

    border-radius: 0.625rem;

    border: 0.0625rem solid rgba(255, 255, 255, 0.12);

    background: rgba(0, 0, 0, 0.28);

    color: #ffffff;

    font-family: "DM Sans", sans-serif;

    font-size: 0.9375rem;

    outline: none;

    backdrop-filter: blur(0.625rem);

    transition: 0.25s;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #22c55e;

    background: rgba(0, 0, 0, 0.38);

    box-shadow:
        0 0 0 0.1875rem rgba(34, 197, 94, 0.12);
}

input::placeholder,
textarea::placeholder {
    color: #71717a;
}

select option {
    background: #111111;
    color: #ffffff;
}

textarea {
    height: 7.5rem;
    resize: vertical;
}

.primary-btn {
    width: 100%;

    margin-top: 1.5625rem;

    padding: 0.875rem;

    border: none;

    border-radius: 0.625rem;

    background:
        linear-gradient(
            135deg,
            #22c55e,
            #16a34a
        );

    color: #031008;

    font-size: 1rem;
    font-weight: 700;

    cursor: pointer;

    transition: 0.25s;
}

.primary-btn:hover {
    transform: translateY(-0.125rem);

    box-shadow:
        0 0.9375rem 2.1875rem rgba(34, 197, 94, 0.30);
}


/*Reports And Admin */

.container {
    position: relative;

    max-width: 75rem;

    margin: auto;

    z-index: 2;
}

.container h2 {
    color: #ffffff;

    font-family: "Outfit", sans-serif;

    font-size: 2.125rem;
}

.container > p {
    margin-top: 0.625rem;

    color: #a1a1aa;
}

.issues-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(17.5rem, 1fr));

    gap: 1.375rem;

    margin-top: 1.75rem;
}


/*Issue Card Glass */

.issue-card {
    padding: 1.5625rem;

    background: #2A7B9B;
background: linear-gradient(90deg, rgba(42, 123, 155, 1) 0%, rgba(87, 199, 133, 1) 50%, rgba(237, 221, 83, 1) 100%);

    backdrop-filter: blur(1.25rem);

    border: 0.0625rem solid rgba(255, 255, 255, 0.12);

    border-radius: 1.125rem;

    box-shadow:
        0 0.9375rem 2.1875rem rgba(0, 0, 0, 0.35);

    transition: 0.25s ease;
}

.issue-card:hover {
    transform: translateY(-0.3125rem);

    border-color: rgba(74, 222, 128, 0.45);

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.11),
            rgba(255, 255, 255, 0.04)
        );
}

.issue-card h3 {
    margin-bottom: 0.9375rem;

    color: #ffffff;

    font-size: 1.3125rem;
}

.issue-card p {
    margin: 0.5625rem 0;

    color: #a1a1aa;

    line-height: 1.5;
}

.issue-card strong {
    color: #e4e4e7;
}

.empty-message {
    color: #71717a;
}


/*Status Badges */

.status {
    display: inline-block;

    margin-top: 0.875rem;

    padding: 0.4375rem 0.8125rem;

    border-radius: 1.875rem;

    font-size: 0.8125rem;
    font-weight: 600;

    color: #ffffff;
}

.reported {
    background: rgba(220, 38, 38, 0.85);
}

.in-progress {
    background: rgba(217, 119, 6, 0.85);
}

.resolved {
    background: rgba(22, 163, 74, 0.85);
}

.status-select {
    width: 100%;

    margin-top: 1.125rem;

    padding: 0.6875rem;

    background: rgba(0, 0, 0, 0.40);

    color: #ffffff;

    border: 0.0625rem solid rgba(255, 255, 255, 0.12);

    border-radius: 0.625rem;

    backdrop-filter: blur(0.625rem);

    cursor: pointer;
}


/*Footer */

.fixmycity-footer {
    background:
        radial-gradient(
            circle at 20% 0%,
            rgba(124, 58, 237, 0.15),
            transparent 32%
        ),

        radial-gradient(
            circle at 90% 20%,
            rgba(37, 99, 235, 0.10),
            transparent 28%
        ),

        linear-gradient(
            135deg,
            #020202,
            #08080c,
            #101018
        );

    color: #ffffff;

    padding: 4.6875rem 8% 1.5625rem;

    border-top:
        0.0625rem solid rgba(255, 255, 255, 0.08);
}

.footer-container {
    max-width: 84.375rem;

    margin: auto;

    height: 10rem;

    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr 1.2fr;

    gap: 3.125rem;

    padding-bottom: 4.0625rem;

    border-bottom:
        0.0625rem solid rgba(255, 255, 255, 0.08);
}

.footer-brand img{
    height:6rem;
}

.footer-brand p {
    color: #a1a1aa;

    line-height: 1.8;

    max-width: 20rem;
}

.footer-column h3 {
    font-family: "Outfit", sans-serif;

    font-size: 0.8rem;

    margin-bottom: 1.4375rem;

    color: #ffffff;
}

.footer-column a {
    display: block;

    width: fit-content;

    margin-bottom: 0.6rem;

    color: #a1a1aa;

    text-decoration: none;

    transition: 0.2s;
}

.footer-column a:hover {
    color: #4ade80;

    transform: translateX(0.25rem);
}


.footer-contact-text {
    color: #a1a1aa;

    line-height: 1.7;
}

.footer-email {
    display: flex;

    margin-top: 0.8rem;

    background: rgba(255, 255, 255, 0.04);

    border: 0.0625rem solid rgba(255, 255, 255, 0.10);

    border-radius: 0.75rem;

    padding: 0.3125rem;

    backdrop-filter: blur(0.9375rem);
}

.footer-email input {
    width: 100%;

    border: none;

    outline: none;

    background: transparent;

    color: #ffffff;

    padding: 0.625rem;

    box-shadow: none;
}

.footer-email button {
    width: 2.8125rem;

    border: none;

    border-radius: 0.5625rem;

    background: #22c55e;

    color: #031008;

    font-size: 1.25rem;

    cursor: pointer;
}


/*Footer Bottom */

.footer-bottom {
    max-width: 84.375rem;

    margin: auto;

    padding-top: 1.5625rem;

    display: flex;

    justify-content: space-between;
    align-items: center;

    color: #71717a;

    font-size: 0.8125rem;
}

.footer-bottom div {
    display: flex;
    gap: 1.375rem;
}

.footer-bottom a {
    color: #a1a1aa;

    text-decoration: none;
}


/*Responsive Design */

@media (max-width: 65.625rem) {

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 50rem) {

    nav {
        width: 94%;

        flex-direction: column;

        gap: 0.625rem;

        padding: 0.875rem;
    }

    .nav-links {
        flex-wrap: wrap;

        justify-content: center;
    }

    #report,
    #reports,
    #admin {
        padding: 10.3125rem 5% 3.75rem;
    }

    .hero-section {
        padding: 11.25rem 6% 5.625rem;
    }

    .form-container {
        padding: 1.75rem 1.375rem;
    }
}


@media (max-width: 40.625rem) {

    .hero-section {
        min-height: 37.5rem;

        padding: 10.625rem 1.5625rem 4.375rem;
    }

    .hero-content h1 {
        letter-spacing: -0.125rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-primary,
    .hero-secondary {
        width: 100%;
    }

    .city-stats-section {
        padding: 4.375rem 1.5625rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;

        gap: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;

        gap: 0.9375rem;
    }
}
/*Login Dropdown */

.login-dropdown {
    position: relative;
}
.login-btn {
    display: flex;
    align-items: center;
    gap: 0.4375rem;
}

.dropdown-arrow {
    font-size: 1rem;
    transition: transform 0.25s ease;
}

/*Hidden By Default */

.login-menu {
    position: absolute;
    top: calc(100% + 0.875rem);
    right: 0;

    width: 11.25rem;
    padding: 0.5rem;

    border-radius: 0.875rem;

    background: rgba(12, 12, 18, 0.72);

    backdrop-filter: blur(1.5625rem) saturate(180%);
    -webkit-backdrop-filter: blur(1.5625rem) saturate(180%);

    border: 0.0625rem solid rgba(255, 255, 255, 0.14);

    box-shadow:
        0 1.125rem 2.8125rem rgba(0, 0, 0, 0.45),
        inset 0 0.0625rem 0 rgba(255, 255, 255, 0.08);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(-0.625rem);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;

    z-index: 9999;
}

/*Show Only When Clicked */

.login-dropdown.active .login-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateY(0);
}

.login-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.login-menu button {
    width: 100%;
    padding: 0.75rem 0.875rem;

    display: flex;
    align-items: center;
    gap: 0.625rem;

    text-align: left;
    border-radius: 0.5625rem;

    color: #e4e4e7;
    background: transparent;
    border: none;

    cursor: pointer;

    font-family: inherit;
    font-size: 0.9375rem;

    transition: 0.2s ease;
}

.login-menu button:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.09);
}

.login-dropdown {
    position: relative;
}

.login-menu {
    position: absolute;
    top: 100%;
    right: 0;

    margin-top: 0.5rem;

    width: 11.25rem;
    padding: 0.5rem;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(-0.5rem);

    transition: opacity 0.25s ease, transform 0.25s ease;

    z-index: 9999;
}

.login-dropdown.active .login-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateY(0);
}

/*Navbar Font + Hover Modification */

/*Import Sora Font */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&display=swap');


/*Navbar Uses Sora */

nav,
nav button,
.nav-links,
.nav-links button,
.login-btn,
.login-menu button {
    font-family: "Sora", sans-serif !important;
}


/*Logo */

.logo {
    font-family: "Sora", sans-serif !important;
    font-size: 1.75rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.0625rem;
}


/*Navigation Links */

.nav-links button {
    position: relative;

    font-family: "Sora", sans-serif !important;
    font-size: 1rem !important;
    font-weight: 500 !important;

    padding: 0.625rem 0.875rem !important;

    transition:
        color 0.25s ease,
        transform 0.25s ease,
        background 0.25s ease;
}


/*Animated Underline */

.nav-links button::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 0.25rem;

    width: 0;
    height: 0.125rem;

    background: linear-gradient(
        90deg,
        #159947,
        #54cf75
    );

    border-radius: 0.625rem;

    transform: translateX(-50%);

    transition:
        width 0.25s ease;
}


/*Hover Effect */

.nav-links button:hover {
    color: #159947 !important;

    transform: scale(1.07);

    background: rgba(35, 180, 80, 0.06) !important;
}


/*Underline Expands */

.nav-links button:hover::after {
    width: 65%;
}


/*Active Navigation */

.nav-links button.active {
    color: #159947 !important;

    background: rgba(35, 180, 80, 0.09) !important;

    border-radius: 0.625rem;
}


.nav-links button.active::after {
    width: 55%;
}


/*Login Button */

.login-btn {
    position: relative;

    font-size: 1rem !important;
    font-weight: 500 !important;

    color: inherit;

    padding: 0.625rem 0.875rem !important;

    transition:
        transform 0.25s ease,
        color 0.25s ease,
        background 0.25s ease;
}


.login-btn:hover {
    color: #159947 !important;

    transform: scale(1.07);

    background: rgba(35, 180, 80, 0.06);
}


/*Animated Underline For Login */

.login-btn::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 0.25rem;

    width: 0;
    height: 0.125rem;

    background: linear-gradient(
        90deg,
        #159947,
        #54cf75
    );

    border-radius: 0.625rem;

    transform: translateX(-50%);

    transition: width 0.25s ease;
}


.login-btn:hover::after {
    width: 65%;
}


/*When Login Dropdown Is Open */

.login-dropdown.active .login-btn {
    color: #159947 !important;

    background: rgba(35, 180, 80, 0.08);

    border-radius: 0.625rem;
}


.login-dropdown.active .login-btn::after {
    width: 55%;
}


/*Login Dropdown Font */

.login-menu button {
    font-size: 0.9375rem !important;
    font-weight: 500 !important;
}


.login-menu button:hover {
    transform: translateX(0.25rem);

    color: #159947 !important;
}


/*Mobile Adjustment */

@media (max-width: 48rem) {

    .logo {
        font-size: 1.5rem !important;
    }

    .nav-links button,
    .login-btn {
        font-size: 0.9375rem !important;
    }

}