* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    color: #333;
}

nav {
    width: 100%;
    background: white;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 15px;
    height: 80px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    position: fixed;
}

.navbar li {
    list-style: none;
}

.navbar .mainlogo {
    width: 400px;
    margin-top: 10px;
    margin-left: 10px;
}

/* Notifications bar css */

.navbar .notification_bell {
    position: absolute;
    right: 30px;
}

.navbar .notification_bell button {
    background: none;
    border: none;
    position: relative;
    cursor: pointer;
}

.navbar .notification_bell button img {
    width: 35px;
    height: auto;
}

.navbar .notification_bell button .notification_count {
    position: absolute;
    border: 2px solid white;
    top: -3px;
    right: -3px;
    background: #f63500;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Notification Sidebar */

.notification-sidebar {
    width: 330px;
    height: 100vh;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 80px;
    right: -330px;
    transition: right .5s ease;
    z-index: 800;
    display: flex;
    flex-direction: column;
    transition: all .5s ease;
}

.notification-sidebar-active {
    right: 0;
}

.notification-sidebar .header {
    background-color: rgb(155, 215, 255);
    margin: 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 10px;
    gap: 10px;
    color: white;
    font-size: 18px;
    position: relative;
}

.notification-count-s {
    background-color: #0090f6;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    position: absolute;
    right: 10px;
    width: 30px;
    height: 30px;
}

.notification-sidebar .header img {
    width: 30px;
    height: auto;
}

.notification-sidebar .body {
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 8px;
    margin: 0 10px 10px 10px;
    background-color: rgb(155, 215, 255);
    height: calc(100vh - 160px);
    display: flex;
    flex-direction: column;
}

/* Notification css */

.notification {
    padding: 10px;
    background-color: white;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    border-radius: 5px;
    transition: all .3s ease;
    margin-bottom: 10px;
    position: relative;
}

.notification .new_noti_indicator {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 15px;
    height: 15px;
    background-color: #0090f6;
    border-radius: 50%;
}

.notification:hover {
    transform: scale(1.03);
}

.notification .noti-img {
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.notification .noti-img img {
    width: 100%;
    height: auto;
    margin-right: 10px;
}

.notification .noti-content {
    width: 80%;
    font-size: 16px;
    color: black;
}

.noti-content .noti-heading {
    font-weight: bold;
    margin-bottom: 5px;
}

.noti-content .noti-message {
    font-size: 14px;
    color: #555;
}


/* main section stated */

.section {
    display: flex;
    flex-direction: column;
    margin-top: 80px;
}

.sidebar {
    width: 300px;
    background: linear-gradient(135deg, #009cff, #00d1ff);
    height: 100vh;
    flex-direction: column;
    align-items: center;
    position: fixed;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    align-items: center;
    transition: left .5px ease;
    z-index: 900;
}

.sidebar ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
    position: relative;
}

.sidebar a {
    text-decoration: none;
}

.sidebar ul li {
    padding: 16px 12px;
    margin: 7px 10px;
    cursor: pointer;
    border-radius: 5px;
    color: white;
    font-size: 20px;
    font-weight: bold;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

/* .sidebar ul li::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom:0;
    width: 100%;
    border-radius: 5px;
    background-color: #006bf6;
    z-index: -1;
    transform-origin: left;
    transition: transform .3s ease-in-out; 
    transform: scaleX(0);
}

.sidebar ul li:hover::after{
    border-radius: 5px;
    transform: scaleX(1);
} */

.sidebar ul li:hover {
    background: #006bf6;
    color: white;
}

/* Hamberger css start */
.menu {
    height: 50px;
    width: 50px;
    margin: 10px;
    background-image: linear-gradient(to right, #0073ff, #0095ff);
    border-radius: 5px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
}

.menu div {
    height: 35px;
    width: 35px;
    position: relative;
    margin: 7.5px;
}

.menu span {
    background-image: linear-gradient(to right, #ffffff, #ffffff);
    width: 100%;
    height: 4px;
    border-radius: 2px;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform .5s, width .5s;
}

.menu .line-1 {
    transform: translate(-50%, -10px);
}

.menu .line-3 {
    transform: translate(-50%, 6px);
}

.openmenu .line-1 {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.openmenu .line-3 {
    transform: translate(-50%, -50%) rotate(45deg);
}

.openmenu .line-2 {
    width: 0%;
}

/* Hamberger css end */

.sidebar img {
    width: 23px;
    height: auto;
}

.sidebar .big_icons {
    width: 30px;
    height: 28px;
}

.active {
    background: #006bf6;
}

.main {
    margin-left: 300px;
    width: calc(100vw - 315px);
    background-color: aliceblue;
    height: auto;
    min-height: 100vh;
}

/* Footer */

/* .footer {
    display: flex;
    flex-direction: column;
    margin: 10px 10px 10px 310px;
    width: calc(100% - 320px);
    background-color: #3a3f43;
    height: auto;
    border-radius: 10px;
} */

.footer {
    background: linear-gradient(135deg, #020617, #020617, #020617, #0c0f2c);
    color: #e1e4e8;
    padding: 70px 0 20px;
    font-family: 'Segoe UI', sans-serif;
    width: calc(100% - 300px);
    margin-left: 300px;
}

.od-footer-wrapper {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr;
    gap: 50px;
    padding: 0 20px;
}

/* Brand */

.od-brand {
    margin: 0 auto;
    display: block;
}

.od-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 25px;
    font-weight: 600;
    font-family: "Cambria";
    font-style: italic;
    color: #fff;
}

.od-logo img {
    width: 300px;
}

.od-tagline {
    margin-top: 15px;
    font-size: 14px;
    color: #94a3b8;
    font-style: italic;
    font-family: "Mangolia Script", cursive;
    line-height: 1.6;
}

/* Social Icons */
.od-social {
    margin-top: 18px;
    display: flex;
    gap: 12px;
}

.od-social a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #dcddde;
    transition: 0.3s;
    text-decoration: none;
    /* removes underline */
}

.od-social a:hover {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.15);
    transform: translateY(-2px);
}

/* Columns */

.od-col {
    display: flex;
    flex-direction: column;
}

.od-col h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 15px;
}

.od-col a {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 8px;
    text-decoration: none;
    transition: 0.2s;

}

.od-col a:hover {
    color: #38bdf8;
    transform: translateX(2px);
    cursor: pointer;
}

/* Bottom */
.od-footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 13px;
    color: #d8d8d8;
}

.founder-credit {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #64748b;
}


/* Responsive */
@media (max-width: 900px) {

    .od-footer-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }
}

@media (max-width: 500px) {

    .od-tagline {
        text-align: center;
    }

    .od-footer-wrapper {
        grid-template-columns: 1fr;
        /* text-align: center; */
    }

    .od-logo {
        justify-content: center;
    }

    .od-social {
        justify-content: center;
    }

    .od-footer-bottom {
        padding: 15px 10px 0 10px;
    }

}

/* old footer css */
/*
.footer {
    display: flex;
    flex-direction: column;
    margin: 10px 10px 10px 310px;
    width: calc(100% - 320px);
    background-color: #3a3f43;
    height: auto;
    border-radius: 10px;
}

.footer .sec1 {
    display: flex;
    padding: 10px;
}

.sec1 .fsec {
    width: 33.33%;
    display: flex;
    flex-direction: column;
    align-items: center;

}


.sec1 .fsec p {
    color: white;
    font-size: 18px;
    text-align: center;
    line-height: 25px;
    padding: 10px 10px 15px 10px;
}

.sec1 .footerlogo {
    width: 280px;
}

.sec1 .fsec h2 {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    color: white;
    padding: 10px 0;
    border-bottom: 3px solid white;
    background-color: rgb(0, 166, 255);
    width: 100%;
}

.sec1 .fsec ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    margin: 30px 0;
}

.sec1 .fsec ul li {
    list-style: none;
    font-size: 18px;
}

.sec1 .fsec ul li a {
    text-decoration: none;
    transition: all .3s ease;
    color: white;
}

.sec1 .fsec ul li a:hover {
    color: #0090f6;
}

.sec1 .fsec ul li i {
    color: white;
    font-size: 20px;
    margin-right: 5px;
}

.footer .sec2 {
    color: white;
    font-size: 18px;
    text-align: center;
    padding: 15px 0;
    margin: 0 50px;
    border-top: 2px solid white;
}
*/

@media (min-width: 900px) and (max-width: 1200px) {

    .main {
        margin-left: 0;
        width: 100%;
    }

    .menu {
        display: block;
    }

    .sidebar {
        left: -300px;
        transition: all .5s ease;
    }

    .sidebar_active {
        left: 0;
    }

    .footer {
        width: 100%;
        margin: 0px;
        border-radius: 0;
    }

    /* .footer .fsec {
        width: 100%;
    } */
}

@media (min-width: 768px) and (max-width: 900px) {

    .main {
        margin-left: 0;
        width: 100%;
    }

    .menu {
        display: block;
    }

    .sidebar {
        left: -300px;
        transition: all .5s ease;
    }

    .sidebar_active {
        left: 0;
    }

    .footer {
        width: 100%;
        margin: 0px;
        border-radius: 0;
    }

    /*
    .footer .sec1 {
        flex-direction: column;
    }

    .footer .fsec {
        width: 100%;
    } */

}

@media (max-width: 768px) {

    .main {
        margin-left: 0;
        width: 100%;
    }

    .navbar {
        height: 60px;
        padding: 0 5px;
    }

    .navbar .mainlogo {
        width: 240px;
        height: auto;
    }

    .menu {
        display: block;
        width: 40px;
        height: 40px;
        margin: 3px;
    }

    .menu div {
        height: 25px;
        width: 25px;
        margin: 7.5px;
    }

    .navbar .notification_bell {
        right: 10px;
        top: 15px;
    }

    .navbar .notification_bell button img {
        width: 30px;
        height: auto
    }

    .navbar .notification_bell button .notification_count {
        width: 18px;
        height: 18px;
    }

    .notification-sidebar {
        top: 60px;
    }

    .notification-sidebar .body {
        height: calc(100vh - 180px);
    }

    .section {
        margin-top: 60px;
    }

    .sidebar {
        width: 250px;
        left: -300px;
        transition: all .5s ease;
    }

    .sidebar ul li {
        padding: 10px;
        margin: 7px;
        font-size: 17px;
        gap: 5px;
    }

    .sidebar_active {
        left: 0;
    }

    .footer {
        width: 100%;
        margin: 0px;
        border-radius: 0;
    }

    /*
    .footer .sec1 {
        flex-direction: column;
    }

    .footer .fsec {
        width: 100%;
    }

    .footer .sec2 {
        margin: 0 15px;
    } */
}