

/* Add these styles to your existing CSS file */

/* Payment Options */
.payment-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

.payment-option {
  border: 2px solid var(--gray);
  border-radius: var(--border-radius);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.payment-option:hover {
  border-color: var(--primary-color);
  background-color: rgba(46, 125, 50, 0.05);
}

.payment-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-light);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 1.5rem;
}

.payment-option h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

.payment-option p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Payment Details */
.payment-details {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--gray);
}

.payment-details h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.qr-code {
  text-align: center;
  margin: 20px 0;
}

.qr-code img {
  max-width: 200px;
  border: 1px solid var(--gray);
  border-radius: var(--border-radius);
  padding: 10px;
  background-color: var(--white);
}

.payment-instructions {
  background-color: var(--gray-light);
  padding: 15px;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
}

.payment-instructions ol {
  text-align: left;
  margin-left: 20px;
}

.payment-instructions li {
  margin-bottom: 8px;
}

.account-details {
  background-color: var(--gray-light);
  padding: 15px;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
}

.account-details p {
  margin-bottom: 5px;
}

/* Success Animation */
.success-animation {
  text-align: center;
  margin: 20px 0;
}

.success-animation i {
  font-size: 4rem;
  color: var(--success);
  animation: scaleUp 0.5s ease;
}

@keyframes scaleUp {
  0% { transform: scale(0); opacity: 0; }
  70% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

.invoice-details {
  background-color: var(--gray-light);
  padding: 15px;
  border-radius: var(--border-radius);
  margin: 20px 0;
  text-align: left;
}

.invoice-details p {
  margin-bottom: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .payment-options {
    grid-template-columns: 1fr;
  }
}

/* CSS Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #2E7D32; /* Rich green as primary color */
  --primary-dark: #1B5E20;
  --primary-light: #4CAF50;
  --secondary-color: #D4AF37; /* Gold as secondary color */
  --secondary-dark: #B8860B;
  --secondary-light: #FFD700;
  --text-color: #333;
  --text-light: #666;
  --text-lighter: #888;
  --bg-light: #f9f9f9;
  --bg-dark: #222;
  --white: #fff;
  --black: #000;
  --gray-light: #f5f5f5;
  --gray: #e0e0e0;
  --gray-dark: #9e9e9e;
  --success: #4caf50;
  --warning: #ff9800;
  --error: #f44336;
  --info: #2196f3;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --font-main: 'Inter', sans-serif;
}

body {
  font-family: var(--font-main);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--bg-light);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Time Zone Bar */
.time-zone-bar {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 8px 0;
  font-size: 14px;
  text-align: center;
}

.time-zone-content {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 15px;
}

.time-zone-content span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Announcement Bar */
.announcement {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 10px 0;
  text-align: center;
}

.announcement p {
  margin: 0;
  font-weight: 500;
}

.announcement a {
  color: var(--white);
  text-decoration: underline;
  font-weight: 600;
  margin-left: 10px;
}

.announcement a:hover {
  opacity: 0.9;
}

/* Header Styles */
.header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  height: 50px;
  width: auto;
}

.brand-text h1 {
  font-size: 0.9rem;
  color: var(--primary-color);
  margin: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  background-color: var(--primary-color);
  color: var(--white);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn.primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn.primary:hover {
  background-color: var(--primary-dark);
}

.btn.secondary {
  background-color: var(--secondary-color);
  color: var(--white);
}

.btn.secondary:hover {
  background-color: var(--secondary-dark);
}

.btn.small {
  padding: 6px 12px;
  font-size: 0.875rem;
}

.btn.full-width {
  width: 100%;
}

.auth-btn {
  background-color: var(--primary-light);
  color: var(--white);
}

.auth-btn:hover {
  background-color: var(--primary-color);
}

.whatsapp-btn {
  background-color: #25D366;
  color: var(--white);
}

.whatsapp-btn:hover {
  background-color: #128C7E;
}

/* Hero Slider */
.hero {
  position: relative;
  height: 80vh;
  overflow: hidden;
}

.slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), var(--bg) center/cover no-repeat;
}

.slide.current {
  opacity: 1;
}

.slide-content {
  position: absolute;
  bottom: 20%;
  left: 10%;
  color: var(--white);
  max-width: 600px;
}

.slide-content h2 {
  font-size: 3rem;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.slider-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active, .dot:hover {
  background-color: var(--white);
}

/* Section Styles */
.section {
  padding: 60px 0;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 800px;
}

/* Quick Stats */
.quick-stats {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 7px 0;
}

.quick-stats .container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

.stat-item {
  text-align: center;
}

.stat-item h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
  color: var(--secondary-color);
}

.stat-item p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.mv-item {
  background-color: var(--gray-light);
  padding: 20px;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary-color);
}

.mv-item h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.about-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

/* Programs Section */
.program-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--gray);
  padding-bottom: 10px;
}

.program-tab {
  background: none;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: 500;
  color: var(--text-light);
  border-bottom: 3px solid transparent;
  transition: var(--transition);
}

.program-tab.active, .program-tab:hover {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.program-content {
  display: none;
}

.program-content.active {
  display: block;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 25px;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.program-card {
  text-align: center;
}

.card-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-light);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
}

.program-card h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.program-card p {
  margin-bottom: 20px;
  color: var(--text-light);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.card-link:hover {
  color: var(--primary-dark);
}

/* Document Services */
.document-services {
  margin-top: 30px;
}

.document-categories {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.document-category {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 15px;
  background-color: var(--gray-light);
  border-radius: var(--border-radius);
  min-width: 120px;
  cursor: pointer;
  transition: var(--transition);
}

.document-category.active, .document-category:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.document-category i {
  font-size: 1.5rem;
}

.document-content {
  display: none;
}

.document-content.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.document-details h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.document-details > p {
  margin-bottom: 20px;
  color: var(--text-light);
}

.features {
  margin-bottom: 25px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.feature i {
  color: var(--success);
}

.pricing h4 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.price-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.price-option {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  background-color: var(--gray-light);
  border-radius: var(--border-radius);
}

.price {
  font-weight: 600;
  color: var(--primary-color);
}

.sample-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.sample-preview img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

/* Live Classes */
.login-required-message {
  background-color: var(--gray-light);
  padding: 40px;
  border-radius: var(--border-radius);
  text-align: center;
}

.login-message-content i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.login-message-content h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.login-message-content p {
  margin-bottom: 25px;
  color: var(--text-light);
}

.live-classes-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.live-class-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 20px;
  transition: var(--transition);
}

.live-class-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.live-class-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--gray);
}

.live-badge {
  background-color: var(--success);
  color: var(--white);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.upcoming-badge {
  background-color: var(--warning);
  color: var(--white);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.live-class-info p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--text-light);
}

.live-class-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

/* Apply Section */
.apply-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.step {
  display: flex;
  gap: 15px;
}

.step-number {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
}

.step-content h4 {
  margin-bottom: 5px;
  color: var(--primary-color);
}

.apply-form {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 30px;
}

.form h3 {
  margin-bottom: 20px;
  color: var(--primary-color);
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--gray);
  border-radius: var(--border-radius);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.2);
}

.file-upload {
  margin-top: 10px;
}

.file-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border: 2px dashed var(--gray);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.file-label:hover {
  border-color: var(--primary-color);
  background-color: rgba(46, 125, 50, 0.05);
}

.file-label i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

#file-list {
  margin-top: 15px;
}

.file-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background-color: var(--gray-light);
  border-radius: var(--border-radius);
  margin-bottom: 8px;
}

.file-item button {
  background: none;
  border: none;
  color: var(--error);
  cursor: pointer;
}

.form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.form-note {
  margin-top: 15px;
  font-size: 0.9rem;
  color: var(--text-light);
  text-align: center;
}

/* Donate Section */
.donate-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.donate-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 25px;
  text-align: center;
  transition: var(--transition);
}

.donate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.donate-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary-light);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}

.donate-card h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.donate-card p {
  margin-bottom: 15px;
  color: var(--text-light);
}

.donate-amount {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.bank-details {
  padding: 25px;
}

.bank-details h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.bank-details > p {
  margin-bottom: 20px;
  color: var(--text-light);
}

.bank-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

.bank-item {
  display: flex;
  flex-direction: column;
}

.bank-label {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.bank-note {
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
}

/* Student Portal */
.portal-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--gray);
  padding-bottom: 10px;
}

.portal-tab {
  background: none;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: 500;
  color: var(--text-light);
  border-bottom: 3px solid transparent;
  transition: var(--transition);
}

.portal-tab.active, .portal-tab:hover {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.portal-content {
  display: none;
}

.portal-content.active {
  display: block;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.dashboard-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 25px;
}

.dashboard-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-light);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.dashboard-card h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.course-list {
  margin-bottom: 20px;
}

.course-item {
  margin-bottom: 15px;
}

.course-item h4 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background-color: var(--gray);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 5px;
}

.progress {
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 4px;
}

.events-list {
  margin-bottom: 20px;
}

.event-item {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--gray);
}

.event-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--primary-light);
  color: var(--white);
  border-radius: var(--border-radius);
  flex-shrink: 0;
}

.event-date .day {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1;
}

.event-date .month {
  font-size: 0.8rem;
  line-height: 1;
}

.event-details h4 {
  margin-bottom: 5px;
  font-size: 1rem;
}

.performance-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.stat {
  text-align: center;
  padding: 15px;
  background-color: var(--gray-light);
  border-radius: var(--border-radius);
}

.stat .value {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.stat .label {
  font-size: 0.9rem;
  color: var(--text-light);
}

.performance-chart {
  height: 200px;
  margin-top: 20px;
}

/* Attendance Styles */
.attendance-container {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 25px;
}

.attendance-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-bottom: 30px;
}

.attendance-stat {
  text-align: center;
  padding: 20px;
  background-color: var(--gray-light);
  border-radius: var(--border-radius);
}

.attendance-stat .stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.attendance-stat .stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
}

.attendance-calendar {
  margin-bottom: 30px;
}

.attendance-calendar h4 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.calendar-header button {
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  font-size: 1rem;
}

.calendar-grid {
  border: 1px solid var(--gray);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
  font-weight: 600;
  padding: 10px 0;
}

.calendar-weekdays div {
  padding: 5px;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background-color: var(--gray);
}

.calendar-day {
  background-color: var(--white);
  padding: 10px;
  min-height: 60px;
  position: relative;
}

.calendar-day .date {
  font-weight: 600;
  margin-bottom: 5px;
}

.calendar-day .attendance-status {
  font-size: 0.8rem;
}

.calendar-day.present {
  background-color: rgba(76, 175, 80, 0.1);
}

.calendar-day.present .date {
  color: var(--success);
}

.calendar-day.absent {
  background-color: rgba(244, 67, 54, 0.1);
}

.calendar-day.absent .date {
  color: var(--error);
}

.attendance-history h4 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.attendance-list {
  border: 1px solid var(--gray);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.attendance-item {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 15px;
  padding: 15px;
  border-bottom: 1px solid var(--gray);
  align-items: center;
}

.attendance-item:last-child {
  border-bottom: none;
}

.attendance-item.present {
  background-color: rgba(76, 175, 80, 0.05);
}

.attendance-item.absent {
  background-color: rgba(244, 67, 54, 0.05);
}

.attendance-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}

.attendance-item.present .attendance-status {
  color: var(--success);
}

.attendance-item.absent .attendance-status {
  color: var(--error);
}

/* Live Classes Portal Styles */
.live-classes-portal {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 25px;
}

.class-sessions {
  margin-bottom: 30px;
}

.class-session {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--gray);
  border-radius: var(--border-radius);
  margin-bottom: 15px;
}

.session-info h4 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

.session-info p {
  margin-bottom: 5px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.session-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.class-recordings h4 {
  margin-bottom: 15px;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.recordings-list {
  border: 1px solid var(--gray);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.recording-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 15px;
  padding: 15px;
  border-bottom: 1px solid var(--gray);
  align-items: center;
}

.recording-item:last-child {
  border-bottom: none;
}

.recording-thumbnail {
  width: 60px;
  height: 60px;
  background-color: var(--gray-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.recording-details h5 {
  margin-bottom: 5px;
  color: var(--primary-color);
}

.recording-details p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Exams Portal Styles */
.exams-container {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 25px;
}

.exam-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--gray);
  padding-bottom: 10px;
}

.exam-tab {
  background: none;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: 500;
  color: var(--text-light);
  border-bottom: 3px solid transparent;
  transition: var(--transition);
}

.exam-tab.active, .exam-tab:hover {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.exam-content {
  display: none;
}

.exam-content.active {
  display: block;
}

.exam-card {
  border: 1px solid var(--gray);
  border-radius: var(--border-radius);
  padding: 20px;
  margin-bottom: 20px;
}

.exam-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--gray);
}

.exam-header h4 {
  color: var(--primary-color);
  margin: 0;
}

.exam-status {
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.exam-status.upcoming {
  background-color: rgba(33, 150, 243, 0.1);
  color: var(--info);
}

.exam-status.ongoing {
  background-color: rgba(255, 152, 0, 0.1);
  color: var(--warning);
}

.exam-status.completed {
  background-color: rgba(76, 175, 80, 0.1);
  color: var(--success);
}

.exam-details p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--text-light);
}

.exam-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .attendance-summary {
    grid-template-columns: 1fr;
  }
  
  .class-session {
    grid-template-columns: 1fr;
  }
  
  .session-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .recording-item {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .exam-tabs {
    flex-wrap: wrap;
  }
  
  .exam-actions {
    flex-direction: column;
  }
}

/* Footer */
.footer {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 50%;
  text-decoration: none;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary-color);
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.modal-content {
  background-color: var(--white);
  border-radius: var(--border-radius);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--gray);
}

.modal-header h2 {
  color: var(--primary-color);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
}

.modal-body {
  padding: 20px;
}

.auth-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--gray);
  padding-bottom: 10px;
}

.auth-tab {
  background: none;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: 500;
  color: var(--text-light);
  border-bottom: 3px solid transparent;
  transition: var(--transition);
}

.auth-tab.active, .auth-tab:hover {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.auth-content {
  display: none;
}

.auth-content.active {
  display: block;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.checkbox input {
  width: auto;
}

.forgot-password {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.9rem;
}

.forgot-password:hover {
  text-decoration: underline;
}

/* Chatbot Styles */
.hudhud-chatbot {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 350px;
  height: 450px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hudhud-chatbot.open {
  transform: translateY(0);
  opacity: 1;
}

.chatbot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background-color: var(--primary-color);
  color: var(--white);
  border-top-left-radius: var(--border-radius);
  border-top-right-radius: var(--border-radius);
}

.chatbot-header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.chatbot-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

.chatbot-messages {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.message {
  max-width: 80%;
  padding: 10px 15px;
  border-radius: 18px;
}

.bot-message {
  align-self: flex-start;
  background-color: var(--gray-light);
  color: var(--text-color);
}

.user-message {
  align-self: flex-end;
  background-color: var(--primary-color);
  color: var(--white);
}

.chatbot-input {
  display: flex;
  padding: 15px;
  border-top: 1px solid var(--gray);
}

.chatbot-input input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid var(--gray);
  border-radius: 20px;
  margin-right: 10px;
}

.chatbot-input button {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.chatbot-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* Music Player */
.music-player {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  padding: 10px 15px;
  z-index: 1000;
  display: flex;
  align-items: center;
  min-width: 300px;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.player-controls button {
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  font-size: 1rem;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.player-controls button:hover {
  background-color: var(--gray-light);
}

.track-info {
  flex: 1;
  margin: 0 10px;
}

#track-title {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background-color: var(--gray);
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
}

.progress {
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 2px;
  width: 30%;
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid var(--gray);
  border-top: 5px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .apply-content {
    grid-template-columns: 1fr;
  }
  
  .document-content.active {
    grid-template-columns: 1fr;
  }
  
  .mission-vision {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .nav {
    flex-direction: column;
    width: 100%;
    margin-top: 20px;
    display: none;
  }
  
  .nav.open {
    display: flex;
  }
  
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
  }
  
  .slide-content h2 {
    font-size: 2rem;
  }
  
  .slide-content p {
    font-size: 1rem;
  }
  
  .quick-stats .container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid.three {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
  
  .hudhud-chatbot {
    width: calc(100% - 40px);
    right: 20px;
    left: 20px;
  }
  
  .time-zone-content {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 15px;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .hero {
    height: 60vh;
  }
  
  .quick-stats .container {
    grid-template-columns: 1fr;
  }
  
  .program-tabs {
    flex-wrap: wrap;
  }
  
  .document-categories {
    flex-wrap: wrap;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .modal-content {
    margin: 10px;
    width: calc(100% - 20px);
  }
  
  .music-player {
    bottom: 80px;
    left: 10px;
    right: 10px;
    min-width: auto;
  }
}

/* Streaming Section Styles */
.streaming-container {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.stream-tabs {
  display: flex;
  border-bottom: 1px solid var(--gray);
}

.stream-tab {
  flex: 1;
  padding: 15px;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 500;
  color: var(--text-light);
  border-bottom: 3px solid transparent;
  transition: var(--transition);
}

.stream-tab.active, .stream-tab:hover {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.stream-content {
  display: none;
  padding: 20px;
}

.stream-content.active {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.stream-player {
  background-color: var(--bg-dark);
  border-radius: var(--border-radius);
  overflow: hidden;
}

#player-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background-color: var(--black);
}

#player-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

#player-placeholder i {
  font-size: 3rem;
  margin-bottom: 15px;
  color: var(--primary-light);
}

#youtube-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.player-controls {
  padding: 15px;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.source-buttons {
  display: flex;
  gap: 10px;
}

.source-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 15px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.source-btn.active, .source-btn:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.quality-controls select {
  padding: 8px 15px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.stream-list h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.stream-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.stream-item {
  display: flex;
  gap: 10px;
  padding: 10px;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

.stream-item:hover {
  background-color: var(--gray-light);
}

.stream-thumb {
  position: relative;
  width: 120px;
  height: 68px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
}

.stream-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: var(--error);
  color: var(--white);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 600;
}

.stream-info h4 {
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.stream-info p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 3px;
}

/* Upcoming Streams */
.upcoming-streams {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.upcoming-item {
  display: flex;
  gap: 15px;
  padding: 15px;
  border: 1px solid var(--gray);
  border-radius: var(--border-radius);
  align-items: center;
}

.upcoming-time {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: var(--primary-light);
  color: var(--white);
  border-radius: var(--border-radius);
  flex-shrink: 0;
}

.upcoming-time .day {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
}

.upcoming-time .month {
  font-size: 0.8rem;
  line-height: 1;
  text-transform: uppercase;
}

.upcoming-time .hour {
  font-size: 0.8rem;
  line-height: 1;
  margin-top: 3px;
}

.upcoming-details {
  flex: 1;
}

.upcoming-details h4 {
  margin-bottom: 5px;
  color: var(--primary-color);
}

.upcoming-details p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 3px;
}

/* Recorded Streams */
.recorded-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.recorded-filters select {
  padding: 8px 15px;
  border: 1px solid var(--gray);
  border-radius: 4px;
  background-color: var(--white);
}

.recorded-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.recorded-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  cursor: pointer;
}

.recorded-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.recorded-thumb {
  position: relative;
  width: 100%;
  height: 140px;
  overflow: hidden;
}

.recorded-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.recorded-item:hover .recorded-thumb img {
  transform: scale(1.05);
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: var(--transition);
}

.recorded-item:hover .play-overlay {
  opacity: 1;
}

.play-overlay i {
  color: var(--white);
  font-size: 2rem;
}

.duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background-color: rgba(0, 0, 0, 0.7);
  color: var(--white);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.8rem;
}

.recorded-info {
  padding: 15px;
}

.recorded-info h4 {
  margin-bottom: 8px;
  font-size: 1rem;
  color: var(--primary-color);
}

.recorded-info p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.recorded-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-lighter);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .stream-content.active {
    grid-template-columns: 1fr;
  }
  
  .stream-player {
    order: 2;
  }
  
  .stream-list {
    order: 1;
  }
}

@media (max-width: 768px) {
  .stream-tabs {
    flex-direction: column;
  }
  
  .player-controls {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  
  .upcoming-item {
    flex-direction: column;
    text-align: center;
  }
  
  .recorded-filters {
    flex-direction: column;
  }
  
  .recorded-grid {
    grid-template-columns: 1fr;
  }
}

/* Custom URL Modal */
.url-input-container {
  margin-top: 15px;
}

.url-input-container input {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid var(--gray);
  border-radius: 4px;
  margin-bottom: 10px;
}

/* Fullscreen styles */
.player-fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  background-color: var(--black);
}

.player-fullscreen #player-container {
  height: 100%;
  padding-bottom: 0;
}

.player-fullscreen .player-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

/* Video Player Styles */
.video-player-container {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.video-display {
  flex: 7;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-info {
  padding: 1.5rem;
  background: #fff;
}

.video-info h2 {
  margin: 0 0 0.5rem 0;
  color: #2c3e50;
  font-size: 1.5rem;
}

.video-info p {
  margin: 0;
  color: #7f8c8d;
  line-height: 1.6;
}

.video-selector {
  flex: 3;
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-height: 600px;
  display: flex;
  flex-direction: column;
}

.video-selector h2 {
  margin: 0 0 1rem 0;
  color: #2c3e50;
  font-size: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #ecf0f1;
}

.video-list {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 1rem;
}

.video-item {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.video-item:hover {
  background-color: #f8f9fa;
  transform: translateY(-2px);
}

.video-item.active {
  border-color: #3498db;
  background-color: #e8f4fd;
}

.video-thumb {
  width: 80px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  margin-right: 1rem;
  flex-shrink: 0;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-title {
  font-weight: 500;
  color: #2c3e50;
}

.controls {
  display: flex;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 2px solid #ecf0f1;
}

.controls .btn {
  flex: 1;
  padding: 0.75rem;
  font-weight: 500;
}

.btn-primary {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2980b9, #3498db);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.btn-secondary {
  background: #ecf0f1;
  color: #7f8c8d;
  border: 2px solid #bdc3c7;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #dfe6e9;
  color: #2c3e50;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 968px) {
  .video-player-container {
    flex-direction: column;
  }
  
  .video-selector {
    max-height: none;
  }
}

@media (max-width: 768px) {
  .video-info h2 {
    font-size: 1.25rem;
  }
  
  .video-item {
    padding: 0.5rem;
  }
  
  .video-thumb {
    width: 60px;
    height: 45px;
  }
}

/* Scrollbar Styling */
.video-list::-webkit-scrollbar {
  width: 6px;
}

.video-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.video-list::-webkit-scrollbar-thumb {
  background: #bdc3c7;
  border-radius: 3px;
}

.video-list::-webkit-scrollbar-thumb:hover {
  background: #95a5a6;
}


/* Video Player Styles */
.video-player-container {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.video-display {
  flex: 7;
  background: #000;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  background: #000;
}

#main-video-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #1a1a1a;
  color: #fff;
}

.video-placeholder i {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.video-placeholder p {
  font-size: 1.2rem;
  color: #ccc;
}

.video-info {
  padding: 1.5rem;
  background: #fff;
}

.video-info h2 {
  margin: 0 0 0.5rem 0;
  color: #2c3e50;
  font-size: 1.5rem;
}

.video-info p {
  margin: 0;
  color: #7f8c8d;
  line-height: 1.6;
}

.video-selector {
  flex: 3;
  background: #f8f9fa;
  padding: 1.5rem;
  max-height: 600px;
  display: flex;
  flex-direction: column;
}

.video-selector h2 {
  margin: 0 0 1rem 0;
  color: #2c3e50;
  font-size: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #ecf0f1;
}

.video-list {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 1rem;
}

.video-item {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  background: #fff;
}

.video-item:hover {
  background-color: #f1f3f5;
  transform: translateY(-2px);
}

.video-item.active {
  border-color: var(--primary-color);
  background-color: #e8f4fd;
}

.video-thumb {
  position: relative;
  width: 80px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  margin-right: 1rem;
  flex-shrink: 0;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-title {
  font-weight: 500;
  color: #2c3e50;
  flex: 1;
}

.controls {
  display: flex;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 2px solid #ecf0f1;
}

.controls .btn {
  flex: 1;
  padding: 0.75rem;
  font-weight: 500;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.btn-secondary {
  background: #ecf0f1;
  color: #7f8c8d;
  border: 2px solid #bdc3c7;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #dfe6e9;
  color: #2c3e50;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 968px) {
  .video-player-container {
    flex-direction: column;
  }
  
  .video-selector {
    max-height: none;
  }
}

@media (max-width: 768px) {
  .video-info h2 {
    font-size: 1.25rem;
  }
  
  .video-item {
    padding: 0.5rem;
  }
  
  .video-thumb {
    width: 60px;
    height: 45px;
  }
}

/* Scrollbar Styling */
.video-list::-webkit-scrollbar {
  width: 6px;
}

.video-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.video-list::-webkit-scrollbar-thumb {
  background: #bdc3c7;
  border-radius: 3px;
}

.video-list::-webkit-scrollbar-thumb:hover {
  background: #95a5a6;
}

/* News & Events Section */
.news-events-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.news-feed, .events-sidebar {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-feed h3, .events-sidebar h3 {
  color: #2E7D32;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.news-item {
  display: flex;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

.news-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.news-date {
  min-width: 80px;
  text-align: center;
  margin-right: 1.5rem;
}

.news-date .day {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #2E7D32;
  line-height: 1;
}

.news-date .month {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: #555;
  text-transform: uppercase;
  margin: 0.25rem 0;
}

.news-date .year {
  display: block;
  font-size: 0.9rem;
  color: #777;
}

.news-content h4 {
  margin: 0 0 0.75rem 0;
  color: #333;
  font-size: 1.25rem;
}

.news-content p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.news-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin: 1rem 0;
}

.news-images img {
  width: 100%;
  border-radius: 8px;
  height: 120px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-images img:hover {
  transform: scale(1.05);
}

.news-tags {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag {
  background: #e8f5e9;
  color: #2E7D32;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Events Sidebar */
.events-sidebar {
  position: sticky;
  top: 2rem;
  align-self: start;
}

.event-card {
  display: flex;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f9f9f9;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.event-date {
  min-width: 60px;
  text-align: center;
  margin-right: 1rem;
}

.event-day {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.event-month {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.event-info h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  color: #333;
}

.event-info p {
  margin: 0.25rem 0;
  font-size: 0.85rem;
  color: #666;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.event-info .btn {
  margin-top: 0.5rem;
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
}

.view-all-events {
  text-align: center;
  margin-top: 1.5rem;
}

/* Responsive Design */
@media (max-width: 968px) {
  .news-events-container {
    grid-template-columns: 1fr;
  }
  
  .events-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .news-item {
    flex-direction: column;
  }
  
  .news-date {
    margin-right: 0;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .news-date .day,
  .news-date .month,
  .news-date .year {
    display: inline;
    font-size: 1rem;
  }
  
  .news-images {
    grid-template-columns: 1fr;
  }
  
  .event-card {
    flex-direction: column;
    text-align: center;
  }
  
  .event-date {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
}

/* Exam Modal Styles */
.exam-modal {
  max-width: 90%;
  width: 1200px;
}

.exam-timer {
  background: #f44336;
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: bold;
  margin-right: 15px;
}

.exam-container {
  display: flex;
  gap: 20px;
  flex-direction: column;
}

@media (min-width: 992px) {
  .exam-container {
    flex-direction: row;
  }
  
  .pdf-viewer {
    flex: 1;
  }
  
  .answer-section {
    flex: 1;
    max-height: 600px;
    overflow-y: auto;
  }
}

.pdf-viewer {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}

.answer-section {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
}

#auto-submit-btn {
  background: #f44336;
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.7; }
  100% { opacity: 1; }
}

/* MCQ Styles */
.mcq-answers {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mcq-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mcq-select {
  padding: 8px;
  border-radius: 4px;
  border: 1px solid #ddd;
  flex: 1;
  background: white;
}

/* Matching Answers Styles */
.matching-answers {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.matching-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.matching-item input {
  padding: 8px;
  border-radius: 4px;
  border: 1px solid #ddd;
  flex: 1;
  background: white;
}

/* True/False Styles */
.tf-answers {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tf-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: white;
  border-radius: 4px;
  border: 1px solid #eee;
}

.tf-item span {
  font-weight: 500;
  margin-bottom: 5px;
}

.tf-item label {
  margin-right: 15px;
  cursor: pointer;
}

/* WhatsApp button style */
.whatsapp-btn {
  background-color: #25D366;
  color: white;
}

.whatsapp-btn:hover {
  background-color: #128C7E;
}

/* Loading animation for WhatsApp sending */
.whatsapp-sending {
  display: inline-block;
  margin-left: 10px;
}

.whatsapp-sending::after {
  content: '';
  animation: dots 1.5s infinite;
}

@keyframes dots {
  0%, 20% { content: '.'; }
  40% { content: '..'; }
  60%, 100% { content: '...'; }
}

/* Scrollbar for answer section */
.answer-section::-webkit-scrollbar {
  width: 8px;
}

.answer-section::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.answer-section::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.answer-section::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Form validation styles */
input:invalid, select:invalid {
  border-color: #ff4444;
}

input:valid, select:valid {
  border-color: #00C851;
}

/* Exam Results Styles */
.results-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

.results-header {
  text-align: center;
  margin-bottom: 2rem;
}

.results-header h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.results-header.success {
  background-color: #e8f5e9;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.results-header.success i {
  color: #4caf50;
  font-size: 1.5rem;
}

.student-info {
  background-color: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.info-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

.info-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.info-item .label {
  font-weight: 600;
  color: #555;
}

.info-item .value {
  color: #333;
}

.grades-table {
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

.grades-table table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

.grades-table th,
.grades-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.grades-table th {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
}

.grades-table tr:nth-child(even) {
  background-color: #f8f9fa;
}

.grade-A { color: #4caf50; font-weight: 600; }
.grade-B { color: #2196f3; font-weight: 600; }
.grade-C { color: #ff9800; font-weight: 600; }
.grade-D { color: #f44336; font-weight: 600; }
.grade-F { color: #d32f2f; font-weight: 600; }

.results-summary {
  background-color: #e3f2fd;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.summary-item:last-child {
  margin-bottom: 0;
}

.summary-item .value {
  font-weight: 600;
}

.value.good { color: #4caf50; }
.value.warning { color: #ff9800; }
.value.poor { color: #f44336; }

.results-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.results-error {
  background-color: #ffebee;
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 1.5rem;
}

.error-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: #d32f2f;
}

.error-header i {
  font-size: 1.5rem;
}

.results-error ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.results-error li {
  margin-bottom: 0.5rem;
}

.form-hint {
  display: block;
  margin-top: 0.25rem;
  color: #666;
  font-size: 0.85rem;
}

/* Print styles for results */
@media print {
  .header, .footer, .results-actions, .results-form,
  .nav, .announcement, .time-zone-bar, #hudhud-chatbot,
  #open-chatbot {
    display: none !important;
  }
  
  .results-container {
    box-shadow: none;
    margin: 0;
    padding: 0;
    width: 100%;
  }
  
  body {
    padding: 20px;
    background: white;
    color: black;
    font-size: 12pt;
  }
  
  .section-title, .section-subtitle {
    text-align: center;
    color: black !important;
  }
  
  .results-header.success {
    background-color: white !important;
    color: black;
    border: 1px solid #ccc;
  }
  
  .student-info, .results-summary {
    background-color: #f0f0f0 !important;
    border: 1px solid #ccc;
  }
  
  .grade-A, .grade-B, .grade-C, .grade-D, .grade-F {
    color: black !important;
  }
  
  .value.good, .value.warning, .value.poor {
    color: black !important;
  }
  
  .grades-table th {
    background-color: #ddd !important;
    color: black !important;
  }
  
  /* Add college header for print */
  .print-header {
    display: block !important;
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
  }
  
  .print-header img {
    height: 80px;
  }
  
  .print-footer {
    display: block !important;
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid #ccc;
    padding-top: 10px;
    font-size: 10pt;
  }
}

.print-header, .print-footer {
  display: none;
}


/* Attendance System Styles */
.attendance-container {
  margin-top: 2rem;
  padding: 2rem;
}

.attendance-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.attendance-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  width: 100%;
}

.attendance-controls .form-group {
  margin-bottom: 0;
}

.attendance-controls label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.attendance-table-container {
  overflow-x: auto;
  margin-bottom: 1.5rem;
  max-height: 500px;
  overflow-y: auto;
}

.attendance-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.attendance-table th {
  background-color: #2e7d32;
  color: white;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  position: sticky;
  top: 0;
}

.attendance-table td {
  padding: 1rem;
  border-bottom: 1px solid #e0e0e0;
  vertical-align: top;
}

.attendance-table tr:last-child td {
  border-bottom: none;
}

.attendance-table tr:hover {
  background-color: #f5f5f5;
}

.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  display: inline-block;
  min-width: 70px;
  text-align: center;
}

.status-present {
  background-color: #e8f5e9;
  color: #2e7d32;
}

.status-absent {
  background-color: #ffebee;
  color: #c62828;
}

.status-late {
  background-color: #fff8e1;
  color: #f57c00;
}

.feedback-textarea {
  width: 100%;
  min-width: 150px;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.875rem;
  resize: vertical;
  min-height: 60px;
  font-family: inherit;
}

.feedback-textarea:focus {
  outline: none;
  border-color: #2e7d32;
  box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.2);
}

.class-summary {
  margin: 1.5rem 0;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 8px;
}

.class-summary h4 {
  margin-bottom: 1rem;
  color: #2e7d32;
}

.summary-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.stat {
  text-align: center;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat .value {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
  color: #2e7d32;
}

.stat .label {
  font-size: 0.875rem;
  color: #666;
}

.attendance-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* Toggle switch for attendance */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
  margin-right: 0.5rem;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: #2e7d32;
}

input:checked + .toggle-slider:before {
  transform: translateX(30px);
}

/* Action buttons in table */
.table-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn.small {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
}

/* Loading animation for WhatsApp sending */
.sending {
  position: relative;
  pointer-events: none;
}

.sending::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin: -10px 0 0 -10px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 0.8s ease infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Print styles */
@media print {
  .attendance-controls,
  .attendance-actions,
  .toggle-switch,
  .mark-time,
  .feedback-textarea {
    display: none !important;
  }
  
  .attendance-table {
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  .attendance-table th {
    background-color: #f0f0f0 !important;
    color: #000 !important;
  }
  
  .class-summary {
    background-color: #f0f0f0 !important;
  }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .attendance-table {
    font-size: 0.875rem;
  }
  
  .attendance-table th,
  .attendance-table td {
    padding: 0.75rem 0.5rem;
  }
  
  .feedback-textarea {
    min-width: 120px;
  }
}

@media (max-width: 768px) {
  .attendance-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .attendance-controls {
    grid-template-columns: 1fr;
  }
  
  .attendance-actions {
    justify-content: center;
  }
  
  .summary-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .table-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .attendance-container {
    padding: 1rem;
  }
  
  .attendance-table {
    font-size: 0.75rem;
  }
  
  .status-badge {
    min-width: 60px;
    font-size: 0.75rem;
  }
  
  .summary-stats {
    grid-template-columns: 1fr;
  }
}


/* Notification styles */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  color: white;
  z-index: 10000;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease;
  max-width: 350px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.notification.show {
  opacity: 1;
  transform: translateX(0);
}

.notification-success {
  background-color: #2e7d32;
}

.notification-error {
  background-color: #c62828;
}

.notification-info {
  background-color: #1565c0;
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.notification-content i {
  font-size: 1.25rem;
}

/* Screen Recorder Styles */
.recorder-toggle {
  position: fixed;
  bottom: 100px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #2E7D32;
  color: white;
  border: none;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.4);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.recorder-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(46, 125, 50, 0.6);
}

.recorder-modal {
  max-width: 95%;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.recorder-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.recorder-controls {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #e9ecef;
}

.audio-settings h3 {
  margin-bottom: 15px;
  color: #2E7D32;
  font-size: 18px;
}

.audio-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.audio-option {
  display: flex;
  align-items: center;
  gap: 10px;
}

.audio-option label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 500;
}

.mic-test {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.mic-level {
  width: 60px;
  height: 8px;
  background: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
}

.level-bar {
  height: 100%;
  width: 0%;
  background: #2E7D32;
  transition: width 0.3s ease;
}

.quality-settings {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quality-settings label {
  font-weight: 500;
}

.quality-settings select {
  padding: 5px 10px;
  border-radius: 5px;
  border: 1px solid #ced4da;
}

.recorder-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 20px 0;
}

.recording-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  background: white;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.recording-timer, .file-size {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.audio-indicators {
  display: flex;
  gap: 10px;
}

.audio-indicator {
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 14px;
  background: #e9ecef;
  color: #6c757d;
  transition: all 0.3s ease;
}

.audio-indicator.active {
  background: #2E7D32;
  color: white;
}

.preview-container {
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

#video-preview {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}

#video-preview video {
  width: 100%;
  max-height: 300px;
  border-radius: 5px;
}

.teacher-selection {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #e9ecef;
}

.teacher-selection h3 {
  margin-bottom: 10px;
  color: #2E7D32;
}

.teacher-selection select {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ced4da;
}

.recording-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
  .recorder-toggle {
    bottom: 90px;
    right: 15px;
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  
  .recorder-modal {
    max-width: 100%;
    margin: 10px;
  }
  
  .recorder-buttons {
    flex-direction: column;
  }
  
  .recorder-buttons .btn {
    width: 100%;
  }
  
  .recording-info {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .recording-actions {
    flex-direction: column;
  }
  
  .recording-actions .btn {
    width: 100%;
  }
}

/* Recording state styles */
.recording-active #start-recording {
  display: none;
}

.recording-active #pause-recording,
.recording-active #stop-recording {
  display: inline-block;
}

.recording-paused #pause-recording i::before {
  content: "\f04b"; /* play icon */
}

/* Mobile device detection styles */
.mobile-recorder-warning {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 5px;
  padding: 15px;
  margin-bottom: 20px;
  color: #856404;
}

.mobile-recorder-warning h4 {
  margin-top: 0;
  color: #856404;
}

.mobile-recorder-instructions {
  background: #e7f3ff;
  border: 1px solid #b3d9ff;
  border-radius: 5px;
  padding: 15px;
  margin-bottom: 20px;
}

.mobile-recorder-instructions h4 {
  margin-top: 0;
  color: #0066cc;
}

.mobile-recorder-instructions ol {
  padding-left: 20px;
}

.mobile-recorder-instructions li {
  margin-bottom: 10px;
}


/* Testimonials Section */
.testimonials-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0;
}

.testimonials-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
}

.testimonial-slides {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  min-width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.testimonial-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 40px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.quote-icon {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 60px;
  color: #2E7D32;
  opacity: 0.2;
}

.testimonial-text {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 30px;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-image {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 20px;
  border: 3px solid #2E7D32;
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-details h4 {
  margin: 0 0 5px 0;
  color: #2E7D32;
  font-weight: 600;
}

.author-details p {
  margin: 0 0 8px 0;
  color: #666;
  font-size: 14px;
}

.rating {
  color: #FFD700;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.testimonial-prev,
.testimonial-next {
  background: #2E7D32;
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
  margin: 0 15px;
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background: #1B5E20;
}

.testimonial-dots {
  display: flex;
  gap: 10px;
}

.testimonial-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.3s ease;
}

.testimonial-dots .dot.active {
  background: #2E7D32;
}

/* Responsive Design */
@media (max-width: 768px) {
  .testimonial-card {
    padding: 30px 20px;
  }
  
  .testimonial-text {
    font-size: 16px;
  }
  
  .testimonial-author {
    flex-direction: column;
    text-align: center;
  }
  
  .author-image {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .testimonial-controls {
    flex-wrap: wrap;
  }
  
  .testimonial-prev,
  .testimonial-next {
    margin: 10px;
  }
}



/* Islamic Features Section */
#islamic-features {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0;
}

.islamic-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2E7D32, #4CAF50);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border-color: #2E7D32;
}

.feature-icon {
  font-size: 3.5rem;
  color: #2E7D32;
  margin-bottom: 20px;
}

.feature-card h3 {
  color: #2E7D32;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* Islamic Features Modal */
.islamic-features-modal .modal-content {
  max-width: 1000px;
  max-height: 95vh;
  overflow: hidden;
  border-radius: 20px;
}

.islamic-features-tabs {
  display: flex;
  background: #f8f9fa;
  border-radius: 15px 15px 0 0;
  overflow-x: auto;
  padding: 0 20px;
}

.feature-tab {
  flex: 1;
  padding: 20px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-weight: 600;
  font-size: 0.9rem;
  color: #666;
}

.feature-tab.active {
  background: white;
  border-bottom-color: #2E7D32;
  color: #2E7D32;
}

.feature-content {
  display: none;
  padding: 30px;
  max-height: 70vh;
  overflow-y: auto;
}

.feature-content.active {
  display: block;
}

/* Prayer Times Styles */
.prayer-times-container {
  max-width: 800px;
  margin: 0 auto;
}

.prayer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 15px;
}

.location-info {
  display: flex;
  gap: 15px;
  align-items: center;
}

.auto-location .btn.small {
  padding: 8px 15px;
  font-size: 0.9rem;
}

/* Real Time Clock */
.current-time {
  margin-bottom: 30px;
}

.real-time-clock {
  background: linear-gradient(135deg, #2E7D32, #4CAF50);
  color: white;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(46, 125, 50, 0.3);
}

.clock-display {
  margin-bottom: 15px;
}

.clock-display i {
  font-size: 2rem;
  margin-right: 15px;
}

#live-clock {
  font-size: 3rem;
  font-weight: bold;
  font-family: 'Courier New', monospace;
}

.date-display {
  display: flex;
  justify-content: center;
  gap: 25px;
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Next Prayer Card */
.current-prayer {
  margin-bottom: 30px;
}

.next-prayer-card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 2px solid #2E7D32;
}

.prayer-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: #2E7D32;
  font-weight: 600;
}

.prayer-alert i {
  font-size: 1.3rem;
}

.prayer-details h4 {
  font-size: 2.5rem;
  color: #2E7D32;
  margin: 0 0 10px 0;
}

.prayer-details p {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  margin: 0;
}

.countdown {
  margin-top: 20px;
}

.countdown-timer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 1.3rem;
  font-weight: bold;
  color: #2E7D32;
}

/* Prayer Times List */
.prayer-times-list {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin-bottom: 30px;
}

.prayer-time-item {
  display: flex;
  align-items: center;
  padding: 20px 25px;
  border-bottom: 1px solid #eee;
  transition: background 0.3s ease;
  gap: 20px;
}

.prayer-time-item:hover {
  background: #f8f9fa;
}

.prayer-time-item:last-child {
  border-bottom: none;
}

.prayer-icon {
  width: 40px;
  height: 40px;
  background: #f8f9fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2E7D32;
}

.prayer-details {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.prayer-name {
  font-weight: 600;
  color: #333;
  font-size: 1.1rem;
}

.prayer-time {
  font-weight: bold;
  color: #2E7D32;
  font-size: 1.1rem;
}

.prayer-status .status {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.status.current {
  background: #4CAF50;
  color: white;
}

.status.passed {
  background: #f44336;
  color: white;
}

.status.upcoming {
  background: #ff9800;
  color: white;
}

/* Prayer Actions */
.prayer-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

/* Prayer Settings */
.prayer-settings {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 15px;
  margin-top: 25px;
}

.prayer-settings h4 {
  color: #2E7D32;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.setting-item label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.setting-item select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: white;
  font-size: 1rem;
}

/* Tasbih Counter Styles */
.tasbih-counter {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.counter-display {
  font-size: 5rem;
  font-weight: bold;
  color: #2E7D32;
  margin: 30px 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
  background: linear-gradient(135deg, #2E7D32, #4CAF50);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.dhikr-type {
  font-size: 1.2rem;
  color: #666;
  margin-top: 10px;
  font-weight: 500;
}

.counter-controls {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin: 30px 0;
}

.dhikr-types {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 25px 0;
}

.dhikr-btn {
  padding: 15px;
  border: 2px solid #ddd;
  background: white;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.dhikr-btn.active {
  background: #2E7D32;
  color: white;
  border-color: #2E7D32;
}

.dhikr-btn span {
  display: block;
  font-weight: 500;
  margin-bottom: 5px;
}

.dhikr-btn small {
  font-size: 0.8rem;
  opacity: 0.8;
}

.tasbih-presets {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 25px 0;
  flex-wrap: wrap;
}

.preset-btn {
  padding: 12px 20px;
  border: 2px solid #2E7D32;
  background: white;
  color: #2E7D32;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.preset-btn:hover {
  background: #2E7D32;
  color: white;
}

.custom-count {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 20px 0;
  align-items: center;
}

.custom-count input {
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  width: 150px;
  font-size: 1rem;
}

.tasbih-history {
  margin-top: 40px;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 15px;
  border-left: 4px solid #2E7D32;
}

.progress-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.stat {
  text-align: center;
  padding: 15px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.stat .value {
  display: block;
  font-size: 1.8rem;
  font-weight: bold;
  color: #2E7D32;
  margin-bottom: 5px;
}

.stat .label {
  font-size: 0.9rem;
  color: #666;
}

.progress-bars {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 20px 0;
}

.progress-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.progress-item span:first-child {
  flex: 1;
  font-weight: 500;
  color: #333;
}

.progress-bar {
  flex: 2;
  height: 8px;
  background: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
}

.progress {
  height: 100%;
  background: linear-gradient(90deg, #4CAF50, #2E7D32);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.progress-item span:last-child {
  font-weight: 600;
  color: #2E7D32;
  min-width: 40px;
}

.last-updated {
  text-align: center;
  color: #666;
  font-size: 0.9rem;
  margin-top: 15px;
}

.last-updated i {
  margin-right: 5px;
}

/* Duas & Adhkar Styles */
.duas-container {
  max-width: 800px;
  margin: 0 auto;
}

.duas-header {
  text-align: center;
  margin-bottom: 30px;
}

.time-based-indicator {
  margin-top: 15px;
}

.current-time-section {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #2E7D32, #4CAF50);
  color: white;
  border-radius: 25px;
  font-weight: 500;
}

.auto-update {
  font-size: 0.8rem;
  opacity: 0.9;
}

.duas-categories {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.dua-category {
  padding: 12px 20px;
  border: 2px solid #ddd;
  background: white;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-weight: 500;
}

.dua-category.active {
  background: #2E7D32;
  color: white;
  border-color: #2E7D32;
}

.dua-card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  margin-bottom: 25px;
  border: 1px solid #e9ecef;
}

.dua-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 15px;
}

.dua-header h4 {
  color: #2E7D32;
  margin: 0;
}

.dua-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.9rem;
  color: #666;
}

.dua-arabic {
  font-size: 1.8rem;
  line-height: 2;
  text-align: right;
  margin-bottom: 25px;
  color: #2E7D32;
  font-weight: 500;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 20px;
}

.dua-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 25px;
}

.dua-details h5 {
  color: #2E7D32;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.dua-details p {
  line-height: 1.6;
  color: #555;
  margin: 0;
}

.dua-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.favorite-duas {
  margin-top: 30px;
}

.favorite-duas h4 {
  color: #2E7D32;
  margin-bottom: 20px;
}

.favorites-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.favorite-item {
  background: white;
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid #2E7D32;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.favorite-item p {
  margin: 0 0 10px 0;
  font-weight: 500;
}

.favorite-item small {
  color: #666;
  font-size: 0.8rem;
}

.duas-stats {
  margin-top: 30px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-card {
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-align: center;
  display: flex;
  align-items: center;
  gap: 15px;
}

.stat-icon {
  width: 50px;
  height: 50px;
  background: #f8f9fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2E7D32;
  font-size: 1.5rem;
}

.stat-content {
  flex: 1;
}

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: #2E7D32;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
}

/* 99 Names of Allah Styles */
.names-of-allah-container {
  max-width: 900px;
  margin: 0 auto;
}

.names-header {
  text-align: center;
  margin-bottom: 30px;
}

.names-progress {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.names-progress .progress-bar {
  width: 300px;
  height: 10px;
}

.names-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 15px;
}

.names-search {
  position: relative;
  flex: 1;
  max-width: 300px;
}

.names-search input {
  width: 100%;
  padding: 12px 45px 12px 15px;
  border: 1px solid #ddd;
  border-radius: 25px;
  font-size: 1rem;
}

.names-search i {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
}

.view-mode {
  display: flex;
  gap: 10px;
}

.view-btn {
  padding: 10px 20px;
  border: 2px solid #ddd;
  background: white;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.view-btn.active {
  background: #2E7D32;
  color: white;
  border-color: #2E7D32;
}

.names-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.names-list {
  display: none;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}

.name-card {
  background: white;
  padding: 25px 20px;
  border-radius: 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border: 2px solid transparent;
}

.name-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  border-color: #2E7D32;
}

.name-card.learned {
  background: #f0f8f0;
  border-color: #4CAF50;
}

.name-arabic {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #2E7D32;
  font-weight: 500;
}

.name-english {
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.name-meaning {
  font-size: 0.9rem;
  color: #666;
}

.name-detail {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  padding: 30px;
  overflow-y: auto;
}

.detail-content {
  max-width: 700px;
  margin: 0 auto;
}

.detail-content h3 {
  color: #2E7D32;
  margin-bottom: 15px;
  text-align: center;
  font-size: 2rem;
}

.name-arabic {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 25px;
  color: #2E7D32;
  font-weight: 600;
}

.name-meaning {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 25px;
  color: #333;
  font-weight: 500;
}

.name-explanation, .name-benefits {
  margin-bottom: 30px;
}

.name-explanation h4, .name-benefits h4 {
  color: #2E7D32;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.name-explanation p, .name-benefits p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  text-align: justify;
}

.name-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin: 30px 0;
  flex-wrap: wrap;
}

.learning-stats {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 15px;
  border-left: 4px solid #2E7D32;
}

.learning-stats h4 {
  color: #2E7D32;
  margin-bottom: 20px;
  text-align: center;
}

.learning-stats .stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.learning-stats .stat {
  text-align: center;
  padding: 15px;
  background: white;
  border-radius: 10px;
}

.learning-stats .label {
  display: block;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 5px;
}

.learning-stats .value {
  display: block;
  font-size: 1.3rem;
  font-weight: bold;
  color: #2E7D32;
}

/* Progress Bar */
.progress-bar {
  width: 100%;
  height: 8px;
  background: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  margin: 10px 0;
}

.progress {
  height: 100%;
  background: linear-gradient(90deg, #4CAF50, #2E7D32);
  border-radius: 4px;
  transition: width 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
  .islamic-features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .feature-card {
    padding: 30px 20px;
  }
  
  .islamic-features-modal .modal-content {
    width: 95%;
    height: 90vh;
  }
  
  .islamic-features-tabs {
    flex-wrap: wrap;
  }
  
  .feature-tab {
    flex: 1 0 50%;
    padding: 15px;
    font-size: 0.8rem;
  }
  
  .prayer-header {
    flex-direction: column;
    align-items: stretch;
  }
  
  .location-info {
    flex-direction: column;
  }
  
  #live-clock {
    font-size: 2.5rem;
  }
  
  .date-display {
    flex-direction: column;
    gap: 10px;
  }
  
  .prayer-actions {
    flex-direction: column;
  }
  
  .progress-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .dhikr-types {
    grid-template-columns: 1fr;
  }
  
  .dua-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .dua-actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .names-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .names-search {
    max-width: none;
  }
  
  .names-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

@media (max-width: 480px) {
  .feature-content {
    padding: 20px;
  }
  
  .feature-icon {
    font-size: 3rem;
  }
  
  .feature-card h3 {
    font-size: 1.5rem;
  }
  
  #live-clock {
    font-size: 2rem;
  }
  
  .prayer-details h4 {
    font-size: 2rem;
  }
  
  .prayer-details p {
    font-size: 1.5rem;
  }
  
  .counter-display {
    font-size: 4rem;
  }
  
  .progress-stats {
    grid-template-columns: 1fr;
  }
}