@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    min-height: 100%;
}

body {
    width: 100%;
    min-height: 100vh;

    margin: 0;
    padding: 0;

    font-family: 'Poppins', sans-serif;

    background: #f5f6fa;
    color: #111827;

    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* =========================================================
   WARD CONNECT APP
========================================================= */

.mobile-app {
    width: 100%;
    max-width: none;

    min-height: 100vh;

    margin: 0 auto;

    background: #f5f6fa;
}


/* =========================================================
   HERO HEADER
========================================================= */

.hero-header {
    position: relative;

    width: 100%;

    height: 360px;

    padding: 30px 25px;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.45),
            rgba(0, 0, 0, 0.45)
        ),
        url('../images/ward.jpeg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;
}

.hero-header::before {
    display: none;
}


/* =========================================================
   HERO TOP ICONS
========================================================= */

.top-icons {
    position: relative;

    z-index: 10;

    display: flex;

    justify-content: flex-end;
    align-items: center;

    gap: 14px;
}

.icon-btn,
.profile-avatar {
    width: 58px;
    height: 58px;

    flex-shrink: 0;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.88);

    backdrop-filter: blur(12px);

    display: flex;

    justify-content: center;
    align-items: center;

    font-size: 24px;

    color: #111827;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.15);

    transition: transform 0.25s ease;
}

.icon-btn:hover,
.profile-avatar:hover {
    transform: translateY(-2px);
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {
    position: relative;

    z-index: 5;

    margin-top: 55px;

    text-shadow:
        2px 2px 8px rgba(0, 0, 0, 0.8);
}

.welcome {
    font-size: 20px;

    font-weight: 400;

    line-height: 1.3;

    color: #fff;

    margin-bottom: 2px;
}

.hero-content h1 {
    font-size: 58px;

    font-weight: 800;

    line-height: 1;

    color: #fff;

    margin: 0 0 5px;
}

.location {
    font-size: 24px;

    font-weight: 600;

    line-height: 1.3;

    color: #fff;

    margin-bottom: 3px;
}

.location i {
    color: #ef4444;

    margin-right: 5px;
}

.subtitle {
    color: #fff;

    font-size: 23px;

    font-weight: 500;

    line-height: 1.3;

    margin: 0;
}


/* =========================================================
   MAIN WHITE CARD
========================================================= */

.main-card {
    position: relative;

    z-index: 20;

    width: 100%;

    min-height: 100vh;

    margin-top: -40px;

    padding: 30px 22px 100px;

    background: #fff;

    border-radius: 35px 35px 0 0;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {
    display: flex;

    justify-content: space-between;
    align-items: center;

    width: 100%;

    margin-bottom: 25px;
}

.section-heading h3 {
    font-size: 34px;

    font-weight: 700;

    line-height: 1.2;

    margin: 0;
}

.section-heading a {
    color: #6b7280;

    font-size: 20px;

    font-weight: 600;
}

.section-heading i {
    margin-left: 6px;
}


/* =========================================================
   QUICK ACCESS GRID
========================================================= */

.quick-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}


/* =========================================================
   QUICK ACCESS CARD
========================================================= */

.quick-card {
    width: 100%;

    min-width: 0;

    min-height: 220px;

    padding: 24px;

    border-radius: 28px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.quick-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 30px rgba(0, 0, 0, 0.08);
}

.quick-card h5 {
    font-size: 1rem;

    font-weight: 700;

    line-height: 1.4;

    color: #111827;

    margin: 18px 0 0;
}

.quick-card p {
    color: #6b7280;

    font-size: 17px;

    line-height: 1.7;

    margin: 8px 0 0;
}


/* =========================================================
   QUICK CARD COLORS
========================================================= */

.blue {
    background: #becbef;
}

.green {
    background: #aef1bb;
}

.purple {
    background: #d8b9f5;
}

.red {
    background: #f9b3bd;
}


/* =========================================================
   QUICK CARD ICON
========================================================= */

.quick-icon {
    width: 78px;
    height: 78px;

    flex-shrink: 0;

    border-radius: 50%;

    display: flex;

    justify-content: center;
    align-items: center;

    color: #fff;

    font-size: 34px;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.12);
}

.blue-icon {
    background: #2f6bff;
}

.green-icon {
    background: #32c85d;
}

.purple-icon {
    background: #a855f7;
}

.red-icon {
    background: #ef4444;
}


/* =========================================================
   ARROW
========================================================= */

.arrow {
    position: absolute;

    right: 22px;
    bottom: 20px;

    width: 40px;
    height: 40px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.7);

    display: flex;

    justify-content: center;
    align-items: center;

    color: #6b7280;

    font-size: 18px;
}


/* =========================================================
   INFORMATION / NOTIFICATION CARD
========================================================= */

.info-box {
    width: 100%;

    min-width: 0;

    margin-top: 20px;

    padding: 22px;

    display: flex;

    align-items: center;

    gap: 20px;

    background: #fff;

    border-radius: 25px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.05);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.info-box:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   INFORMATION ICON
========================================================= */

.info-icon {
    width: 62px;
    height: 62px;

    flex-shrink: 0;

    border-radius: 18px;

    display: flex;

    justify-content: center;
    align-items: center;

    font-size: 28px;
}

.purple-bg {
    background: #f3e8ff;
    color: #9333ea;
}

.orange-bg {
    background: #fff1e8;
    color: #f97316;
}


/* =========================================================
   INFORMATION CONTENT
========================================================= */

.info-content {
    flex: 1;

    min-width: 0;
}

.info-content h5 {
    font-size: 22px;

    font-weight: 700;

    line-height: 1.3;

    margin: 0 0 6px;
}

.info-content p {
    color: #6b7280;

    font-size: 15px;

    line-height: 1.5;

    margin: 0;
}

.view-all {
    flex-shrink: 0;

    color: #9333ea;

    font-size: 16px;

    font-weight: 600;

    white-space: nowrap;
}

.orange-text {
    color: #f97316;
}


/* =========================================================
   EVENT BANNER
========================================================= */

.event-banner {
    width: 100%;

    margin-top: 25px;

    padding: 28px;

    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 20px;

    color: #fff;

    border-radius: 28px;

    background:
        linear-gradient(
            135deg,
            #2b2e93,
            #3a3db8
        );

    overflow: hidden;
}

.event-content {
    min-width: 0;
}

.event-content small {
    opacity: 0.8;

    font-size: 15px;
}

.event-content h4 {
    font-size: 28px;

    font-weight: 700;

    margin: 12px 0 20px;
}

.event-meta {
    display: flex;

    flex-direction: column;

    gap: 8px;
}

.event-meta span {
    font-size: 15px;

    opacity: 0.95;
}

.event-meta i {
    margin-right: 8px;
}

.event-illustration {
    flex-shrink: 0;

    font-size: 90px;

    opacity: 0.8;
}


/* =========================================================
   LATEST INFORMATION / NOTIFICATION CARDS
========================================================= */

.latest-card {
    width: 100%;

    display: block;

    padding: 20px;

    margin-bottom: 15px;

    background: #fff;

    border-radius: 22px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.05);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.latest-card:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.08);
}

.latest-card h6 {
    font-size: 18px;

    font-weight: 700;

    line-height: 1.4;

    color: #111827;

    margin: 0 0 10px;
}

.latest-card p {
    font-size: 14px;

    color: #6b7280;

    line-height: 1.7;

    margin: 0 0 12px;
}

.latest-card small {
    color: #9ca3af;
}


/* =========================================================
   EXTRA SMALL MOBILE
   320px - 374px
========================================================= */

@media (max-width: 374px) {

    .hero-header {
        height: 245px;

        padding: 20px 16px;
    }

    .profile-avatar,
    .icon-btn {
        width: 48px;
        height: 48px;

        font-size: 20px;
    }

    .hero-content {
        margin-top: -30px;
    }

    .welcome {
        font-size: 16px;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .location {
        font-size: 16px;
    }

    .subtitle {
        font-size: 14px;
    }

    .main-card {
        margin-top: -30px;

        padding: 25px 15px 80px;

        border-radius: 28px 28px 0 0;
    }

    .section-heading {
        margin-bottom: 18px;
    }

    .section-heading h3 {
        font-size: 22px;
    }

    .quick-grid {
        gap: 12px;
    }

    .quick-card {
        min-height: 165px;

        padding: 14px;

        border-radius: 22px;
    }

    .quick-icon {
        width: 55px;
        height: 55px;

        font-size: 23px;
    }

    .quick-card h5 {
        font-size: 0.85rem;

        margin-top: 13px;
    }

    .info-box {
        padding: 16px;

        gap: 12px;

        border-radius: 20px;
    }

    .info-icon {
        width: 50px;
        height: 50px;

        font-size: 22px;

        border-radius: 14px;
    }

    .info-content h5 {
        font-size: 17px;
    }

    .info-content p {
        font-size: 12px;
    }

    .view-all {
        font-size: 12px;
    }
}


/* =========================================================
   NORMAL MOBILE
   375px - 575px
========================================================= */

@media (min-width: 375px) and (max-width: 575px) {

    .hero-header {
        height: 260px;

        padding: 25px 20px;
    }

    .hero-content {
        margin-top: -45px;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .location {
        font-size: 18px;
    }

    .subtitle {
        font-size: 16px;
    }

    .section-heading h3 {
        font-size: 1.5rem;
    }

    .quick-card {
        min-height: 190px;

        padding: 18px;
    }

    .quick-card h5 {
        font-size: 1rem;
    }

    .quick-card p {
        font-size: 13px;
    }

    .quick-icon {
        width: 60px;
        height: 60px;

        font-size: 25px;
    }

    .event-content h4 {
        font-size: 22px;
    }

    .event-illustration {
        font-size: 60px;
    }
}


/* =========================================================
   PHABLET
   576px - 767px
========================================================= */

@media (min-width: 576px) and (max-width: 767px) {

    .hero-header {
        height: 330px;

        padding: 30px 35px;
    }

    .hero-content {
        margin-top: 45px;
    }

    .welcome {
        font-size: 19px;
    }

    .hero-content h1 {
        font-size: 52px;
    }

    .location {
        font-size: 22px;
    }

    .subtitle {
        font-size: 20px;
    }

    .main-card {
        margin-top: -40px;

        padding: 35px 30px 100px;

        border-radius: 38px 38px 0 0;
    }

    .section-heading h3 {
        font-size: 30px;
    }

    .quick-grid {
        gap: 20px;
    }

    .quick-card {
        min-height: 215px;

        padding: 24px;
    }

    .quick-icon {
        width: 72px;
        height: 72px;

        font-size: 31px;
    }

    .quick-card h5 {
        font-size: 1rem;
    }

    .info-box {
        padding: 24px;
    }
}


/* =========================================================
   TABLET
   768px - 991px
========================================================= */

@media (min-width: 768px) and (max-width: 991px) {

    .hero-header {
        height: 380px;

        padding: 35px 50px;
    }

    .top-icons {
        width: 100%;
    }

    .hero-content {
        margin-top: 55px;

        max-width: 1100px;

        margin-left: auto;
        margin-right: auto;
    }

    .welcome {
        font-size: 21px;
    }

    .hero-content h1 {
        font-size: 62px;
    }

    .location {
        font-size: 25px;
    }

    .subtitle {
        font-size: 22px;
    }

    .main-card {
        margin-top: -45px;

        padding: 40px 45px 110px;

        border-radius: 42px 42px 0 0;
    }

    .section-heading h3 {
        font-size: 34px;
    }

    .quick-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));

        gap: 18px;
    }

    .quick-card {
        min-height: 205px;

        padding: 18px 10px;

        border-radius: 24px;
    }

    .quick-icon {
        width: 65px;
        height: 65px;

        font-size: 28px;
    }

    .quick-card h5 {
        font-size: 0.92rem;

        margin-top: 15px;
    }

    .info-box {
        padding: 24px 28px;
    }
}


/* =========================================================
   SMALL DESKTOP / LAPTOP
   992px - 1199px
========================================================= */

@media (min-width: 992px) and (max-width: 1199px) {

    .hero-header {
        height: 420px;

        padding: 40px 6%;
    }

    .top-icons {
        max-width: 1250px;

        margin-left: auto;
        margin-right: auto;
    }

    .hero-content {
        max-width: 1250px;

        margin: 70px auto 0;
    }

    .welcome {
        font-size: 22px;
    }

    .hero-content h1 {
        font-size: 70px;
    }

    .location {
        font-size: 27px;
    }

    .subtitle {
        font-size: 24px;
    }

    .main-card {
        margin-top: -50px;

        padding: 45px 6% 120px;

        border-radius: 48px 48px 0 0;
    }

    .section-heading {
        max-width: 1250px;

        margin-left: auto;
        margin-right: auto;
    }

    .section-heading h3 {
        font-size: 36px;
    }

    .quick-grid {
        max-width: 1250px;

        margin-left: auto;
        margin-right: auto;

        grid-template-columns:
            repeat(4, minmax(0, 1fr));

        gap: 22px;
    }

    .quick-card {
        min-height: 225px;

        padding: 22px 15px;

        border-radius: 26px;
    }

    .quick-icon {
        width: 74px;
        height: 74px;

        font-size: 32px;
    }

    .quick-card h5 {
        font-size: 1rem;
    }

    .info-box,
    .event-banner,
    .latest-card {
        max-width: 1250px;

        margin-left: auto;
        margin-right: auto;
    }
}


/* =========================================================
   DESKTOP
   1200px - 1599px
========================================================= */

@media (min-width: 1200px) and (max-width: 1599px) {

    .hero-header {
        height: 450px;

        padding: 40px 6%;
    }

    .top-icons {
        max-width: 1400px;

        margin-left: auto;
        margin-right: auto;
    }

    .hero-content {
        max-width: 1400px;

        margin: 75px auto 0;
    }

    .welcome {
        font-size: 24px;
    }

    .hero-content h1 {
        font-size: 78px;
    }

    .location {
        font-size: 29px;
    }

    .subtitle {
        font-size: 25px;
    }

    .main-card {
        margin-top: -55px;

        padding: 50px 6% 120px;

        border-radius: 52px 52px 0 0;
    }

    .section-heading {
        max-width: 1400px;

        margin-left: auto;
        margin-right: auto;
    }

    .section-heading h3 {
        font-size: 38px;
    }

    .quick-grid {
        max-width: 1400px;

        margin-left: auto;
        margin-right: auto;

        grid-template-columns:
            repeat(4, minmax(0, 1fr));

        gap: 25px;
    }

    .quick-card {
        min-height: 245px;

        padding: 28px 20px;

        border-radius: 30px;
    }

    .quick-icon {
        width: 82px;
        height: 82px;

        font-size: 35px;
    }

    .quick-card h5 {
        font-size: 1.05rem;
    }

    .info-box,
    .event-banner,
    .latest-card {
        max-width: 1400px;

        margin-left: auto;
        margin-right: auto;
    }

    .info-box {
        padding: 26px 30px;
    }
}


/* =========================================================
   LARGE DESKTOP
   1600px+
========================================================= */

@media (min-width: 1600px) {

    .hero-header {
        height: 500px;

        padding: 45px 7%;
    }

    .top-icons {
        max-width: 1500px;

        margin-left: auto;
        margin-right: auto;
    }

    .hero-content {
        max-width: 1500px;

        margin: 85px auto 0;
    }

    .welcome {
        font-size: 25px;
    }

    .hero-content h1 {
        font-size: 90px;
    }

    .location {
        font-size: 31px;
    }

    .subtitle {
        font-size: 27px;
    }

    .main-card {
        margin-top: -60px;

        padding: 55px 7% 130px;

        border-radius: 58px 58px 0 0;
    }

    .section-heading {
        max-width: 1500px;

        margin-left: auto;
        margin-right: auto;
    }

    .section-heading h3 {
        font-size: 40px;
    }

    .quick-grid {
        max-width: 1500px;

        margin-left: auto;
        margin-right: auto;

        grid-template-columns:
            repeat(4, minmax(0, 1fr));

        gap: 28px;
    }

    .quick-card {
        min-height: 265px;

        padding: 32px 25px;

        border-radius: 32px;
    }

    .quick-icon {
        width: 88px;
        height: 88px;

        font-size: 38px;
    }

    .quick-card h5 {
        font-size: 1.1rem;

        margin-top: 20px;
    }

    .info-box,
    .event-banner,
    .latest-card {
        max-width: 1500px;

        margin-left: auto;
        margin-right: auto;
    }
}


/* =========================================================
   VERY WIDE SCREENS
   1920px+
========================================================= */

@media (min-width: 1920px) {

    .hero-header {
        height: 540px;
    }

    .hero-content,
    .top-icons {
        max-width: 1600px;
    }

    .main-card {
        padding-left: 8%;
        padding-right: 8%;
    }

    .section-heading,
    .quick-grid,
    .info-box,
    .event-banner,
    .latest-card {
        max-width: 1600px;
    }

    .hero-content h1 {
        font-size: 96px;
    }
}


/* =========================================================
   TOUCH DEVICES
========================================================= */

@media (hover: none) {

    .quick-card:hover,
    .info-box:hover,
    .latest-card:hover,
    .icon-btn:hover,
    .profile-avatar:hover {
        transform: none;

        box-shadow: none;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        animation: none !important;

        transition: none !important;
    }
}