body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
}









.footer {
    background-color: #1a1a1a;
    color: white;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.footer-text {
    margin: 5px 0;
}



















/*Login */
.main-content {
    padding: 20px;
    box-sizing: border-box;
}

.left-column,
.right-column {
    width: 100%;
    margin-bottom: 20px;
}
/*
@media (min-width: 768px) {
    .main-content {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: flex-start;
    }

    .left-column,
    .right-column {
        width: 48%;
    }
}

*/

.slogan {
    font-weight: bold;
    font-size: 20px;
}

.signup-form {
    width: 100%;
    max-width: 400px;
    background-color: #f2f2f2;
    padding: 20px;
    border-radius: 10px;
    box-sizing: border-box;
}

.signup-form label {
    display: block;
    margin-bottom: 5px;
}

.signup-form input {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.signup-form button {
    width: 100%;
    background-color: #3498db;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-sizing: border-box;
}




@media (min-width: 768px) {
    .empty-column {
        width: 30%;
    }
}


#shinyText {
    background: linear-gradient(45deg, #ff00cc, #3333cc);
    -webkit-background-clip: text;
    color: transparent;
    cursor: pointer;
    transition: color 0.3s ease-in-out;
}

#shinyText:hover {
    color: #ff00cc; /* Change color on hover */
}















/* Updated Style for Video Thumbnails Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.video-thumbnail {
    position: relative;
    text-align: center;
    padding: 10px;
    background-color: #f4f4f4;
    border-radius: 8px;
    overflow: hidden; /* Ensure the embed doesn't overflow */
}

.video-thumbnail .video-embed {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
}

.video-thumbnail iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Rest of the styles remain the same */









/* Ebook Thumbnails Grid */
.ebook-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.ebook-thumbnail {
    position: relative;
    text-align: center;
    padding: 10px;
    background-color: #f4f4f4;
    border-radius: 8px;
    overflow: hidden; /* Ensure the embed doesn't overflow */
}

.ebook-thumbnail .ebook-embed {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
}

.ebook-thumbnail iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}








/* Account Information Styles */


.center-align-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.account-info-box, .payment-info-box  {
    width: 80%; /* Adjust the width as needed */
    margin: 20px auto; /* Center the container horizontally */
    border: 1px solid #ccc; /* Add a border for visual separation */
    padding: 20px; /* Add some padding for better readability */
}

.recharge-button-container {

    max-width: 200px; /* Adjust the width as needed */
    margin: 0px auto; /* Center the container horizontally */
    padding: 20px; /* Add some padding for better readability */
}

.recharge-button:hover {
    background-color: #2980b9;
}















/* Add User Form Styles */
.add-user-form {
    max-width: 400px;
    margin: auto auto;
    padding: 20px;
   /* border: 1px solid #ccc; */
    border-radius: 8px;
    
   
}

.add-user-form h2 {
    text-align: center;
    color: #333;
}

.add-user-form form {
    display: flex;
    flex-direction: column;
}

.add-user-form label {
    margin-bottom: 8px;
    color: #333;
}

.add-user-form input,
.add-user-form select {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.add-user-form button {
    background-color: #3498db;
    color: #fff;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.add-user-form button:hover {
    background-color: #2980b9;
}




/* Change Password Form Styles */
.change-password-form {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;

}

.change-password-form h2 {
    text-align: center;
    color: #333;
}

.change-password-form form {
    display: flex;
    flex-direction: column;
}

.change-password-form label {
    margin-bottom: 8px;
    color: #333;
}

.change-password-form input {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.change-password-form button {
    background-color: #3498db;
    color: #fff;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.change-password-form button:hover {
    background-color: #2980b9;
}













/* styles_addcontent.css */



/* Content container styles */
.main-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
   /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
}

/* Form styles */
form {
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    gap: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
}

input,
select,
textarea {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 4px;
}

button {
    background-color: #3498db;
    color: #fff;
    padding: 12px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

button:hover {
    background-color: #2980b9;
}

/* Responsive styles */
@media screen and (max-width: 600px) {
    /* Adjust styling for smaller screens if needed */
}




/* admin panel page */

main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0px;
    padding:20px;
    
}

.option-box {
    margin: 10px;
    padding: 10px;
    position: relative;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.option-box:hover {
    transform: scale(1.05);
}

.option-box img {
    width: 100%;
    height: auto;
    border-radius: 10px 10px 10px 10px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.option-box:hover .overlay {
    opacity: 1;
}


/*supertext for sup text*/
.supertext{
font-size: 12px;
font-weight: bold;
}



/*css for welcome page*/




.welcomepage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
}

.category-box {
    position: relative;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
    background-size: cover;
    display: flex;
    flex-direction: column; /* Stack text on top of the image */
    padding:60px;
}

.category-box:hover {
    transform: scale(1.05);
}


.overlayw {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;

}




/* Set different gradients for each category */
.category-box.category1 {
    background: linear-gradient(45deg, #FF6B6B, #56CCF2);
}

.category-box.category2 {
    background: linear-gradient(45deg, #FC00FF, #00DBDE);
}

.category-box.category3 {
    background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045);
}

.category-box.category4 {
    background: linear-gradient(45deg, #9D50BB, #6E48AA);
}

.category-box.category5 {
    background: linear-gradient(45deg, #FA8BFF, #2BA1C0);
}

.category-box.category6 {
    background: linear-gradient(45deg, #45B649, #DCE35B);
}

/* Media query for larger screens (PC) */
@media screen and (min-width: 768px) {
    .category-box {
        /* Increase the box size for larger screens */
        padding:60px;
        margin:10px;
    }
}







/*VIDEO FRONTEND*/
.video-thumbnail {
    position: relative;
    text-align: center;
    padding: 10px;
    background-color: #f4f4f4;
    border-radius: 8px;
    overflow: hidden; /* Ensure the embed doesn't overflow */
}

.video-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 0px;
}

.video-thumbnail h3 {
    margin-bottom: 20px;
}

.icon-container {
    display: flex;
    justify-content: left;
    align-items: center;
}

.likes-icon, .shares-icon, .saves-icon {
    font-size: 18px;
    color: #333;
    margin-right: 5px;
}

/* Responsive styles for the eBook grid */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }

    .video-thumbnail {
        margin-bottom: 20px;
    }
}

/* Additional responsive styles if needed for smaller screens */
@media (max-width: 480px) {
    .video-thumbnail {
        padding: 5px;
    }

    .video-thumbnail img {
        border-radius: 4px;
    }
}

/* Expand the eBook grid on larger screens */
@media (min-width: 1200px) {
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}








/*EBOOK FRONTEND*/
.ebook-thumbnail {
    position: relative;
    text-align: center;
    padding: 10px;
    background-color: #f4f4f4;
    border-radius: 8px;
    overflow: hidden; /* Ensure the embed doesn't overflow */
}

.ebook-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 0px;
}

.ebook-thumbnail h3 {
    margin-bottom: 20px;
}

.icon-container {
    display: flex;
    justify-content: left;
    align-items: center;
}

.likes-icon, .shares-icon, .saves-icon {
    font-size: 18px;
    color: #333;
    margin-right: 5px;
}

/* Responsive styles for the eBook grid */
@media (max-width: 768px) {
    .ebook-grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }

    .ebook-thumbnail {
        margin-bottom: 20px;
    }
}

/* Additional responsive styles if needed for smaller screens */
@media (max-width: 480px) {
    .ebook-thumbnail {
        padding: 5px;
    }

    .ebook-thumbnail img {
        border-radius: 4px;
    }
}

/* Expand the eBook grid on larger screens */
@media (min-width: 1200px) {
    .ebook-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}








/*header*/
/* Add this CSS to your style.css file */
/* Add this CSS to your style.css file */

body {
    margin: 0;
    font-family: 'Arial', sans-serif;
}

.header {
    background-color: #1a1a1a;
    color: #fff;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logoh {
    font-size: 24px;
}

.nav-links {
    display: flex;
}

.buttonh {
    text-decoration: none;
    color: #fff;
    padding: 10px;
    margin: 0 0px;
    background-color: transparent;
    border: none;
    border-radius: 10px;
    transition: background-color 0.3s;
}

.buttonh:last-child {
    margin-right: 10px; /* Remove right margin for the last button */
}

.buttonh:hover {
    background-color: #333;
}

/* Add padding to the body to prevent content from being hidden behind the fixed header */
body {
    padding-top: 58px; /* Adjust this value based on your header height */
}

/* Styles for Curvy Subpart with Violet Gradient Background */
.curvy-subpart {
    background: linear-gradient(to right, #2e2be2, #9932cc);
    
    padding: 10px;
    text-align: center;
}

.welcome-link {
    text-decoration: none;
    display: inline-block;
    color: #fff; /* Adjust text color for better visibility on the gradient background */
}

.logout-button {
    text-decoration: none;
    color: #9932cc; /* Adjust text color for better visibility on the gradient background */
    background-color: #ddd;
    padding: 10px 20px;
    border-radius: 10px;
    margin-top: 0px;
    display: inline-block;
    transition: background-color 0.3s;
}

.logout-button:hover {
    background-color: #ccc;
}




/*About*/
/* CSS for About.php page */

.about-container {
    max-width: 800px;
    margin: 0 auto;
}

.language-tabs {
    display: flex;
    margin-bottom: 20px;
}

.tab {
    cursor: pointer;
    padding: 10px;
    margin-right: 10px;
    border: 1px solid #ccc;
    background-color: #f4f4f4;
}





/* Style for About Page */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.about-text {
    margin-bottom: 20px;
}

/* Add this to your existing styles or create a new CSS file */

.faq-section {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #f4f4f4;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.toggle-icon {
    font-size: 20px;
    font-weight: bold;
}

.faq-answer {
    display: none;
    padding: 15px;
    margin-top: 10px;
    background-color: #e0e0e0;
    border-radius: 8px;
    line-height: 1.6;
}

.faq-item.active .faq-question {
    background-color: #d1d1d1;
}

.faq-item.active .faq-answer {
    display: block;
}







/* Add this CSS to your existing styles.css file or create a new one */

.plans-content {
    display: flex;
    justify-content: center;
    padding: 20px;
    gap: 20px;
    margin: 20px auto;
    max-width: 1200px; /* Set a maximum width for centering on larger screens */
}

.plan {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    display: flex; /* Center child elements */
    flex-direction: column; /* Stack child elements vertically */
    align-items: center; /* Center child elements horizontally */
    justify-content: center; /* Center child elements vertically */
}

.price {
    font-size: 1.2em;
    font-weight: bold;
    margin: 10px 0;
}

.features {
    list-style-type: none;
    padding: 0;
}

.features li {
    margin: 5px 0;
}

.subscribe-button {
    background-color: #3498db;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.tick-icon {
    color: green;
    margin-right: 5px;
}

.cross-icon {
    color: red;
    margin-right: 5px;
    font-size: 14px; /* Adjust the font size as needed */
}



/* Responsive styles */
@media (max-width: 768px) {
    .plans-content {
        flex-direction: column; /* Stack columns on smaller screens */
    }
}





/*subscribe page*/
.subscribe-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align:center;
}

form {
    
}
/*
input, button {
    padding: 10px;
    font-size: 16px;
    max-width: 300px;
}
*/
#error-message {
    margin-top: 10px;
    font-size: 14px;
    color: red;
}



/*subproc page*/
.recharge-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    
}


/*contact page*/
.contact-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    
}

.map-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding-top: 75%; /* Adjust this value based on your preferred aspect ratio */
}

.map-container iframe {
    border: 0;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
