@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1vw;
    font-size: 1.1vw;
    font-weight: 600;
    color: white;
    border: none;
    border-radius: .7vw;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px -1px rgba(79, 70, 229, 0.3);
}

.btn-dark {
    background-color: #0f172a;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.2);
}

.btn-primary {
    background-color: #5a67d8;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.2);
}

.top-wrap {
    display: grid;
    grid-template-columns: 50% 50%;
    width: 100%;
    height: 100vh;
}

.left-side {
    background-color: #0057b3;
    background-size: cover;
    background-blend-mode: overlay;
    display: grid;
    grid-template-columns: auto;
    justify-content: center;
    align-content: center;
    align-items: center;
    padding-inline: 5vw;
}

.home {
    background-image: url("../digimedius-img/image002.png");
}

.com-bg {
    background-image: url("../digimedius-img/image004.jpg");
}

.left-side-logo {
    width: 6vw;
    height: 6vw;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: grid;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.418);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.left-side-icon {
    width: 2.4vw;
}

.left-side h2 {
    font-size: 3.4vw;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 16px 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.left-side p {
    font-size: 1.2vw;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0 0 2.1vw 0;
}

.left-side-btns {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 0.8vw;
    justify-content: space-between;
}

.left-side-btns span {
    display: grig;
    grid-template-columns: auto auto;
    justify-content: center;
    align-content: center;
    padding-block: 0.7vw;
    padding-left: 1vw;
    padding-right: 1.4vw;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1vw;
    color: #ffffff;
    font-size: .9vw;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.329);
    backdrop-filter: blur(4px);
}

.right-side {
    display: grid;
    justify-content: center;
    align-content: center;
}

.button-group {
    display: grid;
    grid-template-columns: auto;
    gap: 1vw;
}

.right-side-text {
    margin-bottom: 2vw;
    width: 30vw;
}

.title {
    font-size: 1.7vw;
    margin-bottom: .2vw;
    color: #0057b3;
}

.subtitle {
    color: #6b7a90;
    display: block;
    font-size: 1.2vw;
    font-weight: 600;
}

/* ------------   admin login  -------------  */

.form-group {
    margin-bottom: 2vw;
    display: grid;
    grid-template-columns: auto;
    gap: 1vw;
}

.form-group input {
    width: 100%;
    padding: 1vw 1.5vw;
    font-size: 1.1vw;
    border: 1px solid #e2e8f0;
    border-radius: .7vw;
    outline: none;
    transition: all 0.2s ease;
    background-color: #f8fafc;
}

.form-group input:focus {
    border-color: #4f46e5;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 1vw;
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #4f46e5;
}

.back-link svg {
    transition: transform 0.2s;
    width: 1vw;
}

.back-link:hover svg {
    transform: translateX(-4px);
}