@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Balsamiq+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');



* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

:root {
    --white: #fff;
    --black: #333;
    --max-width: 1300px;
    --purple: #c500bb;
    --hover-bg: rgb(255 255 255 / 15%);
}

a {
    text-decoration: none;
}

svg {
    width: 30px;
}

body {
    background-image: url(/imgs/1.png);
    background-size: cover;
    font-family: "Poppins", sans-serif;
}

section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

section article {
    width: 100%;
    max-width: var(--max-width);
    display: flex;
    justify-content: center;
    align-items: center;
}

header {
    display: flex;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, padding 0.3s ease;
    justify-content: center;
    align-items: center;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

header article {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    gap: 15px;
    padding-inline: 100px;
    width: 100%;
    border-bottom: 1px solid rgb(255 255 255 / 40%);
    background-color: var(--hover-bg);
}

header a {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

header a img {
    width: 50px;
    animation: jumpLogo 2s ease-in-out infinite;
}

header a .header-left-name {
    display: flex;
    justify-content: center;
    align-items: center;
}

header a .header-left-name p {
    color: var(--white);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 1.2rem;
}

header a .header-left-name b {
    font-weight: bold;
    color: var(--white);
}


.header-sections {
    display: none;
    text-decoration: none;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    gap: 60px;
}

.header-sections a {
    color: var(--white);
    text-decoration: none;
    transition: .2s ease-in-out;
}

.header-sections a:hover {
    transform: translateY(-5px);
}

footer {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 7px;
    font-size: 14px;
    border-top: 1px solid rgb(255 255 255 / 15%);
    z-index: 3;
    background-color: rgb(0 0 0 / 20%);
}

footer a {
    text-align: center;
    text-decoration: none;
    color: #fff;
    width: 100%;
}

.home {
    width: 100%;
}

.home article {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.home .home-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.home .home-text img {
    width: 100%;
    max-width: 200px;
}

.home .home-text p {
    z-index: 9;
    letter-spacing: 5px;
    margin-top: 0;
    margin-bottom: 0;
    font-family: Playfair Display, sans-serif;
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.2;
    color: white;
    text-align: center;
}

#animatedText {
    font-size: 2.5rem;
    display: inline-block;
    margin-block-start: 10px;
}

.--button {
    margin-block: 20px;
    text-decoration: none;
    color: white;
    text-align: center;
    background-color: rgb(255 255 255 / 15%);
    border: 2px solid rgb(255 255 255 / 40%);
    width: 100%;
    max-width: 150px;
    font-weight: 500;
    border-radius: 5px;
    padding: 10px;
    transition: all 0.2s var(--bezier);
    cursor: pointer;
}

.--button:hover {
    --edge-light: hsla(0, 0%, 50%, 1);
    text-shadow: 0px 0px 10px var(--text-light);
    box-shadow: inset 0.4px 1px 4px var(--edge-light),
        2px 4px 8px hsla(0, 0%, 0%, 0.295);
    transform: scale(1.1);
}

.--button:hover::before {
    -webkit-animation: sh02 0.5s 0s linear;
    -moz-animation: sh02 0.5s 0s linear;
    animation: sh02 0.5s 0s linear;
}

.--button:before {
    content: '';
    display: block;
    width: 0px;
    height: 86%;
    position: absolute;
    top: 7%;
    left: 0%;
    opacity: 0;
    background: #fff;
    box-shadow: 0 0 50px 30px #fff;
    -webkit-transform: skewX(-20deg);
    -moz-transform: skewX(-20deg);
    -ms-transform: skewX(-20deg);
    -o-transform: skewX(-20deg);
    transform: skewX(-20deg);
}

@keyframes sh02 {
    from {
        opacity: 0;
        left: 0%;
    }

    50% {
        opacity: 1;
    }

    to {
        opacity: 0;
        left: 100%;
    }
}

.--button:active {
    box-shadow: 0 0 0 0 transparent;
    -webkit-transition: box-shadow 0.2s ease-in;
    -moz-transition: box-shadow 0.2s ease-in;
    transition: box-shadow 0.2s ease-in;
}


.home article .home-text .home-text-bottom {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-block: -30px;
}

.home article .home-text .home-text-bottom img {
    width: 100%;
    max-width: 25px;
}

.home article .home-text .home-text-bottom span {
    font-family: Balsamiq Sans, sans-serif;
    font-size: 1rem;
    letter-spacing: 0;
}

.home article .home-text .--svg {
    width: 100%;
    max-width: 30px;
    fill: white;
}


@keyframes jump {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.--svg {
    width: 50px;
    height: 50px;
    animation: jump 1s infinite, colorChange 2s infinite;
}

#switcherButton {
    position: fixed;
    right: 0;
    /* Start right at the edge */
    top: 50%;
    transform: translateY(-50%);
    padding: 10px;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 .3rem .6rem rgba(0, 0, 0, .13);
    cursor: pointer;
    z-index: 1000;
    border: none;
    transition: right 0.3s ease;
    /* Smooth transition for sliding */
}

#switcherButton.opened {
    right: 300px;
    /* Position to align with the open panel */
}

#switcherButton .icon {
    width: 24px;
    height: 24px;
    animation: rotate 2s linear infinite;
    fill: white;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Tool Panel Styling */
.tool-panel {
    position: fixed;
    top: 0;
    right: -300px;
    /* Initially hidden */
    width: 300px;
    height: 100%;
    background-color: #111314;
    /* Dark background */
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.3);
    padding: 20px;
    overflow-y: auto;
    transition: right 0.3s ease;
    z-index: 1001;
}

.tool-panel h2,
.tool-panel h3 {
    margin: 0;
    padding: 10px 0;
    color: var(--white);
}

.tool-panel h3 {
    font-weight: 300;
    color: rgba(255, 255, 255, .7);
    font-size: .9rem;
}

.tool-panel hr {
    border: 0;
    border-bottom: 1px solid #ddd;
    margin: 10px 0;
}

.texture-options,
.gradient-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.texture,
.gradient {
    width: 70px;
    height: 70px;
    cursor: pointer;
    border-radius: 5px;
}

.texture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}


.gradient-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.gradient {
    width: 70px;
    height: 70px;
    cursor: pointer;
    border-radius: 5px;
    background-size: cover;
    background-repeat: no-repeat;
}

.team {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.team-title {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;

}

.team article {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.team article h2 {
    color: var(--white);
    text-align: start;
    width: 100%;
    font-weight: 500;
    text-transform: uppercase;
}

.team article .team-cards {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.team article .border {
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    width: 100%;
    margin-top: -10px;
    margin-bottom: -5px;
}

.team article .team-cards .team-card {
    display: flex;
    background-color: rgb(0 0 0 / 20%);
    box-shadow: 0 .3rem .8rem rgba(0, 0, 0, .12);
    border: 0 solid transparent;
    margin-bottom: 1.5rem;
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    max-width: 300px;
}

.team article .team-cards .team-card .team-card-in {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    width: 100%;
    max-width: 350px;
    gap: 10px;
    border-radius: 10px;
    border: 1px solid rgb(255 255 255 / 15%) !important;
    width: 100%;
}

.team article .team-cards .team-card .team-card-in img {
    width: 100px;
    border-radius: 50%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.team article .team-cards .team-card .team-card-in .team-card-in-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.team article .team-cards .team-card .team-card-in .team-card-in-title b {
    color: var(--white);
    font-size: 1rem;
    text-align: center;
    width: 100%;
}

.team article .team-cards .team-card .team-card-in .team-card-in-title p {
    color: rgba(255, 255, 255, 0.3);
    margin-top: -5px;
    font-size: .8rem;
    text-align: center;
    width: 100%;
}

.team article .team-cards .team-card .team-card-in .social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.team article .team-cards .team-card .team-card-in .social-links svg {
    fill: white;
    width: 25px;
    padding: 5px;
    border-radius: 50%;
    aspect-ratio: 1/1;
    background-color: rgb(255 255 255 / 15%) !important;
    transition: all .3s ease-in-out;
    border: 1px solid rgba(255, 255, 255, 40%);
}

.team article .team-cards .team-card .team-card-in .social-links svg:hover {
    padding: 5px;
}

.--btn-contact {
    color: var(--white);
    background-color: rgb(255 255 255 / 20%);
    border: 1px solid rgb(255 255 255 / 40%);
    transition: .2s ease-out;
    padding: 5px;
    text-align: center;
    width: 100%;
    text-decoration: none;
    border-radius: 20px;
    font-size: .8rem;
}

.--btn-contact:hover {
    background-color: rgb(255 255 255 / 40%);
}

.view {
    display: flex;
    text-decoration: none;
    justify-content: flex-end;
    width: 100%;
    max-width: 150px;
    align-items: center;
    padding: 5px;
    background-color: rgb(0 0 0 / 20%);
    color: var(--white);
    gap: 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 50%);
    transition: all .2s ease-out;
    cursor: pointer;
}

.view:hover {
    background-color: rgb(0 0 0 / 30%);
}

.view p::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 1px;
    /* Adjust thickness as needed */
    background-color: rgba(255, 255, 255, 50%);
}

.view svg {
    fill: white;
    width: 20px;
    animation: next 1.5s ease-in-out infinite;
}

.view p {
    position: relative;
    padding-right: 20px;
}

.team .team-title .view {
    display: flex;
    text-decoration: none;
    justify-content: flex-end;
    width: 100%;
    max-width: 150px;
    align-items: center;
    padding: 5px;
    background-color: rgb(0 0 0 / 20%);
    color: var(--white);
    gap: 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 50%);
    transition: all .2s ease-out;
    cursor: pointer;
}

.team .team-title .view:hover {
    background-color: rgb(0 0 0 / 30%);
}

.team .team-title .view p {
    position: relative;
    padding-right: 10px;
}

.team .team-title .view p::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 1px;
    /* Adjust thickness as needed */
    background-color: rgba(255, 255, 255, 50%);
}

.team .team-title .view svg {
    fill: white;
    width: 20px;
    animation: next 1.5s ease-in-out infinite;
}

@keyframes next {
    0% {
        transform: translateX(3px);
    }

    50% {
        transform: translateX(-3px);
    }

    100% {
        transform: translateX(3px);
    }
}

.latest-videos {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.latest-videos article {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 20px;
}

.latest-videos article .latest-videos-title {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}

.latest-videos article .latest-videos-title h2 {
    color: var(--white);
    text-align: start;
    width: 100%;
    font-weight: 500;
    text-transform: uppercase;
    width: 100%;
}

.latest-videos article .latest-videos-title p {
    color: rgba(255, 255, 255, 80%);
    text-align: end;
}

.border {
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    width: 100%;
    margin-top: 5px;
    margin-bottom: 10px;
}

.latest-videos article .latest-videos-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 20px;
    margin-top: 10px;
    margin-bottom: 40px;
}

.latest-videos article .latest-videos-cards .latest-videos-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 15px;
    gap: 10px;
    background-color: rgb(0 0 0 / 20%);
    border-radius: 10px;
    transition: all .4s ease-out;
    box-shadow: 0 rgba(0, 0, 0, .4);
    cursor: pointer;
}

.latest-videos article .latest-videos-cards .latest-videos-card:hover {
    box-shadow: 0 .3rem .8rem .1rem rgba(129, 184, 255, 0.8);
}

.latest-videos article .latest-videos-cards .latest-videos-card img {
    width: 100%;
    max-width: 350px;
}

.latest-videos article .latest-videos-cards .latest-videos-card .latest-videos-card-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.latest-videos article .latest-videos-cards .latest-videos-card .latest-videos-card-text b {
    font-size: 1.3rem;
    color: var(--white);
    font-weight: 600;
}

.latest-videos article .latest-videos-cards .latest-videos-card .latest-videos-card-text p {
    color: rgba(255 255 255 / 50%);
    font-size: 1rem;
    margin-top: 5px;
}

.green-circle {
    display: flex;
    gap: 5px;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

.green-circle span {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: green;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {

    0%,
    100% {
        opacity: 0.3;
        box-shadow: 0 0 5px rgba(0, 255, 0, 0.3), 0 0 15px rgba(0, 255, 0, 0.3), 0 0 30px rgba(0, 255, 0, 0.3);
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 10px rgba(0, 255, 0, 0.6), 0 0 20px rgba(0, 255, 0, 0.6), 0 0 40px rgba(0, 255, 0, 0.6);
    }
}

/* Title styling with lines */
.logo-options h3 {
    margin: 10px 0;
    color: rgba(255, 255, 255, .7);
    font-weight: 300;
    text-align: start;
}

/* Ensure lines appear above and below title */
.logo-options hr {
    border: 0;
    border-bottom: 1px solid #ddd;
    margin: 10px 0;
}

/* Styling for logo choices */
.logo-choice {
    width: 100px;
    height: 100px;
    cursor: pointer;
    padding: 5px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.logo-choice img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Active state styling */
.logo-choice.active-logo {
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Font Options Styling */
.font-options h3 {
    margin: 10px 0;
    font-weight: 300;
    text-align: start;
    color: rgba(255, 255, 255, .7);
}

.font-options hr {
    border: 0;
    border-bottom: 1px solid #ddd;
    margin: 10px 0;
}

.font-choice {
    padding: 10px;
    cursor: pointer;
    font-size: 1.5rem;
    text-align: center;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-bottom: 10px;
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
}

.font-choice.active-font {
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--purple);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.videos-categ {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.videos-categ article {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    padding: 20px;
}

.videos-categ article .videos-categ-title {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
}

.videos-categ article .videos-categ-title h2 {
    color: var(--white);
    text-align: start;
    width: 100%;
    font-weight: 500;
    text-transform: uppercase;
    width: 100%;
}

.videos-categ article .videos-categ-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 30px;
    margin-bottom: 40px;
    cursor: pointer;
    margin-bottom: 150px;
}

.videos-categ-card {
    max-width: 350px;
    min-height: 350px;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    transition: .3s cubic-bezier(.6, .4, 0, 1), transform .15s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1em;
    width: 100%;
    background-color: rgb(0 0 0 / 20%);
}

/* Image styling */
.videos-categ-card img {
    width: 100%;
    max-width: 350px;
    min-height: 350px;
    height: auto;
    border-radius: 5px;
    transition: .3s cubic-bezier(.6, .4, 0, 1);
    object-fit: cover;
}

.videos-categ-card p {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--white);
    transition: .3s cubic-bezier(.6, .4, 0, 1);
}

.videos-categ-card span {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--hover-text);
    background: transparent;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 5px;
    top: 100%;
    transition: all .3s cubic-bezier(.6, .4, 0, 1);
}

/* Hover effect: move span up, hide image and text */
.videos-categ-card:hover {
    background: var(--hover-bg);
    color: white;
}

.videos-categ-card:hover span {
    top: 0;
}

.videos-categ-card:hover img,
.videos-categ-card:hover p {
    opacity: 0;
}

.contact {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact article {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.contact article .contact-title {
    text-align: start;
    width: 100%;
}

.contact article .contact-title h2 {
    color: var(--white);
    text-align: start;
    width: 100%;
    font-weight: 500;
    text-transform: uppercase;
    width: 100%;
    margin-bottom: 10px;
}

.contact article .contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.contact article .contact-form input,
.contact article .contact-form textarea {
    width: 100%;
    background-color: rgb(0 0 0 / 15%);
    border: 1px solid rgb(255 255 255 / 15%);
    padding: .5rem 1rem;
    font-size: 1.25rem;
    border-radius: .5rem;
    min-height: calc(1.5em + 1rem + calc(1px * 2));
    color: var(--white);
}

.contact article .contact-form .btns-form {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
    align-items: center;
}

.nav-temp {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

.nav-hor {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: rgba(255, 255, 255, 40%);
    border: 1px solid rgba(0, 0, 0, 15%);
}

.custom-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    color: var(--white);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: transform 0.3s ease, width 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}


.sidebar-logo {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    background-color: rgba(255, 255, 255, 0.12);
    transition: justify-content 0.3s ease;
}

.sidebar-logo svg,
.sidebar-link svg {
    width: 30px;
    height: 30px;
    fill: var(--white);
}

body.sidebar-collapsed .sidebar-nav .dropdown-icon,
body.sidebar-collapsed .sidebar-nav .sidebar-link span {
    display: none;
}

.sidebar-collapsed .logo-text {
    display: none;
}

.sidebar-logo .logo-text {
    font-size: 1.4rem;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    color: var(--white);
    transition: opacity 0.3s ease;
}

.sidebar-logo a {
    display: flex;
    gap: 10px;
    align-items: center;
}

body.sidebar-collapsed .custom-sidebar {
    width: 80px;
}

body.sidebar-collapsed .sidebar-logo,
body.sidebar-collapsed .sidebar-link {
    justify-content: center;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 20px 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.3s ease;
}

.sidebar-link svg {
    width: 14px;
    height: 30px;
    margin-right: 15px;
    fill: var(--white);
}

.sidebar-link.active,
.sidebar-link:hover {
    background-color: var(--hover-bg);
    border-left: 2px solid rgba(255, 255, 255, 0.5);
}

.sidebar-link span {
    margin-left: 10px;
    transition: opacity 0.3s ease;
}

.sidebar-toggle {
    position: fixed;
    top: 20px;
    left: 270px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 8px;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1100;
    transition: left 0.3s ease;
}

body.sidebar-collapsed .sidebar-toggle {
    left: 80px;
    transition: left 0.3s ease;
}

body.sidebar-expanded .sidebar-toggle {
    left: 270px;
    transition: left 0.3s ease;
}

body.sidebar-collapsed .sidebar-toggle {
    left: 100px;
}

.sidebar-toggle:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.sidebar-toggle svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

.sidebar-item {
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Sidebar Submenu Styling */
.sidebar-submenu {
    max-height: 0;
    flex-direction: column;
    padding-left: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    transition: max-height 0.3s ease, padding 0.3s ease;
    overflow: hidden;
    border-left: 1px solid rgba(0, 0, 0, 0.4);
}

.sidebar-item.expanded .sidebar-submenu {
    max-height: 200px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.sidebar-sublink {
    display: flex;
    padding: 8px 20px;
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.sidebar-sublink:hover {
    background-color: var(--hover-bg);
}

.dropdown-icon {
    margin-left: auto;
    transition: transform 0.3s;
    width: 10px;
    height: 10px;
    fill: var(--white);
}

body.sidebar-collapsed .custom-sidebar:hover {
    width: 250px;
    background-color: rgba(0, 0, 0, .5);
    transition: width 0.3s ease, background-color 0.3s ease;
}

body.sidebar-collapsed .custom-sidebar:hover+.sidebar-toggle {
    left: 270px;
    transition: left 0.3s ease;
}

body.sidebar-collapsed .custom-sidebar:hover .logo-text,
body.sidebar-collapsed .custom-sidebar:hover .sidebar-link span {
    display: inline;
    opacity: 1;
    width: auto;
}

body.sidebar-collapsed .custom-sidebar .logo-text,
body.sidebar-collapsed .custom-sidebar .sidebar-link span {
    opacity: 0;
    width: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, width 0.3s ease;
    /* Smooth fade in and out */
}

body.sidebar-collapsed .main {
    margin-left: 80px;
}

.main {
    margin-left: 250px;
    padding: 20px;
    transition: margin-left 0.3s ease;
    margin-top: 70px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main .main-title {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
    width: 50%;
    max-width: 700px;
}

.main .main-title p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    padding-right: 15px;
    /* Spacing between text and border */
    position: relative;
    /* Required for positioning the ::after element */
}

.main .main-title p::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.7);
}

.main .main-title svg {
    fill: white;
    width: 25px;
}

.main .main-title svg:nth-child(3) {
    width: 20px;
    stroke: white;
}

.main .main-title span {
    color: white;
    font-size: 18px;
}

.main .add-video-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 10px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}


.main .add-video-form p {
    text-align: start;
    width: 100%;
    color: white;
    text-transform: uppercase;
    font-size: 1.25rem;
    font-weight: 600;
}

.main form .form-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.main form .form-title svg {
    fill: white;
}

.main form .form-title p {
    font-weight: 600;
    color: white;
    font-size: 1.25rem;
}

.main .add-video-form form {
    width: 100%;
    padding: 30px;
    background-color: rgb(0 0 0 / 20%);
    box-shadow: 0 .3rem .8rem rgba(0, 0, 0, .12);
    border-radius: 10px;
    border-top: 1px solid rgb(255 255 255 / 15%) !important;
    gap: 10px;
    display: flex;
    flex-direction: column;
}

.input-group.active {
    display: flex;
    transition: .4s ease-in-out;
}

#installation {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}


.main .input-group {
    display: flex;
    gap: 15px;
    width: 100%;
    justify-content: flex-start;
    align-items: center;
}

.main .input-group label {
    display: flex;
    flex-direction: column;
    width: 100%;
    color: rgba(255, 255, 255, 50%);
    font-size: .85rem;
    gap: 3px;
}

.main .input-group label input {
    background-color: rgb(0 0 0 / 15%);
    border: 1px solid rgb(255 255 255 / 15%);
    padding: 10px;
    border-radius: 5px;
    color: white;
    font-size: 1.25rem;
}

.main .input-group label select {
    background-color: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px;
    border-radius: 5px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.25rem;
    appearance: none;
    cursor: pointer;
}

.main .input-group select:focus {
    border-color: rgba(255, 255, 255, 0.3);
    outline: none;
}

.main .input-group input[type="date"]::placeholder,
.main .input-group select::placeholder {
    color: rgba(255, 255, 255, 0.5);
    /* Placeholder color */
}

.main .btns {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 15px;
    margin-top: 20px;
}


.thick-border {
    border-top: 4px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    margin-top: 5px;
    margin-bottom: 10px;
    color: inherit;
}

.main .input-group label select option {
    background-color: #1a1a1a;
    /* Custom background color for options */
    color: rgba(255, 255, 255, 0.85);
    padding: 8px;
}


.btns {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Apply view styling to the buttons and input in btns */
.btns input[type="file"],
.btns button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    background-color: rgb(0 0 0 / 20%);
    color: var(--white);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease-out;
    font-size: 1rem;
    max-width: 150px;
    width: 100%;
    height: 40px;
}

.btns button:hover,
.btns input[type="file"]:hover {
    background-color: rgb(0 0 0 / 30%);
}

.input-img {
    display: none !important;
}

.labelFile {
    display: flex;
    justify-content: center;
    width: 250px;
    gap: 10px;
    height: 40px;
    border: 2px dashed rgba(255, 255, 255, 60%);
    align-items: center;
    text-align: center;
    padding: 10px;
    color: #404040;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.labelFile:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.labelFile svg {
    fill: white;
    width: 25px;
}

.labelFile p {
    font-size: 0.9rem;
    color: #1a1a1a;
}

.shadi {
    color: white;
    font-weight: 300 !important;
    text-transform: none !important;
    text-align: center !important;
    font-size: .8rem !important;
    width: 100%;
}

.flash-message {
    color: #4CAF50;
    text-align: start;
    font-size: 1rem;
    width: 100%;
    font-style: italic;
}

.sidebar-sublink.active {
    background-color: rgba(255, 255, 255, 20%);
    color: #fff;
}

.sidebar-item.expanded .sidebar-submenu {
    display: block;
}

.main .search-filter-bar {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    align-items: center;
    margin-top: 20px;
    gap: 10px;
}

.search-bar {
    width: 100%;
    margin-bottom: 20px;
}

#searchInput {
    background-color: rgb(0 0 0 / 15%);
    border: 1px solid rgb(255 255 255 / 15%);
    padding-right: 2.5rem;
    color: white;
    padding: 10px;
    border-radius: .375rem;
    width: 100%;
    font-size: 1.25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.main .search-filter-bar .filter-group {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
}

.main .search-filter-bar .filter-group .filter-select {
    background-color: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px;
    border-radius: 5px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 1.25rem;
    appearance: none;
    cursor: pointer;
}

.main .search-filter-bar .filter-group .filter-select:focus {
    border-color: rgba(255, 255, 255, 0.3);
    outline: none;
}

.main .search-filter-bar .filter-group .filter-select option {
    background-color: #1a1a1a;
    /* Custom background color for options */
    color: rgba(255, 255, 255, 0.85);
    padding: 8px;
    cursor: pointer;
}


/* Status Toggle Wrapper */
.status-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    /* Space between text and switch */
}

/* Status Text Styling */
.status-text {
    font-size: 1rem;
    font-weight: 600;
    color: #20e73b;
    /* Default green for Active */
}

.toggler {
    width: 72px;
}

.toggler input {
    display: none;
}

.toggler label {
    display: block;
    position: relative;
    width: 72px;
    height: 36px;
    border: 1px solid #d6d6d6;
    border-radius: 36px;
    background: #e4e8e8;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.toggler label::after {
    display: block;
    border-radius: 100%;
    background-color: #c2c2c2;
    content: '';
    animation-name: toggler-size;
    animation-duration: 0.15s;
    animation-timing-function: ease-out;
    animation-direction: forwards;
    animation-iteration-count: 1;
    animation-play-state: running;
}

.toggler label::after,
.toggler label .toggler-on,
.toggler label .toggler-off {
    position: absolute;
    top: 50%;
    left: 25%;
    width: 26px;
    height: 26px;
    transform: translateY(-50%) translateX(-50%);
    transition: left 0.15s ease-in-out, background-color 0.2s ease-out, width 0.15s ease-in-out, height 0.15s ease-in-out, opacity 0.15s ease-in-out;
}

.toggler input:checked+label::after {
    background-color: #50ac5d;
    animation-name: toggler-size2;
}

.toggler input:checked+label::after,
.toggler input:checked+label .toggler-on,
.toggler input:checked+label .toggler-off {
    left: 75%;
}

.toggler .toggler-on,
.toggler .toggler-off {
    opacity: 1;
    z-index: 2;
}

.toggler input:checked+label .toggler-off,
.toggler input:not(:checked)+label .toggler-on {
    width: 0;
    height: 0;
    opacity: 0;
}

.toggler .path {
    fill: none;
    stroke: #fefefe;
    stroke-width: 7px;
    stroke-linecap: round;
    stroke-miterlimit: 10;
}

@keyframes toggler-size {

    0%,
    100% {
        width: 26px;
        height: 26px;
    }

    50% {
        width: 20px;
        height: 20px;
    }
}

@keyframes toggler-size2 {

    0%,
    100% {
        width: 26px;
        height: 26px;
    }

    50% {
        width: 20px;
        height: 20px;
    }
}

.video-cards {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding-inline: 20px;
    margin-bottom: 20px;
}

.video-cards .video-card {
    padding: 20px;
    background-color: rgb(0 0 0 / 20%);
    box-shadow: 0 .3rem .8rem rgba(0, 0, 0, .12);
    border-top: 5px solid rgb(36, 218, 36);
    border-radius: 10px;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    transition: all .3s ease-out;
}

.video-cards .video-card:hover {
    box-shadow: 0 .3rem .8rem .3rem rgba(14, 171, 243, 0.5);
}

.video-cards .video-card img {
    width: 100%;
    max-width: 400px;
}

.video-cards .video-card p {
    color: var(--white);
    text-transform: uppercase;
    font-weight: 500;
    font-size: 1rem;
}

.video-cards .video-card .actions {
    display: flex;
    width: 50%;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.video-cards .video-card .actions svg {
    fill: white;
    padding: 7px;
    border-radius: 50%;
    aspect-ratio: 1/1;
    background-color: rgba(255, 255, 255, 40%);
    transition: .2s ease-out;
    cursor: pointer;
}

.video-cards .video-card .actions svg:hover {
    padding: 5px;
}

.delete {
    background-color: transparent;
    border: none;
}

/* Pagination links wrapper */
.pagination-links {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Ensure pagination buttons display inline */
.pagination {
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
}

/* Basic styling for pagination buttons */
.pagination .page-link {
    color: #ffffff;
    background-color: #333;
    border: none;
    border-radius: 5px;
    padding: 8px 12px;
    text-align: center;
    transition: background-color 0.3s ease;
}

/* Hover effect */
.pagination .page-link:hover {
    background-color: #555;
}

/* Active page styling */
.pagination .page-item.active .page-link {
    background-color: #007bff;
    color: #ffffff;
}

li {
    display: block;
}

.team-card-admin img {
    width: 220px !important;
}

.name-title {
    font-size: 1.25rem !important;
    font-weight: bold !important;
}

.team-card-admin {
    max-width: 350px !important;
    width: 100%;
}

.home-video-card {
    width: 100%;
    max-width: 380px;
}

.home-video-card b {
    font-size: 1rem !important;
}

.home-video-cards {
    justify-content: center;
}

textarea {
    width: 100%;
    background-color: rgb(0 0 0 / 15%);
    border: 1px solid rgb(255 255 255 / 15%);
    padding: .5rem 1rem;
    font-size: 1.25rem;
    border-radius: .5rem;
    min-height: calc(1.5em + 1rem + calc(1px * 2));
    color: var(--white);
}

.helper-table-wrapper {
    width: 100%;
    overflow-x: auto;
    padding-top: 20px;
}

.helper-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    color: var(--white);
}

.helper-table th,
.helper-table td {
    padding: 15px;
    text-align: left;
    background-color: rgb(0 0 0 / 20%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    height: 81px;
    font-size: 1.25rem;
}

.helper-table th {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
}



.helper-img-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.helper-img-wrapper img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.helper-table td a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.2s ease;
}

.helper-table td a:hover {
    color: var(--purple);
}

.helper-table .actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px;
}

.helper-table .actions svg {
    fill: white;
    padding: 5px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

.helper-table .actions svg:hover {
    padding: 4px;
    background-color: rgba(255, 255, 255, 0.3);
}

.status-indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: inline-block;
}

.status-indicator.active {
    background-color: rgb(36, 218, 36);
    /* Green */
}

.status-indicator.inactive {
    background-color: red;
    /* Red */
}

.helper {
    margin-top: 50px;
    margin-bottom: 50px;
}

.helper-card-home {
    margin-top: 30px;
    justify-content: flex-start !important;
    align-items: center !important;
    max-width: 500px !important;
    width: 100%;
    height: 450px;
}

.helper-home-text {
    justify-content: center !important;
    align-items: center !important;
    gap: 10px;
}

.helper-card-home img {
    width: 100%;
    max-width: 200px !important;
    border-radius: 50%;
    aspect-ratio: 1/1;
    object-fit: cover;
}


.default-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    background-color: rgb(0 0 0 / 20%);
    color: var(--white);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease-out;
    font-size: 1rem;
    max-width: 150px;
    width: 100%;
    height: 40px;
}

.--small {
    font-size: 1rem !important;
    width: 100%;
}

.helper-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.template-card {
    width: 250px !important;
    text-align: center;
    height: 357px !important;
}

.template-card img {
    max-width: 200px !important;
    height: 200px !important;
    object-fit: cover;
}

/* Reset button styling inside the form */
.video-link-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 100%;
    text-align: left;
    /* Inherit any existing card styles */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Ensure the card styles are applied when the button is used */
.latest-videos-card-form {
    background-color: rgb(0 0 0 / 20%);
    border-radius: 10px;
    transition: all 0.4s ease-out;
    box-shadow: 0 rgba(0, 0, 0, .4);
    cursor: pointer;
}

.latest-videos-card-form:hover {
    box-shadow: 0 .3rem .8rem .1rem rgba(129, 184, 255, 0.8);
}

.overview-first {
    display: flex;
    width: 100%;
    gap: 30px;
    justify-content: flex-start;
}

.content-overview-box {
    height: 319px;
}

.logout {
    background-color: transparent;
    border: none;
    margin-left: 15px;
    margin-top: 50px;
}

.logout svg {
    width: 25px;
}

.custom-sidebar-container {
    position: relative;
    display: flex;
    flex-direction: column;
}

.custom-sidebar-link {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.3s ease;
}

.custom-sidebar-link svg {
    width: 30px;
    height: 30px;
    margin-right: 15px;
    fill: var(--white);
}

.custom-sidebar-link:hover,
.custom-sidebar-link.active {
    background-color: var(--hover-bg);
    border-left: 2px solid rgba(255, 255, 255, 0.5);
}

.custom-sidebar-parent {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.custom-sidebar-text {
    margin-left: 10px;
    transition: opacity 0.3s ease;
}

@media only screen and (min-width: 1200px) {
    .header-sections {
        display: flex;
    }

    .latest-videos article .latest-videos-cards {
        justify-content: center;
    }

    header article {
        justify-content: space-between;
    }

    header a {
        display: flex;
        justify-content: center;
        align-items: flex-end;
        cursor: pointer;
    }

    .home .home-text img {
        max-width: 300px;
    }

    #animatedText {
        font-size: 3rem;
    }

    .team-title {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .team article .team-cards .team-card .team-card-in .team-card-in-title b {
        font-size: 1.3rem;
        text-align: center;
    }

    .team article .team-cards .team-card .team-card-in .team-card-in-title p {
        font-size: 1rem;
    }

    .team article .team-cards .team-card .team-card-in .social-links svg {
        width: 30px !important;
        padding: 8px;
    }

    .--btn-contact {
        font-size: 1rem;
    }

    .latest-videos article .latest-videos-title {
        flex-direction: row;
    }

    .latest-videos article {
        padding: 0px;
    }

    .green-circle {
        justify-content: flex-end;
    }

    .videos-categ article {
        padding: 0px;
    }

    .videos-categ article .videos-categ-title {
        flex-direction: row;
    }

    .videos-categ article .videos-categ-title {
        align-items: center;
    }

    .contact article {
        padding: 0px;
    }
}



/* Responsive adjustments for smaller screens */

@media only screen and (max-width: 768px) {

    /* Adjust header */
    header article {
        padding-inline: 20px;
    }

    /* Stack team cards vertically */
    .team article .team-cards {
        flex-direction: column;
        gap: 10px;
    }

    /* Smaller font for text elements */
    .home .home-text p,
    #animatedText {
        font-size: 2rem;
    }

    .team article .team-cards .team-card .team-card-in .team-card-in-title b {
        font-size: 1.1rem;
    }

    .--button,
    .btns input[type="file"],
    .btns button {
        max-width: 100px;
    }

    /* Table overflow handling */
    .helper-table-wrapper {
        overflow-x: scroll;
    }

    .helper-table th,
    .helper-table td {
        font-size: 1rem;
        padding: 10px;
    }
}

@media only screen and (max-width: 576px) {

    /* Reduce padding in main container */
    .main {
        margin-top: 10px;
        padding: 10px;
    }

    /* Smaller icon sizes */
    svg {
        width: 35px;
    }

    /* Stack elements in columns */
    .team article {
        padding: 10px;
        gap: 10px;
    }

    /* Simplify buttons */
    .--button {
        padding: 8px;
        font-size: 0.9rem;
    }

    /* Adjust helper description size */
    .helper-description {
        font-size: 0.8rem;
    }

    /* Smaller header adjustments */
    header article {
        padding-inline: 10px;
    }

    /* Smaller padding for cards */
    .latest-videos article {
        padding: 10px;
    }

    /* Reduce size of images in helper-table */
    .helper-img-wrapper img {
        width: 40px;
        height: 40px;
    }

    /* Adjust sidebar for small screens */
    .custom-sidebar {
        width: 200px;
    }

    /* Hide non-essential elements in header on small screens */
    .header-sections {
        display: none;
    }
}

@media only screen and (max-width: 320px) {

    /* Reduce padding and margin on main content */
    .main {
        margin-top: 5px;
        padding: 5px;
    }


    /* Adjust font size for readability */
    .home .home-text p,
    #animatedText,
    .team article .team-cards .team-card .team-card-in .team-card-in-title b {
        font-size: 1.5rem;
    }

    /* Stack helper table for better mobile view */
    .helper-table-wrapper {
        overflow-x: auto;
    }

    .helper-table th,
    .helper-table td {
        font-size: 0.8rem;
        padding: 5px;
    }

    /* Simplify buttons and reduce their padding */
    .--button,
    .btns input[type="file"],
    .btns button,
    .default-btn {
        padding: 5px;
        font-size: 0.75rem;
        max-width: 100px;
    }

    /* Stack cards and sections vertically */
    .team article .team-cards {
        flex-direction: column;
        gap: 5px;
    }

    /* Simplify header */
    header article {
        padding-inline: 5px;
    }

    /* Adjust sidebar */
    .custom-sidebar {
        width: 180px;
    }

    /* Smaller sidebar toggle button */
    .sidebar-toggle {
        left: 60px;
    }

    /* Hide non-essential header elements */
    .header-sections {
        display: none;
    }

    /* Helper description adjustments */
    .helper-description {
        font-size: 0.7rem;
    }

    /* Adjust SVG and icon sizes */
    svg,
    .team article .team-cards .team-card .team-card-in .social-links svg {
        width: 25px;
        padding: 4px;
    }
}

/* Base styling */
.header {
    position: relative;
}

.burger-icon {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    z-index: 1001;
}

.burger-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--white);
    transition: 0.3s;
}

/* Mobile styling for header */
@media (max-width: 768px) {
    .header-sections {
        display: none;
        /* Hide the links by default */
        position: absolute;
        top: 70px;
        right: 0;
        background-color: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        width: 100%;
        padding: 20px;
        gap: 15px;
    }

    .header-sections a {
        color: var(--white);
        font-size: 1.2rem;
        padding: 10px 0;
        text-align: center;
    }

    .burger-icon {
        display: flex;
    }

    .burger-icon.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .burger-icon.open span:nth-child(2) {
        opacity: 0;
    }

    .burger-icon.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Show the menu when active */
    .header-sections.open {
        display: flex;
    }
}

/* Responsive adjustments for the admin dashboard */
@media only screen and (max-width: 992px) {

    /* Stack overview-first section vertically */
    .overview-first {
        flex-direction: column;
        gap: 20px;
    }

    /* Adjust chart boxes to full width */
    .content-overview-box {
        width: 100%;
    }

    /* Center-align text within content boxes for smaller screens */
    .content-overview-box h3 {
        text-align: center;
    }

    /* Adjust padding for better readability */
    .content-overview-box {
        padding: 15px;
    }
}

@media only screen and (max-width: 768px) {

    /* Adjust top-section layout */
    .top-section {
        flex-direction: column;
        gap: 20px;
    }

    /* Align text and images in top-visited-category */
    .top-visited-category h4 {
        text-align: center;
        width: 100%;
    }

    /* Full width for top visited lists */
    .top-visited-box {
        padding: 15px;
    }

    /* Adjust image and text sizes in top-visited items */
    .top-visited-category li img {
        width: 60px;
        height: 35px;
    }

    .top-visited-category li div {
        font-size: 0.9rem;
    }
}

@media only screen and (max-width: 576px) {

    /* Stack layout for all main content and sidebar */
    .main {
        margin-left: 0;
        padding: 10px;
    }

    /* Adjust content-overview-box for small screens */
    .content-overview-box {
        padding: 10px;
    }

    /* Simplify font size for readability */
    .content-overview-box h3,
    .top-visited-box h3,
    .top-visited-category h4 {
        font-size: 1rem;
    }

    /* Adjust size for images in top-visited-category */
    .top-visited-category li img {
        width: 50px;
        height: 30px;
    }

    /* Adjust padding and text alignment */
    .top-visited-box,
    .top-visited-category {
        padding: 10px;
    }

    /* Chart containers full width */
    .overview-first,
    .content-overview-box,
    .top-visited-box {
        width: 100%;
    }
}

@media only screen and (max-width: 420px) {

    /* Full-width for all content */
    .main,
    .overview-first,
    .overview-second,
    .content-overview-box,
    .top-visited-box {
        width: 100%;
        padding: 5px;
    }

    /* Stack overview-first section vertically */
    .overview-first {
        flex-direction: column;
        gap: 10px;
    }

    /* Reduce padding and font size for headers */
    .content-overview-box h3,
    .top-visited-box h3,
    .top-visited-category h4 {
        font-size: 0.8rem;
        margin-bottom: 8px;
        text-align: center;
    }

    /* Smaller charts */
    .content-overview-box canvas,
    .top-visited-box canvas {
        width: 100% !important;
        height: auto !important;
    }

    /* Adjust spacing and font sizes in the lists */
    .top-visited-category {
        width: 100%;
        padding: 3px;
    }

    .top-visited-category li {
        margin-bottom: 8px;
        flex-direction: column;
        align-items: center;
    }

    .top-visited-category li img {
        width: 60px;
        height: 40px;
        margin-bottom: 5px;
    }

    .top-visited-category li div {
        font-size: 0.7rem;
        text-align: center;
    }

    /* Smaller font and padding for helper sections */
    .helper-table-wrapper,
    .helper-table th,
    .helper-table td {
        font-size: 0.7rem;
        padding: 5px;
    }
}

/* Additional adjustments for ultra-small screens (320px and below) */
@media only screen and (max-width: 320px) {

    /* Compact padding and font sizes */
    .content-overview-box h3,
    .top-visited-box h3,
    .top-visited-category h4 {
        font-size: 0.7rem;
        margin-bottom: 5px;
    }

    .top-visited-category li div {
        font-size: 0.6rem;
    }

    /* Ensure buttons and controls are accessible */
    .--button,
    .btns input[type="file"],
    .btns button {
        padding: 5px;
        font-size: 0.7rem;
    }

    /* Adjust header */
    header {
        padding: 5px;
    }
}

.sidebar-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.sidebar-submenu.show {
    max-height: 300px;
    /* Adjust as needed */
}

/* Sidebar Styles */
.custom-sidebar {
    width: 250px !important;
    transition: width 0.3s ease !important;
}

body.sidebar-collapsed .custom-sidebar {
    width: 80px !important;
}

body.sidebar-collapsed .sidebar-logo .logo-text,
body.sidebar-collapsed .sidebar-link span {
    display: none !important;
}

.sidebar-toggle {
    position: fixed !important;
    left: 270px !important;
    transition: left 0.3s ease !important;
}

body.sidebar-collapsed .sidebar-toggle {
    left: 100px !important;
}

.sidebar-submenu {
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.3s ease !important;
}

.sidebar-item.expanded .sidebar-submenu {
    max-height: 300px !important;
    /* or adjust as needed */
}

body.sidebar-collapsed .custom-sidebar-container .custom-sidebar-text {
    display: none;
}

/* Optional: Center the icon in collapsed mode */
body.sidebar-collapsed .custom-sidebar-container {
    justify-content: center;
}

.sidebar-profile {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    width: 90%;
    transition: opacity 0.3s ease;
}

.sidebar-profile .profile-picture {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.sidebar-profile .profile-name {
    color: var(--white);
    font-size: 1rem;
    display: inline;
}

body.sidebar-collapsed .sidebar-profile .profile-name {
    display: none;
    /* Hide name when sidebar is collapsed */
}

body.sidebar-collapsed .sidebar-profile {
    left: 20px;
    /* Adjust positioning for collapsed sidebar */
}

.icon {
    width: 25px !important;
}

.profile-container {
    max-width: 800px;
    margin: auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-control {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.hide-nav {
    margin-left: 0 !important;
}

@media (max-width: 650px) {
    .home .home-text img {
        max-width: 300px;
    }

}