/*==================================================
    CONNECTING PEOPLE
    HOME PAGE
==================================================*/


/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}


/* BODY */

body{

    font-family:
        "Segoe UI",
        Tahoma,
        Geneva,
        Verdana,
        sans-serif;

    min-height:100vh;

    background:
        url("images/background.jpeg.jpeg")
        no-repeat
        center center
        fixed;

    background-size:cover;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:20px;

    overflow-x:hidden;

}


/* BACKGROUND OVERLAY */

.page-overlay{

    position:fixed;

    inset:0;

    background:
        rgba(10,25,40,.14);

    z-index:0;

    pointer-events:none;

}


/* MAIN GLASS CARD */

.home-card{

    position:relative;

    z-index:1;

    width:100%;

    max-width:900px;

    padding:
        32px
        48px
        28px;

    text-align:center;

    background:
        rgba(255,255,255,.30);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);

    border:
        1px solid
        rgba(255,255,255,.55);

    border-radius:34px;

    box-shadow:
        0 28px 70px
        rgba(0,0,0,.28);

}


/* LOGO */

.logo{

    width:155px;

    height:auto;

    display:block;

    margin:
        0 auto 8px;

}


/* TITLE */

h1{

    color:#123d7c;

    font-size:44px;

    line-height:1.1;

    margin-bottom:9px;

    font-weight:750;

}


/* SUBTITLE */

.subtitle{

    color:#333;

    font-size:18px;

    line-height:1.45;

    margin-bottom:22px;

}


/* POSTCODE WRAPPER */

.postcode-box{

    position:relative;

    width:100%;

    margin-bottom:22px;

}


/* LOCATION ICON */

.location-icon{

    position:absolute;

    left:20px;

    top:50%;

    transform:
        translateY(-50%);

    font-size:20px;

    z-index:2;

}


/* POSTCODE INPUT */

#postcode{

    width:100%;

    height:60px;

    border:none;

    outline:none;

    padding:
        0
        20px
        0
        55px;

    border-radius:18px;

    background:
        rgba(255,255,255,.96);

    font-size:17px;

    color:#222;

    box-shadow:
        0 8px 22px
        rgba(0,0,0,.12);

    transition:
        .25s ease;

}


/* POSTCODE FOCUS */

#postcode:focus{

    box-shadow:
        0 0 0 3px
        rgba(18,61,124,.15),
        0 10px 25px
        rgba(0,0,0,.15);

}


/* CHOICE GRID */

.choice-grid{

    display:grid;

    grid-template-columns:
        1fr 1fr;

    gap:22px;

}


/* CHOICE CARD */

.choice-card{

    position:relative;

    width:100%;

    min-height:190px;

    border:none;

    border-radius:26px;

    padding:
        22px
        20px;

    display:flex;

    align-items:center;

    justify-content:center;

    flex-direction:column;

    cursor:pointer;

    color:white;

    overflow:hidden;

    box-shadow:
        0 14px 30px
        rgba(0,0,0,.18);

    transition:
        transform .25s ease,
        box-shadow .25s ease;

}


/* GREEN CARD */

.need-help{

    background:
        linear-gradient(
            135deg,
            #59d66f,
            #2fa74c
        );

}


/* BLUE CARD */

.want-help{

    background:
        linear-gradient(
            135deg,
            #488de8,
            #2469c9
        );

}


/* CARD HOVER */

.choice-card:hover{

    transform:
        translateY(-6px);

    box-shadow:
        0 21px 40px
        rgba(0,0,0,.25);

}


/* PROFILE IMAGE */

.choice-card img{

    width:88px;

    height:88px;

    object-fit:cover;

    border-radius:50%;

    border:
        4px solid
        rgba(255,255,255,.96);

    background:white;

    margin-bottom:10px;

    box-shadow:
        0 8px 20px
        rgba(0,0,0,.20);

}


/* CARD TEXT */

.choice-text h2{

    color:white;

    font-size:22px;

    margin-bottom:4px;

}


.choice-text p{

    color:
        rgba(255,255,255,.94);

    font-size:14px;

    line-height:1.35;

}


/* ARROW */

.arrow{

    position:absolute;

    right:18px;

    bottom:15px;

    width:34px;

    height:34px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:50%;

    background:
        rgba(255,255,255,.22);

    color:white;

    font-size:20px;

    font-weight:bold;

}


/* TRUST ROW */

.trust-row{

    margin-top:21px;

    display:flex;

    justify-content:center;

    align-items:center;

    flex-wrap:wrap;

    gap:25px;

    color:#173e71;

    font-size:14px;

    font-weight:650;

}


.trust-row span{

    color:#2fa74c;

    font-size:18px;

    margin-right:4px;

}


/*==================================================
    TABLET
==================================================*/

@media(max-width:780px){

    body{

        align-items:flex-start;

        padding:18px;

    }


    .home-card{

        padding:
            28px
            22px;

    }


    h1{

        font-size:36px;

    }


    .logo{

        width:135px;

    }


    .choice-grid{

        grid-template-columns:
            1fr;

    }


    .choice-card{

        min-height:175px;

    }

}


/*==================================================
    MOBILE
==================================================*/

@media(max-width:480px){

    body{

        padding:12px;

    }


    .home-card{

        padding:
            24px
            16px;

        border-radius:26px;

    }


    .logo{

        width:120px;

    }


    h1{

        font-size:31px;

    }


    .subtitle{

        font-size:16px;

    }


    #postcode{

        height:56px;

        font-size:16px;

    }


    .choice-card{

        min-height:165px;

    }


    .choice-card img{

        width:78px;

        height:78px;

    }


    .choice-text h2{

        font-size:20px;

    }


    .trust-row{

        flex-direction:column;

        gap:7px;

    }

}

* ========================================
   LOGIN & CREATE ACCOUNT
======================================== */

.account-buttons{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;
    margin-top:18px;
    margin-bottom:15px;
}

.account-buttons button{
    border:none;
    border-radius:14px;

    padding:12px 28px;

    font-size:16px;
    font-weight:600;

    cursor:pointer;

    box-shadow:
    0 6px 15px rgba(0,0,0,0.15);

    transition:0.3s;
}

.login-btn{
    background:#ffffff;
    color:#123d7c;
}

.create-account-btn{
    background:#123d7c;
    color:white;
}

.account-buttons button:hover{
    transform:translateY(-2px);

    box-shadow:
    0 8px 20px rgba(0,0,0,0.20);
}

/* =========================================
   LOGIN + CREATE ACCOUNT BUTTONS
   ========================================= */

.auth-buttons{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:14px;
    margin-top:14px;
}

.auth-buttons button{
    min-width:180px;
    padding:14px 24px;

    border-radius:14px;

    font-size:16px;
    font-weight:700;

    cursor:pointer;

    transition:0.25s ease;
}


/* LOGIN - WHITE TRANSPARENT */

.login-btn{
    background:rgba(255,255,255,0.55);

    border:1px solid rgba(255,255,255,0.85);

    color:#164f91;

    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);

    box-shadow:0 6px 18px rgba(0,0,0,0.12);
}

.login-btn:hover{
    background:rgba(255,255,255,0.75);
    transform:translateY(-2px);
}


/* CREATE ACCOUNT - BLUE TRANSPARENT */

.create-account-btn{
    background:rgba(20,110,210,0.65);

    border:1px solid rgba(255,255,255,0.35);

    color:white;

    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);

    box-shadow:0 6px 18px rgba(0,70,150,0.20);
}

.create-account-btn:hover{
    background:rgba(20,110,210,0.80);
    transform:translateY(-2px);
}

/* =========================================
   TOP LOGIN / CREATE ACCOUNT
========================================= */

.home-card{
    position:relative;
}

.top-auth{
    position:absolute;
    top:22px;
    left:28px;
    right:28px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    z-index:10;
}

.top-login,
.top-create{
    padding:11px 20px;

    border-radius:14px;

    font-size:15px;
    font-weight:700;

    cursor:pointer;

    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);

    transition:0.25s ease;
}


/* LOGIN - WHITE GLASS */

.top-login{
    background:rgba(255,255,255,0.35);

    border:1px solid rgba(255,255,255,0.75);

    color:#164f91;

    box-shadow:0 5px 15px rgba(0,0,0,0.10);
}


/* CREATE ACCOUNT - BLUE GLASS */

.top-create{
    background:rgba(20,110,210,0.45);

    border:1px solid rgba(255,255,255,0.45);

    color:white;

    box-shadow:0 5px 15px rgba(0,70,150,0.15);
}


/* HOVER */

.top-login:hover,
.top-create:hover{
    transform:translateY(-2px);
}