body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
}

.sidebar {
    background: white;
    padding: 20px;
    border-radius: 10px;
    position: fixed;
    top: 125px;
    left: 20px;
    width: 280px;
    height:50vh;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
}

.sidebar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.sidebar h4,
.sidebar p {
    text-align: center;
}

.main-content {
    margin-left: 320px;
    padding: 30px;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .sidebar {
        top: 60px;
        right: -280px;
        left: auto;
        height: calc(100vh - 60px);
        transition: right 0.3s ease-in-out, opacity 0.3s ease-in-out;
        opacity: 0;
    }

    .sidebar.active {
        right: 0;
        opacity: 1;
        transition-delay: 0.2s;
    }

    .main-content {
        margin-left: 0;
        padding: 20px;
        
    }
}

@media (max-width: 768px) {
    .main-content {
        margin-left: 0;
        padding: 20px;
      
    }
}

p {
    font-size: 14px;
}

.profile-picture-container {
    position: relative;
    text-align: center;
    margin-bottom: 20px;
}

.profile-picture-wrapper {
    position: relative;
    display: inline-block;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #f0f0f0;
    /* Fallback background */
    overflow: hidden;
}

.profile-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    color: #035a76;
    /* Match your theme color */
}

.camera-icon {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: #035a76;
    /* Match your theme color */
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.camera-icon:hover {
    background-color: #024a66;
    /* Darker shade on hover */
}

.camera-icon i {
    color: white;
    font-size: 16px;
}

.hero-section {
    position: relative;
    background: url('../images/home.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 60px 20px;
    /* border-radius: 10px; */
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-section * {
    position: relative;
    z-index: 1;
}

.hero-section input {
    width: 50%;
    padding: 10px;
    border-radius: 5px;
    border: none;
}

.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
}

.card-custom {
    /* color: rgba(220, 219, 219, 0.5); */
    color: black;
    padding: 20px;
    border-radius: 10px;
    transition: 0.3s ease-in-out;
}

.card-custom:hover {
    transform: translateY(-5px);
}

#hero {
    height: 100px;
}

#hero h6 {
    font-size: 22px;
}

#hero input {
    height: 20px;
    width: 400px;
}

#expired-videos {
    padding: 60px 20px;
    background-color: #FFF;

}

.card {
    background-color: #FFF;

    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
    cursor: pointer;

}

.play-button {
    opacity: 0;
    width: 30px;
    height: 30px;
}

.card:hover .play-button {
    opacity: 1;

}

.card-custom:hover .play-button {
    opacity: 1;

}

.card-body {
    padding: 20px;
}

.video-thumbnail {
    width: 100%;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.video-thumbnail a {
    display: flex;
    justify-content: center;
    align-items: center;
    /* background: rgba(0, 0, 0, 0.5); */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transition: background 0.3s ease-in-out;
}

.video-thumbnail a:hover {
    background: rgba(0, 0, 0, 0.7);
}

.video-thumbnail img {
    width: 40px;
    height: 40px;
}

.expired-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #d9534f, #c9302c);
    color: white;
    font-weight: bold;
    padding: 8px 0;
    text-transform: uppercase;
    font-size: 14px;
    border-radius: 20px;
}

.card-title {
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
    color: #035a76;
}

.card-text {
    font-size: 9px;
    color: #555;
    letter-spacing: 0.5px;
    color: #035a76;
}

.redeem-btn {
    margin-top: 10px;
    padding: 10px 15px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 5px;
    background-color: #74bd54;
    transition: background 0.3s ease-in-out;
}

.redeem-btn:hover {
    background-color: rgb(56, 118, 30);
    color: white;
}

.home-input {
    border-color: none !important;
}

.badgebackground {
    background-color: #76ba51;
    font-size: 11px;
}

hr {
    color: #035a76;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 600;
    text-align: left;
    color: #035a76;
}

