/* Base Styles */
:root {
  --primary-color: #1565C0;
  --primary-hover: #0D47A1;
  --secondary-color: #FF9800;
  --secondary-hover: #F57C00;
  --text-color: #333333;
  --text-light: #666666;
  --background-color: #ffffff;
  --background-light: #f5f7fa;
  --border-color: #e1e5e9;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --gradient-start: #1565C0;
  --gradient-end: #FF9800;
  --success-color: #4CAF50;
  --error-color: #F44336;
  --border-radius: 8px;
  --transition-speed: 0.3s;
  --max-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--background-color);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 20px;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

a:hover {
  color: var(--primary-hover);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.section-header h2 {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.section-header h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  border-radius: 3px;
}

.gradient-text {
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  font-size: 16px;
}

.primary-btn {
  background-color: var(--primary-color);
  color: white;
  border: 2px solid var(--primary-color);
}

.primary-btn:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: white;
}

.secondary-btn {
  background-color: var(--secondary-color);
  color: white;
  border: 2px solid var(--secondary-color);
}

.secondary-btn:hover {
  background-color: var(--secondary-hover);
  border-color: var(--secondary-hover);
  color: white;
}

.outline-btn {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.outline-btn:hover {
  background-color: var(--primary-color);
  color: white;
}

.text-btn {
  background-color: transparent;
  color: var(--primary-color);
  padding: 8px 16px;
}

.text-btn:hover {
  background-color: rgba(21, 101, 192, 0.1);
}

/* Header & Navigation */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  padding: 15px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
  margin-right: 10px;
  border-radius: 0;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo .text-content {
  display: flex;
  flex-direction: column;
}

.logo .gradient-text {
  font-size: 1.8rem;
  line-height: 1;
}

.logo .subtitle {
  font-size: 0.9rem;
  color: var(--text-light);
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-menu li {
  margin-left: 20px;
}

.nav-menu li a {
  color: var(--text-color);
  font-weight: 500;
  padding: 8px;
  border-radius: var(--border-radius);
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: var(--primary-color);
}

.nav-menu li.cta-button a {
  background-color: var(--primary-color);
  color: white;
  padding: 8px 16px;
  border-radius: var(--border-radius);
}

.nav-menu li.cta-button a:hover {
  background-color: var(--primary-hover);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 3px 0;
  transition: transform 0.3s, opacity 0.3s;
}

/* Hero Section */
.hero {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-content {
  flex: 1;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-width: 100%;
  box-shadow: 0 20px 40px var(--shadow-color);
  border-radius: var(--border-radius);
}

.tagline {
  margin: 1.5rem 0;
  text-align: center;
}

.tagline span {
  font-size: 1.2rem;
  color: #666;
  font-style: italic;
  display: block;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

/* Features Section */
.features {
  padding: 80px 0;
  background-color: var(--background-color);
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 30px var(--shadow-color);
  transition: all var(--transition-speed) ease;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 20px;
}

.feature-icon i {
  font-size: 28px;
  color: white;
}

/* Boards Section */
.boards {
  padding: 80px 0;
  background-color: var(--background-light);
}

.board-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.board-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: 0 10px 30px var(--shadow-color);
}

.board-title {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.board-title i {
  font-size: 24px;
  margin-right: 15px;
  color: var(--primary-color);
}

.board-features li {
  position: relative;
  padding: 8px 0 8px 30px;
  border-bottom: 1px solid var(--border-color);
}

.board-features li:last-child {
  border-bottom: none;
}

.board-features li i {
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--success-color);
}

/* CTA Section */
.cta {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: white;
}

.cta h2 {
  margin-bottom: 20px;
}

.cta p {
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

/* Footer */
footer {
  background-color: #222;
  color: #fff;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3,
.footer-column h4 {
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-column p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-speed) ease;
}

.footer-column ul li a:hover {
  color: white;
  padding-left: 5px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all var(--transition-speed) ease;
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-column .contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column .contact-info li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  color: #fff;
}

.footer-column .contact-info li:last-child {
  margin-bottom: 0;
}

.footer-column .contact-info li i {
  margin-right: 10px;
  margin-top: 4px;
  color: var(--primary-color);
}

.footer-column .contact-info li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column .contact-info li a:hover {
  color: var(--primary-color);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
}

/* Dashboard Specific Styles */
.dashboard-page header {
  background-color: var(--primary-color);
  color: white;
}

.dashboard-navbar .logo .gradient-text,
.dashboard-navbar .logo .subtitle {
  color: white;
}

.dashboard-navbar .nav-menu li a {
  color: rgba(255, 255, 255, 0.8);
}

.dashboard-navbar .nav-menu li a:hover,
.dashboard-navbar .nav-menu li a.active {
  color: white;
}

.dashboard-header {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  padding: 60px 0;
  color: white;
}

.dashboard-content {
  padding: 60px 0;
  background-color: var(--background-light);
}

.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.dashboard-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px var(--shadow-color);
  transition: all var(--transition-speed) ease;
}

.dashboard-card:hover {
  transform: translateY(-5px);
}

.recent-activity {
  padding: 60px 0;
}

.activity-list {
  display: grid;
  gap: 15px;
}

.activity-item {
  display: flex;
  align-items: center;
  background-color: white;
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px var(--shadow-color);
}

.activity-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 20px;
  margin-right: 20px;
}

.activity-details {
  flex: 1;
}

.activity-details h4 {
  margin-bottom: 5px;
}

.activity-details p {
  color: var(--text-light);
  margin-bottom: 0;
  font-size: 14px;
}

.activity-date {
  font-weight: 500;
}

/* Videos Page Styles */
.videos-header {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  padding: 60px 0;
  color: white;
  text-align: center;
}

.video-filters {
  padding: 30px 0;
  background-color: white;
  border-bottom: 1px solid var(--border-color);
}

.filter-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-group label {
  font-weight: 500;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  background-color: var(--background-light);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.filter-btn:hover {
  background-color: rgba(21, 101, 192, 0.1);
}

.filter-btn.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.video-gallery {
  padding: 40px 0;
  background-color: var(--background-light);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.video-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: all var(--transition-speed) ease;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px var(--shadow-color);
}

.video-thumbnail {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
}

.video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail img {
  transform: scale(1.05);
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  opacity: 0.9;
  transition: all var(--transition-speed) ease;
}

.video-card:hover .play-icon {
  background-color: var(--primary-color);
  opacity: 1;
}

.video-info {
  padding: 20px;
}

.video-info h3 {
  margin-bottom: 5px;
  font-size: 18px;
}

.video-info p {
  color: var(--text-light);
  margin-bottom: 15px;
  font-size: 14px;
}

.video-link {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 500;
}

.video-link:hover {
  color: var(--primary-hover);
}

/* Login/Enrollment Form Styles */
.login-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
}

.auth-container {
  max-width: 1000px;
  margin: 0 auto;
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 15px 30px var(--shadow-color);
}

.auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
}

.tab-btn {
  flex: 1;
  padding: 15px;
  text-align: center;
  font-weight: 600;
  background-color: var(--background-light);
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.tab-btn.active {
  background-color: white;
  border-bottom: 3px solid var(--primary-color);
}

.tab-content {
  padding: 30px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.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(--border-color);
  border-radius: var(--border-radius);
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  transition: all var(--transition-speed) ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.2);
}

.form-submit {
  margin-top: 30px;
}

.form-submit .btn {
  width: 100%;
}

/* Course Purchase Styles */
.course-filters {
  padding: 30px 0;
  background-color: white;
  border-bottom: 1px solid var(--border-color);
}

.course-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.course-filter {
  background-color: var(--background-light);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.course-filter:hover {
  background-color: rgba(21, 101, 192, 0.1);
}

.course-filter.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.course-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: all var(--transition-speed) ease;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px var(--shadow-color);
}

.course-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-card:hover .course-image img {
  transform: scale(1.05);
}

.course-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--primary-color);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.course-content {
  padding: 20px;
}

.course-content h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.course-info {
  display: flex;
  justify-content: space-between;
  color: var(--text-light);
  margin-bottom: 15px;
  font-size: 14px;
}

.course-rating {
  display: flex;
  align-items: center;
  color: var(--secondary-color);
}

.course-rating i {
  margin-right: 5px;
}

.course-price {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.original-price {
  text-decoration: line-through;
  color: var(--text-light);
  margin-right: 10px;
}

.discounted-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
}

.purchase-btn {
  width: 100%;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    order: 2;
  }
  
  .hero-image {
    order: 1;
    margin-bottom: 30px;
  }
  
  .tagline {
    justify-content: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .filter-controls {
    flex-direction: column;
  }
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    flex-direction: column;
    width: 100%;
    background-color: white;
    box-shadow: 0 10px 10px var(--shadow-color);
    transition: left var(--transition-speed) ease;
    padding: 20px 0;
    align-items: flex-start;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu li {
    width: 100%;
    margin: 0;
  }
  
  .nav-menu li a {
    display: block;
    padding: 15px 20px;
  }
  
  .nav-menu li.cta-button {
    margin: 15px 20px;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
  
  .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
  }
  
  .auth-container {
    max-width: 90%;
  }
  
  .activity-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .activity-icon {
    margin-bottom: 15px;
  }
  
  .logo img {
    height: 40px;
  }
}

@media screen and (max-width: 480px) {
  .hero {
    padding: 60px 0;
  }
  
  .feature-cards,
  .dashboard-cards,
  .video-grid,
  .course-grid {
    grid-template-columns: 1fr;
  }
  
  .board-cards {
    grid-template-columns: 1fr;
  }
}

/* About Page Styles */
.about-hero {
  background-color: var(--background-light);
  padding: 80px 0;
  text-align: center;
}

.our-story {
  padding: 80px 0;
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.story-text {
  padding-right: 20px;
}

.story-image img {
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px var(--shadow-color);
}

.mission-vision {
  background-color: var(--background-light);
  padding: 80px 0;
}

.mv-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.mv-card {
  background-color: var(--background-color);
  padding: 40px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: 0 5px 20px var(--shadow-color);
  transition: transform var(--transition-speed) ease;
}

.mv-card:hover {
  transform: translateY(-5px);
}

.mv-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mv-icon i {
  font-size: 32px;
  color: white;
}

.why-choose-us {
  padding: 80px 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.benefit-card {
  text-align: center;
  padding: 30px;
  background-color: var(--background-light);
  border-radius: var(--border-radius);
  transition: transform var(--transition-speed) ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.benefit-card i {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.our-team {
  background-color: var(--background-light);
  padding: 80px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.team-member {
  text-align: center;
}

.member-image {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 5px 20px var(--shadow-color);
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Contact Page Styles */
.contact-hero {
  background-color: var(--background-light);
  padding: 80px 0;
  text-align: center;
}

.contact-info {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.contact-card {
  text-align: center;
  padding: 30px;
  background-color: var(--background-light);
  border-radius: var(--border-radius);
  transition: transform var(--transition-speed) ease;
}

.contact-card:hover {
  transform: translateY(-5px);
}

.contact-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon i {
  font-size: 24px;
  color: white;
}

.contact-form {
  padding: 80px 0;
  background-color: var(--background-light);
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--background-color);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 20px var(--shadow-color);
}

.form-content {
  width: 100%;
}

.form-content h2 {
  text-align: center;
  margin-bottom: 30px;
}

.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;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 16px;
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.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(21, 101, 192, 0.1);
}

.map-section {
  padding: 80px 0;
}

.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 20px var(--shadow-color);
}

.faq-section {
  padding: 80px 0;
  background-color: var(--background-light);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--background-color);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 20px var(--shadow-color);
}

.faq-item h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Responsive Styles for About and Contact Pages */
@media screen and (max-width: 992px) {
  .story-content {
    grid-template-columns: 1fr;
  }

  .story-text {
    padding-right: 0;
    text-align: center;
  }

  .mv-cards {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .about-hero,
  .contact-hero {
    padding: 60px 0;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .form-container {
    padding: 20px;
  }
}

@media screen and (max-width: 480px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* QR Code Modal Styles */
.qr-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  overflow-y: auto;
}

.qr-modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 2rem;
  border-radius: 10px;
  max-width: 600px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.close-modal {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #666;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: #333;
}

.qr-code-container {
  text-align: center;
  margin: 2rem auto;
  padding: 1rem;
  background-color: #f9f9f9;
  border-radius: 8px;
  max-width: 300px;
}

.qr-code {
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.payment-details {
  background-color: #f5f5f5;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem auto;
  text-align: center;
  max-width: 400px;
}

.payment-details p {
  margin: 0.5rem 0;
  color: #333;
  font-size: 1.1rem;
}

.payment-instructions {
  margin: 1.5rem auto;
  text-align: center;
  max-width: 500px;
}

.payment-instructions h3 {
  color: #333;
  margin-bottom: 1rem;
  text-align: center;
}

.payment-instructions ol {
  padding-left: 1.5rem;
  text-align: left;
  display: inline-block;
}

.payment-instructions li {
  margin: 0.5rem 0;
  color: #555;
}

.payment-note {
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
  color: #856404;
  padding: 1rem;
  border-radius: 8px;
  margin: 1.5rem auto;
  text-align: center;
  max-width: 500px;
}

.payment-note i {
  margin-right: 0.5rem;
}

.payment-note a {
  color: #0056b3;
  text-decoration: none;
}

.payment-note a:hover {
  text-decoration: underline;
}

/* Donation Button Styles */
.donation-methods {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.donation-method {
  width: 100%;
  text-align: center;
  padding: 2rem;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.donation-method h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-align: center;
}

.donation-method p {
  color: #666;
  margin-bottom: 1.5rem;
  text-align: center;
}

.donation-amounts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.amount-btn {
  padding: 0.8rem 1.5rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background-color: #fff;
  color: #333;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
  text-align: center;
}

.amount-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.amount-btn.active {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.amount-btn.custom {
  background-color: #f5f5f5;
  border-style: dashed;
}

.donate-btn {
  margin: 1.5rem auto;
  width: 200px;
  display: block;
}

.thank-you-message {
  margin-top: 2rem;
  padding: 1.5rem;
  background-color: #f8f9fa;
  border-radius: 8px;
  text-align: center;
}

.thank-you-message p {
  color: #333;
  font-weight: 500;
  margin-bottom: 1rem;
  text-align: center;
}

.thank-you-message ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 400px;
}

.thank-you-message li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: #555;
  text-align: left;
}

.thank-you-message li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

@media (max-width: 768px) {
  .thank-you-message {
    padding: 1rem;
  }
  
  .thank-you-message li {
    font-size: 0.9rem;
  }
}

/* Coming Soon Card Styles */
.video-card.coming-soon {
  position: relative;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.video-card.coming-soon:hover {
  opacity: 1;
  transform: translateY(-5px);
}

.coming-soon-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.coming-soon-overlay span {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem 1rem;
  border: 2px solid #fff;
  border-radius: 4px;
}

.video-card.coming-soon .play-icon {
  background: rgba(255, 255, 255, 0.2);
}

.video-card.coming-soon .play-icon i {
  color: #fff;
}

.coming-soon-text {
  display: block;
  color: #666;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  font-style: italic;
}

/* Responsive adjustments for coming soon cards */
@media (max-width: 768px) {
  .coming-soon-overlay span {
    font-size: 1.2rem;
    padding: 0.3rem 0.8rem;
  }
  
  .coming-soon-text {
    font-size: 0.8rem;
  }
}

/* Books Page Styles */
.books-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/books-bg.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 100px 0;
  text-align: center;
}

.books-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.books-info {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.books-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.books-text h2 {
  color: var(--text-color);
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.books-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.books-features li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.books-features li i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 1.2rem;
}

.books-pricing h3, .delivery-info h3 {
  color: var(--text-color);
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.price-table {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 30px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  padding: 15px 20px;
  border-bottom: 1px solid #e0e0e0;
}

.price-row:last-child {
  border-bottom: none;
}

.price-row.total {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
}

.price-item {
  flex: 1;
}

.price-amount {
  font-weight: 600;
  color: var(--primary-color);
}

.price-row.total .price-amount {
  color: white;
}

.delivery-options {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.delivery-options li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.delivery-options li i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 1.2rem;
}

.stock-note {
  color: #e74c3c;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.stock-note i {
  margin-right: 10px;
}

.order-instructions {
  padding: 80px 0;
}

.order-steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 50px;
}

.order-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.step-number {
  background-color: var(--primary-color);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.step-content h3 {
  color: var(--text-color);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.step-content p {
  margin-bottom: 10px;
}

.step-content ul {
  padding-left: 20px;
  margin-bottom: 10px;
}

.payment-section {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
}

.payment-section h3 {
  color: var(--text-color);
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.payment-section .qr-code-container {
  max-width: 300px;
  margin: 0 auto 20px;
}

.payment-section .qr-code {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.payment-note {
  background-color: #fff3cd;
  color: #856404;
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
}

.payment-note p {
  margin: 0;
  display: flex;
  align-items: center;
}

.payment-note i {
  margin-right: 10px;
}

@media (max-width: 768px) {
  .books-hero {
    padding: 60px 0;
  }
  
  .books-hero h1 {
    font-size: 2rem;
  }
  
  .books-info, .order-instructions {
    padding: 50px 0;
  }
  
  .price-row {
    flex-direction: column;
    gap: 5px;
  }
  
  .price-amount {
    margin-top: 5px;
  }
  
  .order-step {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .step-number {
    margin-bottom: 10px;
  }
}

/* Book Ordering Styles */
.book-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 1.5rem 0;
}

.medium-option {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.medium-option h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.medium-option ul {
  list-style: none;
  padding: 0;
}

.medium-option li {
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.delivery-note {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
}

.delivery-note p {
  margin: 0.5rem 0;
  color: var(--text-color);
}

.order-details-list {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 10px;
  margin: 1rem 0;
}

.order-details-list ol {
  padding-left: 1.5rem;
}

.order-details-list li {
  margin-bottom: 1rem;
  color: var(--text-color);
}

.order-details-list strong {
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.3rem;
}

.order-note {
  background: rgba(255, 165, 0, 0.1);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
}

.order-note p {
  color: var(--text-color);
  margin: 0;
}

.support-note {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
}

.support-note p {
  margin: 0.5rem 0;
  color: var(--text-color);
}

.support-note a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.support-note a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .book-options {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .medium-option {
    padding: 1rem;
  }
  
  .order-details-list {
    padding: 1rem;
  }
}

/* Gallery Section Styles */
.gallery-section {
  padding: 60px 0;
  background-color: var(--background-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Fixed 4 columns */
  gap: 20px;
  margin: 20px auto;
  max-width: 1800px;
  padding: 0 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  aspect-ratio: 4/3; /* Consistent aspect ratio */
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: transform 0.3s ease;
  height: 300px; /* Reduced fixed height */
  width: 100%;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Gallery Modal Styles */
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  padding: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  cursor: pointer;
}

.gallery-modal-content {
  margin: auto;
  display: block;
  width: 90%;
  height: 90vh;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  cursor: default;
  animation: zoom 0.3s ease;
  padding: 20px;
}

@keyframes zoom {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.gallery-close {
  position: fixed;
  right: 15px;
  top: 15px;
  font-size: 35px;
  color: #fff;
  text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.gallery-caption {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.7);
  padding: 15px;
  margin: 0;
  width: 100%;
  max-width: 100%;
}

/* Responsive Breakpoints */
@media (max-width: 1400px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .gallery-item {
    height: 250px;
  }
}

@media (max-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .gallery-item {
    height: 220px;
  }
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-item {
    height: 200px;
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .gallery-item {
    height: 250px;
  }
  
  .gallery-modal-content {
    width: 100%;
    height: 100vh;
    padding: 10px;
  }
}

/* Portrait Mobile Styles */
@media (max-width: 768px) and (orientation: portrait) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-item {
    height: 180px;
  }
}

/* Landscape Mobile Styles */
@media (max-width: 768px) and (orientation: landscape) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .gallery-item {
    height: 150px;
  }
}

/* Order Form Styles */
.order-form-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.order-form-container {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  padding: 40px;
}

/* Progress Steps */
.progress-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.progress-steps::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: #e0e0e0;
  transform: translateY(-50%);
  z-index: 1;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  background: #fff;
  padding: 0 20px;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e0e0e0;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.step.active .step-number {
  background: var(--primary-color);
  color: #fff;
}

.step-title {
  font-size: 14px;
  color: #666;
  text-align: center;
}

/* Form Steps */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

/* Book Selection */
.book-selection {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.medium-option {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
}

.medium-option h3 {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.book-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.book-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.book-checkbox {
  width: 20px;
  height: 20px;
}

.book-item label {
  flex: 1;
  font-weight: 500;
}

.price {
  color: var(--primary-color);
  font-weight: 600;
  min-width: 60px;
  text-align: right;
}

.quantity {
  width: 60px;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
}

.total-amount {
  text-align: right;
  margin: 20px 0;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
}

.total-amount h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
}

/* Personal Details Form */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary-color);
  outline: none;
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

/* Payment Section */
.payment-details {
  text-align: center;
}

.amount-display {
  margin-bottom: 30px;
}

.amount-display h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
}

.qr-code-section {
  margin-bottom: 30px;
}

.qr-code-container {
  max-width: 300px;
  margin: 20px auto;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.qr-code-container img {
  width: 100%;
  height: auto;
}

.payment-note {
  color: #666;
  font-size: 14px;
  margin-top: 10px;
}

.screenshot-upload {
  margin: 30px 0;
}

.screenshot-upload input[type="file"] {
  display: block;
  margin: 15px auto;
  padding: 10px;
  border: 2px dashed #ddd;
  border-radius: 6px;
  width: 100%;
  max-width: 400px;
}

.upload-note {
  color: #666;
  font-size: 14px;
}

/* Form Navigation */
.form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.form-navigation button {
  padding: 12px 30px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn.primary-btn {
  background: var(--primary-color);
  color: #fff;
  border: none;
}

.btn.primary-btn:hover {
  background: var(--primary-dark);
}

.btn.outline-btn {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn.outline-btn:hover {
  background: var(--primary-color);
  color: #fff;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .order-form-container {
    padding: 20px;
  }

  .book-selection {
    grid-template-columns: 1fr;
  }

  .progress-steps {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .progress-steps::before {
    display: none;
  }

  .step {
    flex-direction: row;
    gap: 15px;
    padding: 0;
  }

  .step-number {
    margin-bottom: 0;
  }

  .form-navigation {
    flex-direction: column;
    gap: 15px;
  }

  .form-navigation button {
    width: 100%;
  }
}

.amount-breakdown {
  margin-top: 20px;
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
}

.amount-breakdown table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 15px;
}

.amount-breakdown td {
  padding: 8px;
  border-bottom: 1px solid #dee2e6;
}

.amount-breakdown tr:last-child td {
  border-bottom: none;
}

.amount-breakdown .total-row {
  font-weight: bold;
  font-size: 1.1em;
}

.amount-breakdown .total-row td {
  padding-top: 12px;
}

.delivery-info {
  background: #e9ecef;
  padding: 15px;
  border-radius: 6px;
  margin-top: 15px;
}

.delivery-info p {
  margin-bottom: 10px;
}

.delivery-info ul {
  margin: 0;
  padding-left: 20px;
}

.delivery-info li {
  margin-bottom: 5px;
}

