* {
  box-sizing: border-box;
}

fieldset {
	margin:0px;
	padding:0px;
	border:none;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f5f5;
  color: #333;
  display: flex;
  position: relative;
  overflow-x: hidden;
}

button, input, textarea, select {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin:0px;
}

/* Mobile Header */
.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 10px 15px;
  z-index: 1000;
  border-bottom: 1px solid #EEE;
  align-items: center;
  justify-content: space-between;
}

.mobile-header .logo {
  display: flex;
  align-items: center;
}

.mobile-header .logo img {
  width: 35px;
  margin-right: 8px;
}

.mobile-header .logo h2 {
  font-size: 27px;
  color: #8000d7;
  margin: 0;
  line-height: 1.1;
  
  background-image: linear-gradient(to right, #8500B2, #8000d7); /* Adjust colors as needed */
  -webkit-background-clip: text; /* For Safari/Chrome */
  background-clip: text;
  color: transparent; /* Make the text transparent so the background gradient shows through */
  font-weight: bold; /* Example font weight */
}

.mobile-header .logo span {
  font-size: 7px;
  font-style: italic;
  color: #000;
  display: block;
}

.mobile-header .icons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.mobile-header .icons i {
  font-size: 24px;
  color: #333;
  cursor: pointer;
  font-weight: bold;
}

/* Sidebar */
.sidebar {
  width: 250px;
  background: #ffffff;
  border-right: 1px solid #EEE;
  padding: 12px 20px;
  position: fixed;
  height: 100vh;
  overflow: visible;
  overflow-y: scroll;
  transition: transform 0.3s ease;
  z-index: 1001;
}

.desktop-search-container {
	position: relative;
	z-index: 100;
}

.desktop-search-dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 1000;
	background: #fff;
	box-shadow: 0 5px 15px rgba(0,0,0,1);
	border:1px solid #DEDEDE;
	border-radius: 0 0 10px 10px;
	display: none;
	/* Scrollbar removal */
	overflow: hidden;
	max-height: none !important;
}

.desktop-search-dropdown ul {
	/* Scrollbar removal for all browsers */
	overflow: hidden;
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* IE/Edge */
	max-height: none !important;
}

/* Chrome/Safari/Opera specific scrollbar hiding */
.desktop-search-dropdown ul::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}

/* Show suggestions when input is focused */
.search-input:focus + .desktop-search-dropdown,
.desktop-search-dropdown:hover {
	display: block !important;
}
  

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  display: none;
}

.sidebar .logo {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.sidebar .logo img {
  width: 45px;
  margin-right: 10px;
}

.sidebar .logo h2 {
  font-size: 27px;
  color: #8000d7;
  margin: 0;
  line-height: 1.1;
  width: calc(100% - 60px);

  background-image: linear-gradient(to right, #8500B2, #8000d7); /* Adjust colors as needed */
  -webkit-background-clip: text; /* For Safari/Chrome */
  background-clip: text;
  color: transparent; /* Make the text transparent so the background gradient shows through */
  font-weight: bold; /* Example font weight */
}

.sidebar .logo span {
  font-size: 11px;
  font-style:italic;
  padding-right:20px;
  color: #000;
  display: block;
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  position: relative;
}

.sidebar nav a {
  text-decoration: none;
  color: #333;
  padding: 10px;
  margin: 3px 0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  font-size: 15px;
}

.sidebar nav a i {
  margin-right: 10px;
  width: 24px;
  text-align: center;
  font-size: 25px;
}

.sidebar nav a:hover {
  background-color: #f0f0f0;
}

.sidebar nav a.live-feed {
  background-color: #e53935;
  color: #fff;
}

.sidebar nav a.live-feed:hover {
  background-color:#C00;
}

/* Search field in sidebar for non-mobile */
.sidebar .search-field {
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 12px 15px;
  margin-bottom: 3px;
  position: relative;
}

.sidebar .search-field i {
  color: #000;
  margin-right:5px;
  font-size: 22px;
}

.sidebar .search-field input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 15px;
}

.sidebar .search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 100;
  margin-top: 5px;
  display: none;
  max-height: 300px;
  overflow-y: auto;
}

.sidebar .search-suggestions h3 {
  color: #000;
  font-size: 14px;
  padding: 10px 15px;
  margin: 0;
  border-bottom: 1px solid #EEE;
}

.sidebar .search-suggestions ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar .search-suggestions li {
  padding: 10px 15px;
  border-bottom: 1px solid #F7F7F7;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.sidebar .search-suggestions li::before {
  content: "■";
  color: #8000d7;
  margin-right: 10px;
  font-size: 12px;
}

.sidebar .search-suggestions a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
}

.sidebar .search-suggestions li:hover a {
  color: #8000d7;
}

/* Discovery button specific styles */
.sidebar nav a.active {
  background-color: #8000d7;
  color: white;
  border:none;
}

.sidebar nav a.active i {
  color: white;
}

.auth-buttons {
  margin-top: 30px;
}

.auth-buttons button {
  width: 100%;
  padding: 13px;
  margin-bottom: 9px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 15px;
}

.sidebar nav a.active:hover {
  background-color: #6a00a1;
}

.btn-login, .btn-signup {
  border: 2px solid #8000d7;
  background: white;
  padding: 12px;
  color: #8000d7;
}

.btn-login:hover, .btn-signup:hover {
  background-color: #f5e6ff;
}

/* Add this to your existing CSS */
.more-dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  flex-direction: column;
  padding-left: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.more-dropdown.active .dropdown-menu {
  display: flex;
}

.more-toggle {
  display: flex;
  align-items: center;
  position: relative;
}

.sidebar nav .dropdown-arrow {
  margin-left: auto;
  font-size: 1em;
  transition: transform 0.3s ease;
}

.more-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

/* Search overlay */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  z-index: 1002;
  display: none;
  flex-direction: column;
  padding: 15px 20px 20px;
}

.search-overlay .search-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.search-overlay .back-btn {
  font-size: 24px;
  margin-right: 15px;
  color: #333;
  cursor: pointer;
}

.search-overlay .search-header h2 {
  font-size: 18px;
  margin: 0;
}

.search-overlay .search-container {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.search-overlay .search-field {
  flex: 1;
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 12px 15px;
}

.search-overlay .search-field i {
  color: #000;
  margin-right: 10px;
  font-size: 18px;
}

.search-overlay .search-field input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 16px;
}

.search-overlay .search-btn {
  background: #8000d7;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 13px 20px;
  margin-left: 10px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
}

.search-overlay .suggestions {
  display: block;
}

.search-overlay .suggestions h3 {
  color: #000;
  font-size: 16px;
  margin-bottom: 15px;
}

.search-overlay .suggestions ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.search-overlay .suggestions li {
  padding: 12px 0;
  border-bottom: 1px solid #EEE;
  display: flex;
  align-items: center;
}

.search-overlay .suggestions li::before {
  content: "■";
  color: #8000d7;
  margin-right: 10px;
  font-size: 12px;
}

.search-overlay .suggestions a {
  color: #333;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.5;
}

/* Live Content Container */
.live-container {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 5px 10px;
  margin-bottom: 30px;
  position: relative;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: #555;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  color: white;
  font-size: 16px;
  border: none;
  opacity: 0.9;
  margin: 0 15px;
}

.carousel-control.left {
  left: 0;
  display: none;
}

.carousel-control.right {
  right: 0;
}

/* Main Content */
.main {
  margin-left: 250px;
  padding: 20px;
  width: calc(100% - 250px);
  transition: all 0.3s ease;  
}

.section-title {
  font-weight: bold;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-title span {
  color: #e53935;
  display: flex;
  align-items: center;
}

.section-title span i {
  margin-right: 8px;
}

.section-title a {
  font-size: 14px;
  text-decoration: none;
  color: #8000d7;
}

.live-carousel {
  display: flex;
  overflow-x: hidden;
  gap: 12px;
  padding: 5px 15px;
  scroll-behavior: smooth;
}

.live-card {
  width: 180px;
  min-width: 180px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: filter 0.3s ease;
  flex-shrink: 0;
}

.live-card:hover img {
  filter: brightness(0.85);
}

.live-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
  transition: filter 0.3s ease;
}

.live-card .overlay {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #e53935;
  color: white;
  padding: 2px 8px 2px 6px;
  font-size: 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  font-weight: bold;
}

.live-card .overlay::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: white;
  border-radius: 50%;
  margin-right: 6px;
}

.live-card .viewers {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,0.7);
  color: white;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 20px;
}

.live-card .info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px;
  background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.5));
  color: white;
  display: flex;
  align-items: center;
}

.live-card .info img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  margin-right: 8px;
  object-fit: cover;
  border: 2px solid white;
}

.live-card .info-text {
  flex: 1;
  height: auto;
  min-width: 0;
}

.live-card .info-text .title {
  font-weight: bold;
  font-size: 12px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-card .info-text .subtitle {
  font-size: 10px;
  opacity: 0.9;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Category Tabs */
.category-tabs-container {
  position: relative;
  margin: 20px 0 30px -20px;
  padding: 17px 40px;
  background-color: #8000d7;
  border-radius: 0 8px 8px 0;
  width: calc(100% + 20px);
}

.category-tabs {
  display: flex;
  overflow-x: hidden;
  gap: 8px;
  scroll-behavior: smooth;
}

.category-tabs button {
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  background-color: rgba(255,255,255,0.15);
  cursor: pointer;
  font-size: 13px;
  white-space: nowrap;
  color: white;
  transition: all 0.2s ease;
}

.category-tabs button:hover {
  background-color: rgba(255,255,255,0.25);
}

.tabs-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  color: #8000d7;
  font-size: 14px;
  border: none;
}

.tabs-control.left {
  left: 8px;
  display: none;
}

.tabs-control.right {
  right: 8px;
}

/* Video Grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}

.video-card {
  border-radius: 10px;
  overflow: hidden;
  transition: filter 0.3s ease;
  position: relative;
  margin-bottom:10px;
}

.video-card:hover img {
  filter: brightness(0.85);
}

.video-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: filter 0.3s ease;
  border-radius: 10px;
}

/* This targets the first image inside each video-card */
.video-card img:first-of-type {
  height: 300px;
}

.video-card .likes {
  position: absolute;
  bottom: 55px;
  left: 10px;
  color: white;
  font-size: 12px;
  display: flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 20px;
}

.video-card .likes i {
  margin-right: 5px;
}

.video-card .meta {
  display: flex;
  align-items: center;
  font-size: 13px;
  margin-top: 12px;
}

.video-card .meta img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 8px;
  object-fit: cover;
}

.video-card .meta-text {
  flex: 1;
  min-width: 0;
}

.video-card .meta-text .institution {
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-card .meta-text .views {
  color: #777;
  font-size: 12px;
}

.verified-badge {
  display: inline-block;
  width: 14px;
  height: 14px;
  background-color: #1da1f2;
  border-radius: 50%;
  margin-left: 4px;
  position: relative;
  flex-shrink: 0;
}

.verified-badge::after {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: white;
  font-size: 8px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.sidebar-footer {
  padding: 0px;
  margin-top:10px;
  text-align: left;
  color: #999;
  font-size: 12px;
  border-top: 1px solid #eee;
}

.search-results-header h2 {
	margin-bottom:8px;
	line-height:22px;
}

.search-results-header h2 span {
	font-weight:normal;
}

.search-meta span {
	font-size:14px;
}

.results-section h3, .related-searches h3 {
	margin-top:30px;
	margin-bottom:10px;
}

.results-section h3 .see-all, .related-searches .search-tags a {
	font-size:14px;
	float:right;
	font-weight:normal;
	text-decoration: none;
	color: #8000d7;
}

.related-searches .search-tags a {
	font-size:16px;
	float:none;
	margin-right:15px;
	line-height:25px;
}

.results-section h3 .see-all:hover, .related-searches .search-tags a:hover {
	text-decoration:underline;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  padding:0px;
  overflow:auto;
}

.result-grid .live-card {
  width: 200px;
  min-width: 200px;
}

.result-grid .live-card img {
  height: 150px;
}

.result-grid .live-card .info img {
  width: 28px;
  height: 28px;
}

.search-tabs button {
  padding: 6px 20px;
}

/* Main About Page Layout */
.main_about {
  background: #FFF;
  padding:0px;
}

/* Hero Section */
.about-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: url('../images/p1.jpg') center/cover no-repeat;
  height: 260px;
  color: white;
  position: relative;
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 0;
}

.about-hero-content {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 40px;
  position: relative;
  z-index: 2;
}

.about-hero h1 {
  font-size: 32px;
  font-weight: bold;
  margin: 0;
}

.about-hero p {
  font-size: 14px;
  max-width: 260px;
  text-align: right;
  margin: 0;
}

/* Mission Section */
.about-mission {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 40px;
  flex-wrap: wrap;
}

.about-mission h2 {
  font-size: 24px;
  font-weight: bold;
  margin: 0;
}

.about-mission p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

/* Stats Section */
.about-stats {
  display: flex;
  justify-content: space-around;
  text-align: center;
  background: #fbefff;
  padding: 40px 20px;
}

.about-stats h3 {
  color: #8000d7;
  font-size: 28px;
  margin: 0 0 5px;
}

.about-stats p {
  font-size: 14px;
  margin: 0;
}

/* Mission Driven Section */
.mission-driven {
  text-align: center;
  padding: 50px 20px;
}

.mission-driven h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.mission-driven p {
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.mission-left,
.mission-right {
  flex: 1;
  min-width: 280px;
}

.mission-left h2 {
  font-size: 24px;
  font-weight: bold;
  margin: 0;
}

.mission-right p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

/* Who We Are / What Makes Us Different */
.about-duo-section {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 50px 40px;
  align-items: center;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.about-image {
  flex: 1;
  min-width: 300px;
}

.about-image img {
  width: 100%;
  border-radius: 4px;
}

/* Our Services */
.about-services {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 50px 40px;
  align-items: center;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.service-item i {
  color: #8000d7;
  font-size: 20px;
  margin-top: 4px;
}

.service-item p {
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

/* FAQ Section */
.faq-section {
  background: #fafafa;
  padding: 60px 40px;
}

.faq-section h2 {
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
}

.faq-section p.sub {
  text-align: center;
  font-size: 14px;
  margin-bottom: 40px;
  color: #555;
}

.faq {
  max-width: 800px;
  margin: 0 auto 0px;
  border-bottom: 1px solid #EEE;
  padding: 16px 0;
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
}

.faq-content {
  margin-top:10px;
}

.faq .icon-circle {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #999;
  background-color: #fff;
  color: #666;
  font-size: 14px;
  font-weight:bold;
  transition: all 0.3s ease;
}

/* Hide default marker */
.faq summary::-webkit-details-marker {
  display: none;
}

/* Final CTA */
.final-cta {
  text-align: center;
  padding: 50px 20px;
  position: relative;
}

.final-cta-images {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 150px;
  margin-bottom: 20px;
}

.final-cta img {
  border-radius: 50%;
  object-fit: cover;
  position: absolute;
  transition: all 0.3s ease;
}

.final-cta img:nth-child(1) {
  width: 80px;
  height: 80px;
  left: calc(50% - 110px);
  z-index: 1;
}

.final-cta img:nth-child(2) {
  width: 110px;
  height: 110px;
  z-index: 2;
  bottom:30px;
  border: 3px solid white;
}

.final-cta img:nth-child(3) {
  width: 80px;
  height: 80px;
  left: calc(50% + 30px);
  z-index: 1;
}

.final-cta h4 {
  margin-top: 20px;
  font-weight: 600;
  font-size: 16px;
}

.final-cta p {
  font-size: 14px;
  color: #555;
  max-width: 500px;
  margin: 10px auto;
}

.final-cta button {
  background: #8000d7;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 4px;
  margin-top: 20px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.final-cta button:hover {
  background: #6a00a1;
}


.contact-us {
  padding: 0px 40px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}


.contact-container {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.form-side {
  flex: 1;
  min-width: 320px;
  max-width: 480px;
  padding:20px 60px;
}

.form-side h2 {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 8px;
}

.form-side p {
  margin: 3px 0px;
  font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.form-side p a {
  color: #8000d7;
  text-decoration: none;
  font-weight: 600;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form b {
    font-size: 14px;
    color: #555;
    margin-bottom: -13px;
}

.radio-buttons {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

/* Custom radio button styling */
.radio-buttons label {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  padding-left: 28px;
}

.radio-buttons input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.radio-custom {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 20px;
  width: 20px;
  background-color: #fff;
  border: 2px solid #8000d7;
  border-radius: 50%;
  transition: all 0.3s;
}

.radio-buttons label:hover input ~ .radio-custom {
  background-color: #f5e6ff;
}

.radio-buttons input:checked ~ .radio-custom {
  background-color: #8000d7;
}

.radio-custom:after {
  content: "";
  position: absolute;
  display: none;
}

.radio-buttons input:checked ~ .radio-custom:after {
  display: block;
}

.radio-buttons .radio-custom:after {
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: white;
  transform: translate(-50%, -50%);
}

.contact-form select,
.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  width: 100%;
}

.contact-form textarea {
  min-height: 100px;
  resize: vertical;
}

.form-buttons {
  display: flex;
  gap: 10px;
  margin-top: 0px;
}

.form-buttons button {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  text-align: center;
}

.cancel {
  background: #eee;
  color: #333;
}

.cancel:hover {
  background: #ddd;
}

.submit {
  background: #8000d7;
  color: #fff;
}

.submit:hover {
  background: #6a00a1;
}

.image-side {
  flex: 1;
  min-width: 280px;
  height: 100vh;
  position: relative;
  order: 2;
  overflow: hidden;
  margin: 0px -50px 0px 0px;
}

.image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.role-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid #EEE;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  background-color: #FFF;
  overflow: hidden;
  height: 130px; /* Fixed height for consistency */
}

.role-card img {
  width: auto;
  height: 100%;
  object-fit: contain;
  margin: 0 0 10px 0;
  transition: all 0.3s ease;
  z-index: 2; /* Ensure image stays above background */
  position:absolute;
}

.role-card span {
  display: block;
  width: 100%;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 0;
  background-color: #000;
  color: #fff;
  border-radius: 0 0 13px 13px;
  margin-top: auto;
  position: relative;
  z-index: 2;
}

/* Custom radio button */
.role-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.role-card .custom-radio {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 50%; /* Perfect circle */
  background-color: #fff;
  transition: all 0.3s ease;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.role-card .custom-radio::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%; /* Perfect circle */
  background-color: #8000d7;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Selected state */
.role-card input[type="radio"]:checked ~ .custom-radio {
  border-color: #8000d7;
}

.role-card input[type="radio"]:checked ~ .custom-radio::after {
  opacity: 1;
}

.role-card input[type="radio"]:checked ~ img {
  transform: scale(1.1);
  filter: brightness(1.1) drop-shadow(0 0 3px rgba(255, 255, 255, 0.3));
}

.role-card input[type="radio"]:checked ~ .role-background {
  opacity: 1;
}

/* Background effect for selected card */
.role-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% - 30px); /* Adjust height to stop before text container */
  background: radial-gradient(circle at center, #8000d7 0%, #2D0066 70%, #000 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

/* Hover effects */
.role-card:hover {
  border-color: #8000d7;
  box-shadow: 0 2px 8px rgba(133, 0, 178, 0.1);
}

.role-card:hover .custom-radio {
  border-color: #8000d7;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 10px;
}

.reg-side {
  padding:10px 60px;
}

.reg_submit {
  width: 100%;
  background: #8000d7;
  color: #fff;
  padding: 12px 0;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.reg_submit:hover {
  background: #6a00a1;
}

.remember-forgot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.remember-forgot label {
  display: flex;
  align-items: center;
  gap: 5px;
}

.remember-forgot input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.password-wrapper {
  position: relative;
}

.password-wrapper i.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #888;
}

  .strength-meter {
    margin: 0px;
    width: 100%;
  }
  
  .strength-bar-container {
    height: 5px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 5px;
  }
  
  .strength-bar {
    display: block;
    height: 100%;
    width: 0%;
    transition: width 0.3s, background-color 0.3s;
  }
  
  .strength-text {
    font-size: 12px;
    color: #666;
  }
  
  .strength-value {
    font-weight: bold;
  }
  
  .password-requirements {
    margin: 10px 0 20px;
    font-size: 13px;
    color: #666;
  }
  
  .password-requirements ul {
    margin: 5px 0 0 20px;
    padding: 0;
  }
  
  .password-requirements li {
    margin-bottom: 3px;
    position: relative;
  }
  
  .password-requirements li:before {
    content: "•";
    margin-right: 5px;
  }
  
  .password-requirements li.valid {
    color: #4CAF50;
  }
  
  .password-requirements li.valid:before {
    content: "✓";
  }




















































