:root {
	--body: #FFFFFF;			/*white color*/
	--text: #000000;
	--main: #E8E8E8;
	--content: #F8F8F8; 		/*gray color*/
	--menu: #FFFFFF; 			/*white color*/
	--gray: #F0F0F0;
	--primary1:black;		/*MediumSpringGreen  color*/
	--primary:#2c2c2c;	/*SpringGreen  color*/
	--dell-blue:#0076CE;
	--blue: #2a2185;
	--white: #fff;
	--gray2: #f5f5f5;
	--black1: #222;
	--black2: #999;	
    --sidebar-bg: #1c1c1c;
  	--menu-bg: #2c2c2c;
  	--text-light: #ffffff;
  	--hover-bg: rgba(255, 255, 255, 0.1);
  	--highlight: #00bcd4;
  
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Ubuntu", sans-serif;
}

html
{
	overflow-x: hidden; /* Prevents horizontal scrolling */
}
body{
	border:0px solid green;
	margin:auto;
	padding:0px;
	background-color: var(--body);
	overflow-x: hidden; /* Prevents horizontal scrolling */
}
.notif-badge {
    background: red;
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 50%;
    margin-left: 6px;
}


.main/* whole visible content code inside this block */
{
	width: 100%;
	max-width: 1824px; /* Or whatever max layout width you prefer */
	margin: 0 auto;
	padding: 0 15px;
	background-color: var(--main);
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* ---------- GENERAL ---------- */
.header {
	background-color: var(--gray);
	padding: 0;
}

.headertop {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 15px;
	height: 60px;
	background-color: var(--primary);
	position: relative;
}

.logo {
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.logo img {
	height: 100%;
	object-fit: contain;
}

.title {
	color: var(--white);
	margin-left: 10px;
	flex-grow: 1;
}

.title h1 {
	font-size: 40px;
	margin: 0;
	color: var(--white);
}

@media (max-width: 768px) {
	.title h1 {
		font-size: 24px;
	}
}

/* ---------- MENU ---------- */
.menu {
	background-color: var(--menu);
	padding: 0 15px;
}

.menu-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
}

.menu-links {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	list-style: none;
	padding: 10px 0;
	margin: 0;
}

.menu-links li a {
	text-decoration: none;
	color: var(--primary);
	padding: 5px 10px;
	transition: background-color 0.3s ease;
}

.menu-links li a:hover,
.menu-links li a.active {
	background-color: var(--primary);
	color: white;
	border-radius: 4px;
}

/* ---------- HAMBURGER ---------- */
.hamburger {
	display: none;
	cursor: pointer;
	flex-direction: column;
	gap: 5px;
}

.hamburger .bar {
	width: 25px;
	height: 3px;
	background-color: white;
	border-radius: 2px;
}

@media (max-width: 768px) {
	.hamburger {
		display: flex;
	}
	.menu {
		display: none;
	}
	.menu.active {
		display: block;
	}
	.menu-bar {
		flex-direction: column;
		align-items: flex-start;
	}
	.menu-links {
		flex-direction: column;
		width: 100%;
	}
}

/* ---------- USER DROPDOWN ---------- */
.user-dropdown {
	position: relative;
	display: flex;
	align-items: center;
	margin-left: auto;
}

.user-icon-img {
	width: 30px;
	height: 30px;
	cursor: pointer;
}

.user-text {
	position: absolute;
	top: 100%;
	right: 0;
	background-color: var(--primary);
	color: white;
	padding: 8px 12px;
	border-radius: 5px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease-in-out;
	z-index: 999;
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 100px;
	white-space: nowrap;
}

.user-dropdown:hover .user-text {
	opacity: 1;
	visibility: visible;
}

.user-text a {
	color: white;
	text-decoration
}


.review-section {
  max-width: 600px; /* Keeps it readable */
  width: 100%;      /* Ensures it doesn't overflow smaller screens */
  margin: 20px auto;
  padding: 20px;
  background-color: #fefefe;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
  font-family: Arial, sans-serif;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .review-section {
    padding: 15px 10px;
  }
}


.review-section h3 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: #333;
}

.star-rating {
  display: flex;
  gap: 8px;
  font-size: 24px;
  justify-content: center;
  margin-bottom: 10px;
}

.star-rating span {
  cursor: pointer;
  color: #ccc;
  transition: color 0.3s;
}

.star-rating span.selected,
.star-rating span:hover,
.star-rating span:hover ~ span {
  color: #ffc107;
}

.star-rating span.selected,
.star-rating span:hover {
  color: #ffc107;
}


#review-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#review-form textarea {
  width: 100%;
  padding: 10px;
  resize: vertical;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

#review-form button {
  background-color: var(--primary); /* #2c2c2c */
  padding: 10px 18px;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#review-form button:hover {
  background-color: #1e1e1e;
}


#message-box {
  margin-top: 10px;
}

#review-list {
  margin-top: 25px;
}


.review-item {
  border-bottom: 0px solid #eee;
  padding: 10px 0;
}

.review-item strong {
  font-size: 16px;
  color: #444;
}

.review-item small {
  color: #777;
  font-size: 12px;
}

.login-required {
  text-align: center;
  padding: 15px;
  background-color: #fff3cd;
  color: #856404;
  border-radius: 4px;
}

.login-required button {
  margin-top: 10px;
  background-color: #ffc107;
  border: none;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 4px;
  color: #212529;
}

/* Responsive Fixes */
@media (max-width: 600px) {
  #review-form button {
    width: 100%;
    align-self: stretch;
  }
}




.courses-text {
	width: 100%;
	max-width: 1824px;
	margin: 20px auto 0 auto;
	padding: 20px 50px;
	font-size: 20px;
	line-height: 1.6;
	color: var(--text);
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .courses-text {
    padding: 15px 20px;
    font-size: 18px;
  }
}


.profile-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0px 20px;
  border-radius: 12px;
  margin-top: 40px;
  max-width: 1824px;
  margin-left: auto;
  margin-right: auto;
}

.profile-image img {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #007bff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  margin-bottom: 30px;
}

.profile-text {
  max-width: 700px;
  text-align: center;
}

.profile-text h2 {
  font-size: 28px;
  color: #222;
  margin-bottom: 10px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.profile-text p {
  font-size: 17px;
  color: #222;
  line-height: 1.8;
}

/* Tablet responsiveness */
@media (max-width: 768px) {
  .profile-image img {
    width: 240px;
    height: 240px;
  }

  .profile-text h2 {
    font-size: 24px;
  }

  .profile-text p {
    font-size: 16px;
  }
}

/* Mobile responsiveness */
@media (max-width: 480px) {
  .profile-image img {
    width: 180px;
    height: 180px;
  }

  .profile-text h2 {
    font-size: 22px;
  }

  .profile-text p {
    font-size: 15px;
  }
}

.achievements-section {
  padding: 40px 20px;
  text-align: center;
  border-radius: 12px;
  margin-top: 0;
  margin-bottom: 40px; /* add some space below */
}

.achievements-section h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #222;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px; /* increased gap for better spacing */
  justify-items: center;
}

.achievement-item img {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 16 / 10; /* maintain a nice ratio */
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.achievement-item img:hover {
  transform: scale(1.03);
}

/* Optional: smaller gap on small screens */
@media (max-width: 480px) {
  .achievements-grid {
    gap: 10px;
  }
}

.container-text {
  width: 100%;
  max-width: 1824px;
  margin: 20px auto 0 auto;
  padding: 20px 50px;
  font-size: 20px;
  text-align: left;
  line-height: 1.6;
  color: var(--text);
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  /* border: none; -- Removed unnecessary border */
}

.container-text-in {
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center;     /* Centers vertically */
  text-align: center;
  /* Optionally constrain width */
  max-width: 1000px;
  margin: 0 auto;
  min-height: 150px; /* needed if vertical center matters */
}

/* Responsive padding for smaller screens */
@media (max-width: 768px) {
  .container-text {
    padding: 15px 20px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .container-text {
    padding: 10px 15px;
    font-size: 16px;
  }
}


.picture-text-section {
  border: 0px solid red; /* No visible border; can be removed */
  width: 30%;            /* Fixed width, good for layouts */
  margin-top: 10px;
}

.picture-container {
  position: relative;
  width: 100%;           /* fills the width of .picture-text-section */
  overflow: hidden;      /* hides overflow, great for image cropping */
  border-radius: 10px;   /* smooth rounded corners */
}

.picture-container img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px; /* match container’s radius */
  object-fit: cover;   /* cover to maintain aspect ratio */
}
@media (max-width: 768px) {
  .picture-text-section {
    width: 100%;
    margin-top: 15px;
  }
}


#main-picture {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

/* When image is loaded, fade and slide it into view */
#main-picture.loaded {
  opacity: 1;
  transform: translateY(0);
}



.overlay-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5); /* semi-transparent black */
  backdrop-filter: blur(6px);     /* adds nice blur effect behind text */
  color: white;
  padding: 20px 30px;
  text-align: left;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
  border-radius: 0 0 10px 10px;
}

.overlay-text.visible {
  opacity: 1;
  transform: translateY(0);
}


.overlay-text h2 {
  font-size: 2rem;
  margin: 0 0 10px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.overlay-text p {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.cta-button {
  background-color: #00b894; /* your green */
  color: white;
  padding: 10px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #019875; /* darker green */
}


/* ===============================
   Carousel Styles (No Background)
================================= */
.review-carousel-container {
  position: relative;
  max-width: 700px;
  margin: 40px auto;
  overflow: hidden;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Review Slides */
.review-carousel-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.review-slide {
  flex: 0 0 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 25px 30px;
  border-radius: 10px;
  min-height: 180px;
}

/* Text Styling */
.review-slide strong {
  font-size: 1.2em;
  display: block;
  color: #333;
  margin-bottom: 5px;
}

.review-slide p {
  color: #555;
  margin: 10px 0;
  line-height: 1.5;
}

/* Navigation Buttons */
.navpane {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.4);
  border: none;
  color: white;
  font-size: 24px;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  transition: background-color 0.3s;
}

.navpane:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.navpane.prev {
  left: 10px;
}

.navpane.next {
  right: 10px;
}

/* Dots (Indicators) */
.dots {
  text-align: center;
  margin-top: 15px;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #333;
}

/* ===============================
   Responsive Tweaks
================================= */
@media (max-width: 768px) {
  .container-text {
    padding: 15px 20px;
  }

  .overlay-text h2 {
    font-size: 1.6rem;
  }

  .overlay-text p {
    font-size: 1rem;
  }

  .cta-button {
    padding: 8px 20px;
    font-size: 0.95rem;
  }

  .navpane {
    font-size: 18px;
    padding: 8px;
  }

  .dot {
    height: 10px;
    width: 10px;
  }

  .review-slide {
    padding: 20px;
    font-size: 0.95rem;
  }

  .review-carousel-container {
    padding: 20px;
  }
}


/* Video Review Section Styles */
.video-review-section {
  margin-top: 40px;
}

/* Container */
.video-carousel-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Carousel Slides */
.video-carousel .video-slide {
  display: none;
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  border-radius: 10px;
  background-color: #000;
}

.video-carousel .video-slide.active {
  display: block;
}

/* Navigation Buttons */
.videopane {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 28px;
  padding: 12px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
}

.videopane.prev {
  left: 15px;
}

.videopane.next {
  right: 15px;
}

/* Dots */
.dots {
  text-align: center;
  margin-top: 15px;
}

.dot {
  height: 14px;
  width: 14px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.dot.active {
  background-color: #333;
}

/* Responsive Video */
@media (max-width: 768px) {
  .video-carousel-container {
    max-width: 95%;
  }

  .navpane {
    font-size: 20px;
    padding: 10px;
  }

  .dot {
    height: 10px;
    width: 10px;
  }

  .video-carousel .video-slide {
    max-height: 300px;
  }
}

/* start video grid section for video review */
.video-grid-section {
  border:0px solid green;
  margin-top: 40px;
}
.video-grid {
  display: grid;
  border: 0px solid green;
  max-width: 1200px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  justify-content: center;
  margin-left: auto;  /* Center horizontally */
  margin-right: auto; /* Center horizontally */
}
.video-item {
  background-color: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 100%; /* ensures video doesn't overflow */
}
.video-item video {
  width: 100%;
  height: auto;
  display: block;
}
/* Optional: improve spacing on small devices */
@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

/* start text review section for video review */
.review-carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 900px;
  margin: auto;
}
.review-carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.review-slide {
  flex: 0 0 100%; /* Only one slide visible */
  box-sizing: border-box;
  padding: 20px;
  background: #f8f8f8;
  border-radius: 8px;
  margin: 0;
  min-height: 150px;
}

.review-slide strong {
  font-size: 1.1em;
}

.review-slide p {
  margin-top: 10px;
}

.textpane {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: none;
  font-size: 1.5em;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.textpane.prev {
  left: 10px;
}

.textpane.next {
  right: 10px;
}

@media (max-width: 768px) {
  .review-slide {
    padding: 15px;
    font-size: 0.95em;
  }

  .textpane {
    font-size: 1.2em;
    padding: 8px;
  }
}
/* End text review section for video review */


.container-text-image {
    width: 100%;
    max-width: 1824px;
    margin: 0px auto;
	margin-top:20px;
    padding: 20px 50px;
	clear:both;
	float:left;
	font-size:20px;
	color: var(--text);
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.text-container {
	border:0px solid black;
	padding:10px 25px;
	width:60%;
	height:auto;
	clear:none;
	float:left;
	color:black;
	background-color:;	
}

.image-container {
	border:0px solid black;
	margin:auto;
	padding:10px;
	width:40%;
	float:left;
	height:auto;
	color:black;
	background-color: none;
}
.image-container img
{
	margin:auto;
	width:100%;
	max-width:600px;
	height:100%;
}

.container-image-text {
    width: 100%;
    max-width: 1824px;
    margin: 0px auto;
	margin-top:20px;
    padding: 20px 50px;
	clear:both;
	float:left;
	font-size:20px;
	color: var(--text);
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.image-container-1st {
	border:0px solid black;
	margin:auto;
	padding:10px;
	width:40%;
	float:left;
	height:auto;
	color:black;
	background-color: none;
}
.image-container-1st img
{
	margin:auto;
	width:100%;
	max-width:600px;
	height:100%;
}

.text-container-2nd {
	border:0px solid black;
	padding:10px 25px;
	width:60%;
	height:auto;
	clear:none;
	float:left;
	color:black;
	background-color: none;	
}

.content-center
{
	border:0px solid black;
	margin:auto;
	padding:30px 45px;
	clear:both;
	float:left;
	width:95%;
	height:auto;
	color:black;
	background-color: var(--content);	
	border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}



/* start of signup-signin form (form-container) -------------------------------------------------------*/
/* General Styles */

.input-group {
    margin-bottom: 12px;
}

.input-group label {
    font-size: 15px;
	margin-bottom:50px;
    color: #333;
}
textarea {
    width: 100%;
    padding: 6px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

/* Style for the textarea */
textarea {
    resize: vertical;
}

.input-group input {
    width: 100%;
    padding: 6px;
    font-size: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.input-group select {
    width: 100%;
    padding: 6px;
    font-size: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

/* Styling for the phone number input */
.iti {
    width: 100% !important;
}

.iti input {
    width: 100% !important;
    padding: 5px;
    font-size: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

/* Adjust the container holding the country code dropdown */
.iti .iti__flag-container {
    margin-right: 10px;
}

.iti__selected-flag {
    width: 50px;
}

.iti__flag {
    margin-right: 5px;
}

/* Submit Button Styling */
/* Base button style */
.submit-btn {
    display: inline-block;
    width: 100%;              /* Fill parent container */
    max-width: 280px;         /* Prevent full screen on large containers */
    padding: 10px 5px;
    margin: 10px auto;
    background-color: #2c2c2c; /* Your primary color */
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

/* Hover effect */
.submit-btn:hover {
    background-color: #1a1a1a;
    transform: scale(1.02);
}

button:focus, a:focus {
  outline: 2px dashed var(--primary);
  outline-offset: 4px;
}



/* Form Box Styling */
.form-container {
    width: 100%;
    max-width: 320px;
    margin: 0px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-box {
    padding: 10px;
}

.form-box h2 {
    text-align: center;
    margin-bottom: 20px;
    color: black;
}

/* Toggle between forms */
.toggle-form {
    color: #3498db;
    text-decoration: none;
}

.toggle-form:hover {
    text-decoration: underline;
}

/* Hide Sign-In form initially */
.sign-in-form {
    display: none;
}

.error
{
	color:red;
}
#error-message {
    font-size: 0.9em;
    margin-top: 5px;
}

/* end of signup-signin form-------------------------------------------------------*/



/*-- start of user dashboard --*/
/*-- google fonts --*/
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap');


/*-- Global Setting --*/

.content
{
	border:0px solid yellow;
	margin:auto;
	padding:10px;
	clear:both;
	float:left;
	width:100%;
	min-height:auto;
	color:black;
	background-color: var(--content);	
}
.contentdb
{
	border:0px solid yellow;
	margin:auto;
	padding:0px;
	clear:both;
	float:left;
	width:100%;
	min-height:auto;
	color:black;
	background-color: var(--content);	
}

.containerdb{
	border:0px solid black;
	clear:both;
	float:left;
	width:100%;
	height:auto;
}

/*-- navigation Setting --*/

/* =================== Layout Wrapper ========================== */
.dashboard-container {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap; /* allows wrapping on small screen */
	width: 100%;
	box-sizing: border-box;
	align-items: flex-start;
}

/* =================== Sidebar ========================== */
.navigationdb {
	flex-shrink: 0;
	width: 300px; /* fixed minimum width so content doesn't cut */
	background: var(--primary);
	border-left: 10px solid var(--primary);
	padding: 20px 0px;
	box-sizing: border-box;
	overflow-y: auto;
  	margin-bottom:10px;
}

/* Sidebar List */
.navigationdb ul {
	width: 100%;
	list-style: none;
	padding: 0;
	margin: 0;
}

.navigationdb ul li {
	width: 100%;
	border-top-left-radius: 30px;
	border-bottom-left-radius: 30px;
	position: relative;
	overflow: hidden;
}

.navigationdb ul li:nth-child(1) {
	margin-bottom: 40px;
	pointer-events: none;
}

.navigationdb ul li:hover,
.navigationdb ul li a:hover {
	background-color: var(--content);
}

.navigationdb ul li:hover a,
.navigationdb ul li:hover a .icon,
.navigationdb ul li:hover a .title {
	color: var(--primary);
}

.navigationdb ul li a {
	display: flex;
	align-items: center;
	padding: 10px 15px;
	text-decoration: none;
	color: var(--white);
}

.navigationdb ul li a .icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 25px;
	font-size: 25px;
	margin-right: 15px;
}

.navigationdb ul li a .title {
	flex-grow: 1;
	font-size: 1.2rem;
	white-space: nowrap;
}

/* Optional collapsed class */
.navigationdb.active {
	width: 80px;
}

/* =================== Main Content ========================== */
.maindb {
  border:0px solid green;
	flex-grow: 1;
	width: calc(100% - 300px); /* fallback in case flex fails */
	padding: 20px;
	box-sizing: border-box;
	overflow-x: auto;
	overflow-y: auto;
	background-color: var(--background);
}

/* =================== Admin Dashboard Extra ========================== */
.maindb .dboverview {
	width: auto;
	margin-top: 10px;
	margin-left: 23px;
}

.maindb .dboverview h1 {
	font-weight: 700;
  margin-bottom:10px;
	font-size: 2.0rem;
}

/* =================== FULL WIDTH FOR ≤ 720PX ========================== */
@media (max-width: 720px) {
	.dashboard-container {
		flex-direction: column;
	}

	.navigationdb {
		width: 100%;
		border-left: none;
		border-top: 10px solid var(--primary);
	}

	.maindb {
		width: 100%;
	}
}


/* ===================Cards========================= */
.cardBox {
	border:0px solid blue;	
	clear:none;
	float:left;
	width:100%;
	padding:0px;
  	padding-bottom:20px;
	display:grid;
	grid-gap:20px;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.cardBox .card {
	border:0px solid green;
	position:relative;
	width:100%;
	background: var(--white);
	padding:10px 30px;
	border-radius:20px;
	display:flex;
	justify-content: space-between;
	cursor:pointer;
	box-shadow:0 7px 25px rgba(1, 0, 0, 0.5);
}

.cardBox .card a {
	border:0px solid green;
	color: var(--white);
}

.cardBox .card .cardName{
	border:0px solid yellow;
	position:relative;
	font-weight:700;
	font-size:1.3rem;
	color: var(--primary);
}
.cardBox .card .number{
	border:0px solid pink;
	color: var(--black);
	font-size: 1.2rem;
	margin-top: 5px;
	font-weight:600;
}

.cardBox .card .iconBx{
	border:0px solid orange;
	float:right;
	margin:auto;
	margin-right:0px;
	font-size: 2.5rem;
	color: var(--black2);
	
}
.cardBox .card:hover{
	background: var(--primary);
}
.cardBox .card:hover .number,
.cardBox .card:hover .cardName,
.cardBox .card:hover .iconBx {
	color: var(--white);
}



/* -------Order Details--------- */

.details {
	border:0px solid red;
	width:100%;
	padding:0px;
	display:grid;
	clear:both;
	float:left;
}
.details .course {
    width: 100%;
    max-width: 320px;
    margin: 0px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.lecture-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.lecture-table th, .lecture-table td {
    padding: 8px 12px;
    border: 1px solid #ddd;
    text-align: left;
}

.lecture-table th {
    background-color: #f4f4f4;
    font-weight: bold;
}

.lecture-table td {
    font-size: 14px;
}

.lecture-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.details .recentOrders {
	
	position:relative;
	display:grid;
	min-height:auto-fit;
	background:var(--white);
	padding:20px;
	box-shadow:0 7px 25px rgba(0, 0, 0, 0.3);
	border-radius:20px;
	border:0px solid;
}

.details .cardHeader {
	display:flex;
	justify-content:space-between;
	align-items:flex-start;
    background: #f2f2f2; 
    padding: 10px;
	
}
/*----------------------------*/
.details .recentOrders .user-info {
	padding:20px;
	border:2px solid red;
	clear:both;
	float:left;
}

/*---------------*/
.cardHeader h2,
.cardHeader h3 {
    font-weight: 700;
	font-size:1.5rem;
    background-image: linear-gradient(90deg, red, green, black);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 3s infinite alternate;
}

@keyframes gradientText {
    0% { background-position: 0%; }
    60% { background-position: 60%; }
    100% { background-position: 100%; }
}
/*-----------*/
.user-manage {
	/*color:#4B9CD3:*/
	border:0px solid green;
	margin:auto;
	margin-top:10px;
	padding:10px;
	width:100%;
	text-align:center;
}
.user-manage .click-btn{
	padding:5px;
	font-size:20px;
}

.divider {
  border: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  border-radius: 2px;
  margin: 40px 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5),
              0 1px 3px rgba(0, 0, 0, 0.1);
}



/*-----------*/


/*---------------*/


.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin-top: 10px;
}

.table-responsive table {
    min-width: 800px; /* Or more if needed based on your columns */
}


.1cardHeader .btn {
	position:relative;
	padding:1px 1px;
	background:var(--primary);
	text-decoration:none;
	color:var(--white);
	border-radius:6px;
}
.details table{
	width:100%;
	border-collapse:collapse;
	margin-top:10px;
	
}
.details table thead td{
	font-weight:600;
	border-bottom:1px solid;
}
.details .recentOrders table tr {
	color:var(--black1);
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.details .recentOrders table tr:last-child {
	border-bottom:none;
	
}
.details .recentOrders table tbody tr:hover{
	background:var(--primary);
	color:var(--white);
}
.details .recentOrders table tr td {
	padding:15px;
}
.details .recentOrders table tr td:nth-child(1) {
	text-align:start;
}
.details .recentOrders table tr td:nth-child(2) {
	text-align:center-left;
}
.details .recentOrders table tr td:nth-child(3) {
	text-align:center-left;
}
.details .recentOrders table tr td:nth-child(4) {
	text-align:center-left;
}
.details .recentOrders table tr td:nth-child(5) {
	text-align:center-left;
}.details .recentOrders table tr td:last-child {
	text-align:center-left;
}
.status {
    padding: 2px 4px;
    color: var(--white);
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
}

/* Payment Statuses */
.status.payment.pending {
    background: orange;
}

.status.payment.inprocess {
    background: blue;
}

.status.payment.paid {
    background: green;
}
.status.payment.refunded {
    background: red;
}

/* Enrollment Statuses */
.status.enrollment.active {
    background: green;
}

.status.enrollment.inactive {
    background: gray;
}

.status.enrollment.pending {
    background: orange;
}
.status.enrollment.inprocess {
    background: blue; 
}
/* user Statuses */
.status.user.active {
    background: green;
}

.status.user.inactive {
    background: gray;
}

.status.user.pending {
    background: orange;
}
.status.user.banned {
    background: red; 
}

/* Messages Coloring For Signup & Login */
.message {
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
    max-width: 600px;
    margin: 20px auto;
}

.success {
    color: #008002;
}

.error, .warning {
    color: red;
}


/*--------------start pagination code------------------*/
html, body {
    
}

.pagination-container {
    text-align: center;
    margin-top: 20px;
    width: 100%; /* Ensures it does not cause overflow */
    overflow: hidden; /* Prevents any unexpected scrolling */
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 10px;
    flex-wrap: wrap; /* Ensures it does not stretch out of bounds */
    max-width: 100%;
}


.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
    transition: background 0.3s;
    font-size: 1.5rem;
    border-radius: 5px;
}

.page-link:hover {
    background-color: #ddd;
}

.page-link.active {
    background-color: #007bff;
    color: #fff;
    font-weight: 700;
}

.page-link ion-icon {
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}



/*--------------end of pagination code------------------*/



.footer {
	width: 100%;
	background-color: var(--gray);
}

.footer-up {
	width: 100%;
	min-height: 70px;
	background-color: var(--primary);
	color: white;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 10px;
  	padding-top: 30px;
  	padding-bottom: 30px;
    justify-content: space-around;
  	flex-wrap: wrap;
  	gap: 20px;
}

.footer-section {
  min-width: 200px;
}

.footer-section h3 {
  font-size: 1.2em;
  margin-bottom: 15px;
  color: white;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin: 8px 0;
}

.footer-section ul li a {
  color: #ddd;
  font-weight: 500;
  font-size: 16px;
  padding: 4px 6px;
  text-decoration: none;
  transition: color 0.3s;
  border-radius: 4px;
}

.footer-section ul li a:hover
{
	background-color: white;
	color: var(--primary);
	
}

/* Responsive */
@media (max-width: 768px) {
  .footer-up {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.footer-bottom {
	width: 100%;
	background-color: var(--primary1);
	color: white;
	text-align: center;
	font-size: 14px;
	padding: 10px 0;
}


.footer-bottom a
{
	text-decoration:none;
	color: white;
	
}
.footer-bottom a:hover
{
	background-color: white;
	color: var(--primary);
	
}


h1 {
	font-family:Georgia;
	font-size:22px;
	color: var(--primary);
}

 a
{
	text-decoration:none;
	color: Blue;
	
}