:root {
    --primary: #0d9488;
    --primary-dark: #087f75;
    --blue: #2563eb;

    --dark: #0f172a;
    --text: #1e293b;
    --muted: #64748b;

    --background: #f8fafc;
    --white: #ffffff;

    --border: #e2e8f0;

    --shadow:
        0 15px 40px rgba(15, 23, 42, .08);
}


* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    margin: 0;

    min-height: 100vh;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f8fafc
        );

    color: var(--text);

    font-family:
        "Segoe UI",
        "Noto Sans Bengali",
        sans-serif;

    overflow-x: hidden;
}


/* Background Decoration */

.background-shape {

    position: fixed;

    border-radius: 50%;

    filter: blur(80px);

    opacity: .12;

    pointer-events: none;

    z-index: -1;
}


.shape-one {

    width: 320px;

    height: 320px;

    background: #14b8a6;

    top: -120px;

    right: -80px;
}


.shape-two {

    width: 280px;

    height: 280px;

    background: #3b82f6;

    bottom: -100px;

    left: -100px;
}


/* Container */

.container {

    width: min(1120px, 92%);

    margin: auto;

    padding: 22px 0 30px;
}


/* Header */

.header {

    min-height: 70px;

    background: rgba(255,255,255,.9);

    border: 1px solid var(--border);

    border-radius: 18px;

    padding: 12px 18px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    box-shadow: var(--shadow);

    backdrop-filter: blur(15px);
}


.brand {

    display: flex;

    align-items: center;

    gap: 12px;
}

header a{
    text-decoration:none;
}
.brand-logo {

    width: 45px;

    height: 45px;

    display: grid;

    place-items: center;

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--blue)
        );

    color: white;

    font-weight: 900;

    font-size: 12px;

    box-shadow:
        0 8px 20px rgba(13,148,136,.25);
}

.brand-logo a{
    
}

.brand-text strong {
    display: block;
    font-size: 26px;
    letter-spacing: .05em;
    font-family: 'EncodeB';
    text-decoration: none;
    color: green;
}


.brand-text span {
    display: block;
    color: green;
    margin-top: 3px;
    font-family: 'EncodeB';
    font-size: 22px;
}

.header-status {
    color: #00b330;
    font-size: 14px;
    font-family: NotoB;
}


.status-dot {

    width: 7px;

    height: 7px;

    display: inline-block;

    border-radius: 50%;

    background: #10b981;

    box-shadow:
        0 0 10px rgba(16,185,129,.6);

    margin-right: 6px;
}


/* Hero */

.hero {
    display: grid;
    grid-template-columns: 1.05fr
        .95fr;
    gap: 35px;
    align-items: center;
    padding: 16px 0 35px;
}

.welcome-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #009688;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .15em;
    font-family: EncodeB;
}


.welcome-tag span {

    width: 8px;

    height: 8px;

    background: var(--primary);

    border-radius: 50%;
}


.hero-content h1 {
    font-size: 67px;
    line-height: 1;
    letter-spacing: 0px;
    margin: 15px 0 20px;
    color: #673AB7;
    font-family: 'NotoB';
}

.hero-content h1 span {

    background:
        linear-gradient(
            90deg,
            var(--primary),
            var(--blue)
        );

    background-clip: text;

    -webkit-background-clip: text;

    color: transparent;
}


.hero-content > p {
    color: #060606;
    font-size: 14px;
    max-width: 580px;
    font-family: 'NotoL';
    text-align: justify;
}


/* Date */

.date-card {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-top: 12px;

    padding: 10px 14px;

    border-radius: 14px;

    background: white;

    border: 1px solid var(--border);

    box-shadow: var(--shadow);
}


.date-icon {

    width: 38px;

    height: 38px;

    display: grid;

    place-items: center;

    background: #ecfdf5;

    color: var(--primary);

    border-radius: 10px;

    font-size: 20px;
}


.date-card small,
.date-card strong {

    display: block;
}


.date-card small {
    color: #2196F3;
    font-size: 14px;
    font-family: 'Noto';
}

.date-card strong {
    font-size: 14px;
    margin-top: 3px;
    font-family: 'NotoB';
    color: green;
}


/* Quick Panel */

.quick-panel {

    background: white;

    border: 1px solid var(--border);

    border-radius: 24px;

    padding: 22px;

    box-shadow: var(--shadow);
}


.panel-heading {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 18px;
}


.panel-heading small {
    color: #2196F3;
    font-weight: 800;
    font-family: 'NotoB';
    font-size: 13px;
}

..panel-heading h2 {
    margin: 4px 0 0;
    font-size: 20px;
    color: #FF5722;
}

.online-badge {
    padding: 6px 9px;
    border-radius: 20px;
    background: #ecfdf5;
    color: #059669;
    font-size: 11px;
    font-weight: 800;
    font-family: 'NotoB';
}

.online-badge i {

    display: inline-block;

    width: 6px;

    height: 6px;

    border-radius: 50%;

    background: #10b981;

    margin-right: 5px;
}


/* Services */

.service-grid {

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 10px;
}


.service-card {

    min-height: 82px;

    display: flex;

    align-items: center;

    gap: 11px;

    padding: 14px;

    background: #f8fafc;

    border: 1px solid var(--border);

    border-radius: 15px;

    cursor: pointer;

    text-align: left;

    transition: all .3s ease;

    font-family: inherit;

}


.service-card:hover {

    transform:
        translateY(-5px);

    background: white;

    border-color:
        rgba(13,148,136,.35);

    box-shadow:
        0 12px 25px rgba(15,23,42,.08);
}


.service-card.primary {

    background:
        linear-gradient(
            135deg,
            #ecfdf5,
            #eff6ff
        );

    border-color:
        #cceee7;
}


.service-grid a{
    text-decoration:none;
}

.service-icon {

    width: 38px;

    height: 38px;

    flex-shrink: 0;

    display: grid;

    place-items: center;

    border-radius: 11px;

    background: white;

    color: var(--primary);

    font-size: 18px;

    font-weight: 800;

    box-shadow:
        0 4px 12px rgba(15,23,42,.06);
}


.service-info {

    flex: 1;
}


.service-info strong {
    display: block;
    font-size: 15px;
    font-family: 'NotoB';
    color: #FF5722;
}


.arrow {

    color: #94a3b8;

    transition: .3s;
}


.service-card:hover .arrow {

    color: var(--primary);

    transform:
        translateX(3px);
}


/* Information */

.information {

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 13px;

    margin-bottom: 24px;
}


.info-card {

    background: white;

    border: 1px solid var(--border);

    border-radius: 17px;

    padding: 18px;

    display: flex;

    gap: 13px;

    box-shadow:
        0 8px 25px rgba(15,23,42,.04);

    transition: .3s;
}


.info-card:hover {

    transform:
        translateY(-4px);

    box-shadow:
        var(--shadow);
}


.info-number {
    color: #3aaf3a;
    font-weight: 900;
    font-size: 15px;
    font-family: 'EncodeB';
}


.info-card h3 {
    margin: 0;
    font-size: 15px;
    color: #2196F3;
    font-family: 'RobotoCB';
}

.info-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    margin: 5px 0 0;
    font-family: 'NotoL';
}


/* Footer */

.footer {
    font-family: Noto;
    background: white;
    border: 1px solid var(--border);
    border-radius: 17px;
    padding: 25px 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr auto;
    align-items: center;
    gap: 15px;
    box-shadow: 0 8px 25px rgba(15,23,42,.04);
}


.footer-info strong {
    display: block;
    font-size: 13px;
    color: #2196F3;
    font-family: 'NotoL';
}


.footer-info span {

    display: block;

    color: var(--muted);

    font-size: 9px;

    margin-top: 4px;
}


.footer-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    font-size: 14px;
    color: var(--muted);
}
.footer-links a{
    text-decoration:none;
}
.footer-links a:hover {

    color: var(--primary);
}


.copyright {
    color: var(--muted);
    font-size: 14px;
}

.copyright a {
    text-decoration: none;
    background: #f3a9213b;
    padding: 9px 16px;
    border-radius: 6px;
    font-family: 'Noto';
}
/* Modal */

.modal {

    position: fixed;

    inset: 0;

    display: none;

    place-items: center;

    padding: 20px;

    z-index: 100;
}


.modal.open {

    display: grid;
}


.modal-background {

    position: absolute;

    inset: 0;

    background:
        rgba(15,23,42,.55);

    backdrop-filter: blur(7px);
}


.login-box {

    position: relative;

    z-index: 2;

    width: min(420px,100%);

    background: white;

    border-radius: 22px;

    padding: 30px;

    box-shadow:
        0 30px 80px rgba(15,23,42,.25);

    animation:
        loginPop .3s ease;
}


@keyframes loginPop {

    from {

        opacity: 0;

        transform:
            scale(.94)
            translateY(15px);

    }

    to {

        opacity: 1;

        transform:
            scale(1)
            translateY(0);

    }

}


.close-button {

    position: absolute;

    top: 12px;

    right: 14px;

    border: 0;

    background: transparent;

    color: #94a3b8;

    font-size: 27px;

    cursor: pointer;
}


.login-logo {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: white;
    margin-bottom: 17px;
}

.login-label {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .15em;
    color: red;
    font-family: EncodeB;
}


#passErrorNot {
    font-family: LalSabuj;
    color: red;
    font-size: 20px;
    margin: 0 auto;
    width: 68%;
    text-align: center;
    margin-top: 20px;
}

.login-box h2 {
    font-size: 27px;
    margin: 6px 0;
    font-family: NotoB;
    color: #2196F3;
}


.login-box > p {

    color: var(--muted);

    font-size: 12px;
}

.login-box a{
    text-decoration:none;
}


.input-group {

    margin: 14px 0;
}


.input-group label {
    display: block;
    color: #E91E63;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
    font-family: NotoB;
}


.input-group input {
    width: 100%;
    padding: 20px 13px;
    border-radius: 10px;
    border: 1px solid var(--border);
    outline: none;
    transition: .2s;
    font-size: 17px;
    font-family: 'NotoB';
}

.input-group input::placeholder{
    font-family: 'Noto';
    font-size: 14px;
}

.input-group input:focus {

    border-color: var(--primary);

    box-shadow:
        0 0 0 3px
        rgba(13,148,136,.08);
}


.login-button {
    width: 100%;
    border: 0;
    border-radius: 11px;
    padding: 22px 15px;
    background: linear-gradient(90deg, #03A9F4, var(--blue));
    color: white;
    font-weight: 800;
    cursor: pointer;
    margin-top: 5px;
    font-size: 16px;
    font-family: NotoB;
}


.login-button span {

    float: right;
}


.change-password {
    display: block;
    text-align: center;
    color: red;
    font-size: 16px;
    margin-top: 18px;
    font-family: 'Encode';
}

/* Toast */

.toast {

    position: fixed;

    bottom: 20px;

    left: 50%;

    transform:
        translate(-50%,20px);

    opacity: 0;

    background:
        #0f172a;

    color: white;

    padding: 11px 16px;

    border-radius: 10px;

    font-size: 11px;

    transition: .3s;

    z-index: 200;
}


.toast.show {

    opacity: 1;

    transform:
        translate(-50%,0);
}




/* Initial state */
.container {
    animation: pageEnter 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.header {
    animation: slideDown 0.8s ease-out 0.1s both;
}

.hero-content {
    animation: slideLeft 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.quick-panel {
    animation: slideRight 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.information {
    animation: fadeUp 0.9s ease-out 0.45s both;
}

.footer {
    animation: fadeUp 0.8s ease-out 0.6s both;
}

/* Service cards stagger effect */
.service-card {
    animation: cardAppear 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.service-card:nth-child(1) {
    animation-delay: 0.45s;
}

.service-card:nth-child(2) {
    animation-delay: 0.55s;
}

.service-card:nth-child(3) {
    animation-delay: 0.65s;
}

.service-card:nth-child(4) {
    animation-delay: 0.75s;
}

/* Information cards */
.info-card {
    animation: cardAppear 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.info-card:nth-child(1) {
    animation-delay: 0.55s;
}

.info-card:nth-child(2) {
    animation-delay: 0.65s;
}

.info-card:nth-child(3) {
    animation-delay: 0.75s;
}



/* ========================================
   MODERN HOVER EFFECTS
======================================== */

/* Smooth transition for clickable elements */
a,
button,
.service-card,
.info-card,
.brand {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease;
}


/* ========================================
   BRAND / LOGO HOVER
======================================== */

.brand:hover {
    transform: translateY(-2px);
}

.brand-logo {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.brand:hover .brand-logo {
    transform: rotate(-5deg) scale(1.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}


/* ========================================
   SERVICE CARD HOVER
======================================== */

.service-card {
    position: relative;
    overflow: hidden;
}

.active {
    background: linear-gradient(135deg, #ffeb3b4a, #ff57222e);
}
.active:hover {
    transform: translateY(-7px) scale(1.015);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    background: linear-gradient(292deg, #ffeb3b8c, #FFC107);
}


/* Shine effect */
.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.18),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.service-card:hover::before {
    left: 140%;
}


/* Main card movement */
.service-card:hover {
    transform: translateY(-7px) scale(1.015);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}


/* Icon animation */
.service-icon {
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.12) rotate(-5deg);
}


/* Arrow animation */
.arrow {
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.service-card:hover .arrow {
    transform: translateX(7px);
}


/* Text movement */
.service-info {
    transition: transform 0.3s ease;
}

.service-card:hover .service-info {
    transform: translateX(3px);
}


/* ========================================
   PRIMARY SERVICE CARD
======================================== */

.service-card.primary:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}


/* ========================================
   INFORMATION CARDS
======================================== */

.info-card {
    position: relative;
    overflow: hidden;
}

.info-card::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    transition: width 0.4s ease;
}

.info-card:hover::after {
    width: 100%;
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.10);
}

.info-number {
    transition:
        transform 0.35s ease,
        opacity 0.35s ease;
}

.info-card:hover .info-number {
    transform: scale(1.15);
}


/* ========================================
   FOOTER LINKS
======================================== */

nav a span{
    background: #03a9f436;
    padding: 9px 15px;
    border-radius: 6px;
}
.footer-links a {
    position: relative;
    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.footer-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    transform: translateY(-2px);
}

.footer-links a:hover::after {
    width: 100%;
}


/* ========================================
   ADMIN BUTTON
======================================== */

#admin {
    cursor: pointer;
}

#admin:hover {
    transform: translateY(-7px) scale(1.015);
}


/* ========================================
   LOGIN BUTTON
======================================== */

.login-button {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.login-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
}

.login-button span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.login-button:hover span {
    transform: translateX(6px);
}


/* ========================================
   CLOSE BUTTON
======================================== */

.close-button {
    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.close-button:hover {
    transform: rotate(90deg) scale(1.1);
}


/* ========================================
   CHANGE PASSWORD LINK
======================================== */

.change-password {
    transition:
        color 0.3s ease,
        letter-spacing 0.3s ease;
}

.change-password:hover {
    letter-spacing: 0.3px;
}


/* ========================================
   ONLINE BADGE
======================================== */

.online-badge {
    transition: transform 0.3s ease;
}

.online-badge:hover {
    transform: scale(1.05);
}


/* ========================================
   STATUS DOT
======================================== */

.status-dot {
    transition: transform 0.3s ease;
}

.header-status:hover .status-dot {
    transform: scale(1.35);
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 768px) {

    .service-card:hover,
    .service-card.primary:hover,
    .info-card:hover {
        transform: translateY(-4px);
    }

}







/* ================================
   KEYFRAMES
================================ */

@keyframes pageEnter {
    from {
        opacity: 0;
        transform: scale(0.97);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(-45px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(45px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(25px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* Mobile */
@media(max-width:1020px) {

    .footer-links {
        display: block;
    } 
}


@media(max-width:960px) {

    .footer-links {
        display: block;
    } 
}

@media(max-width:820px) {

    .header {
        width: 100%;
        display: block;
    }
    .header {
        animation: slideDown 0.8s ease-out 0.1s both;
        width: 100%;
        text-align: center;
    }
    
    .brand img {
        width: 128px;
    }
    
    .brand-text strong {
        display: block;
        font-size: 30px;
        font-family: 'NotoB';
        text-decoration: none;
        color: green;
        letter-spacing: 0;
        text-align: center;
    }
    .hero {
        grid-template-columns: 1fr;
        padding-top: 45px;
    }


    .information {

        grid-template-columns: 1fr;
    }


    .footer {

        grid-template-columns: 1fr;

        text-align: center;
    }


    .footer-links {

        justify-content: center;

        flex-wrap: wrap;
    }
        .copyright a {
        text-decoration: none;
        background: #f3a9213b;
        padding: 13px 16px;
        border-radius: 6px;
        font-family: 'Noto';
        display: block;
    }
    
    .footer-links {
        display: flex;
        justify-content: center;
        gap: 18px;
        font-size: 14px;
        color: var(--muted);
        margin-top: 7px;
        margin-bottom: 6px;
    }

}


@media(max-width:520px) {
    
    .header {
        width: 100%;
        display: block;
    }
    
    .brand {
        display: block;
        align-items: center;
        gap: 12px;
    }
    
    .header {
        animation: slideDown 0.8s ease-out 0.1s both;
        width: 100%;
        text-align: center;
    }
    
    .brand img {
        width: 128px;
    }
    
    .brand-text strong {
        display: block;
        font-size: 30px;
        font-family: 'NotoB';
        text-decoration: none;
        color: green;
        letter-spacing: 0;
        text-align: center;
    }
    .container {

        width: 94%;
    }


    .header-status {

        display: none;
    }


    .service-grid {

        grid-template-columns: 1fr;
    }


    .hero-content h1 {

        font-size: 45px;
    }

    .brand-text span {
        display: none;
    }

    .hero-content h1 {
        font-size: 39px;
    }
    
    .date-card {
        display: none;
    }
    
    .copyright a {
        text-decoration: none;
        background: #f3a9213b;
        padding: 13px 16px;
        border-radius: 6px;
        font-family: 'Noto';
        display: block;
    }
    
    .footer-links {
        display: flex;
        justify-content: center;
        gap: 18px;
        font-size: 14px;
        color: var(--muted);
        margin-top: 7px;
        margin-bottom: 6px;
    }

}









@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}