    :root {
      --primary: #8b0000;
      --secondary: #d4af37;
      --accent: #006b3f;
      --dark: #1a1a1a;
      --light: #f9f6f0;
      --text: #333;
      --shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      --transition: all 0.3s ease;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
	html {
     scroll-behavior: smooth; /* Enables smooth scrolling */
	 overflow-x: hidden;
	 
}

    body {
      font-family: 'Poppins', sans-serif;
      color: var(--text);
      background-color: var(--light);
      line-height: 1.6;
      overflow-x: hidden;
    }

    h1, h2, h3, h4 {
      font-family: 'Playfair Display', serif;
      font-weight: 700;
    }

    /* Header Styles */
header {
  background: linear-gradient(to right, var(--dark), var(--primary));
  color: white;
  padding: 15px 5%;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  height: 60px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--secondary);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-links li {
  padding: 0px 2px; /* Increase horizontal padding */	
  text-align: center;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 4px;
  transition: var(--transition);
  position: relative;
  display: inline-block;
}

.nav-links a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--secondary);
  transition: var(--transition);
}

.nav-links a:hover:after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--secondary);
}

.auth-btn {
  font-weight: 600;
  border-radius: 4px;
  transition: var(--transition);
  font-size: 0.95rem;
  line-height: 1;
  border: 2px solid var(--secondary);
}

.login-btn {
  background-color: var(--secondary);
  color: var(--dark);
}

.login-btn:hover {
  background-color: transparent;
  color: var(--secondary);
}

.signup-btn {
  background-color: var(--secondary);
  color: var(--dark);
}

.signup-btn:hover {
  background-color: transparent;
  color: var(--secondary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Responsive Menu */
@media screen and (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    background-color: var(--dark);
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    padding: 20px 0;
    align-items: center;
    text-align: center;

    max-height: 80vh;          /* Limit height */
    overflow-y: auto;          /* Enable vertical scroll */
    scrollbar-width: thin;     /* Optional: thinner scrollbars */
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 10px 0;
    width: 100%;
  }

  .nav-links a {
    width: 100%;
    display: block;
  }

  .mobile-menu-btn {
    display: block;
    margin-left: 15px;
  }
  .auth-btn {
    width: auto;
    padding: 8px 20px;
  }
}
/* 🔍 Search Bar Styles */
.search-bar-container {
  display: flex;
  align-items: center;
}

.nav-search-form {
  display: flex;
  align-items: center;
  background-color: white;
  border-radius: 20px;
  overflow: hidden;
  padding: 2px 5px;
  height: 32px;
}

.nav-search-form input[type="text"] {
  border: none;
  padding: 4px 10px;
  font-size: 0.9rem;
  border-radius: 20px;
  outline: none;
  width: 120px;
}

.nav-search-form button {
  background: transparent;
  border: none;
  color: var(--primary);
  cursor: pointer;
  font-size: 1rem;
  padding: 0 8px;
}

@media screen and (max-width: 768px) {
  .search-bar-container {
    width: 100%;
    justify-content: center;
    margin: 10px 0;
  }

  .nav-search-form input[type="text"] {
    width: 90%;
  }
}


.login-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  background-color: var(--light);
  min-height: 100vh;
}

.login-container {
  background-color: white;
  padding: 40px 30px;
  max-width: 500px;
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 5px solid var(--secondary);
}

.login-container h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.login-container p {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 25px;
}

.login-form .form-group {
  text-align: left;
  margin-bottom: 20px;
  position: relative;
}

.login-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: var(--primary);
}

.login-form input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: var(--transition);
}

.login-form input:focus {
  border-color: var(--secondary);
  outline: none;
  box-shadow: 0 0 5px var(--secondary);
}

/* Toggle password icon */
.toggle-password {
  position: absolute;
  top: 38px;
  right: 15px;
  cursor: pointer;
  color: var(--text);
  font-size: 1rem;
}

.toggle-password:hover {
  color: var(--primary);
}

.btn-submit {
  width: 100%;
  background-color: var(--secondary);
  color: var(--dark);
  border: none;
  padding: 12px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.btn-submit:hover {
  background-color: var(--primary);
  color: white;
}

.login-footer {
  margin-top: 20px;
  font-size: 0.9rem;
}

.login-footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.login-footer a:hover {
  text-decoration: underline;
}

/* Go Back Home Link */
.go-back-home {
  display: block;
  margin-top: 25px;
  font-size: 0.95rem;
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
  text-align: center;
}

.go-back-home:hover {
  text-decoration: underline;
  color: var(--primary);
}
.password-group {
  position: relative;
}

.password-group input {
  padding-right: 40px; /* space for the eye icon */
}

.password-group .toggle-password {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  cursor: pointer;
  color: #888;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.password-group .toggle-password:hover {
  color: var(--primary);
}





    /* Hero Section */
    .hero {
      background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                  url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
      background-size: cover;
      background-position: center;
      color: white;
      padding: 120px 5%;
      text-align: center;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      min-height: 90vh;
    }

    .hero h1 {
      font-size: 3.5rem;
      margin-bottom: 20px;
      line-height: 1.2;
      max-width: 900px;
      text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    }

    .hero p {
      font-size: 1.4rem;
      margin-bottom: 40px;
      max-width: 700px;
    }

    .hero-buttons {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
      justify-content: center;
    }

    .btn {
      padding: 14px 32px;
      border: none;
      border-radius: 4px;
      font-weight: 600;
      font-size: 1.1rem;
      cursor: pointer;
      transition: var(--transition);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
    }

    .btn-primary {
      background: var(--secondary);
      color: var(--dark);
	  text-decoration: none;
    }

    .btn-secondary {
      background: transparent;
      color: white;
      border: 2px solid var(--secondary);
	  text-decoration: none;
    }

    .btn:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow);
    }

    .btn-primary:hover {
      background: #c19b2c;
    }

    .btn-secondary:hover {
      background: rgba(212, 175, 55, 0.1);
    }

    /* Section Styles */
    .section {
      padding: 40px 5%;
      max-width: 1400px;
      margin: 0 auto;
    }

    .section-title {
      text-align: center;
      margin-bottom: 60px;
      position: relative;
    }

    .section-title h2 {
      font-size: 2.5rem;
      color: var(--primary);
      display: inline-block;
    }

    .section-title h2:after {
      content: '';
      display: block;
      width: 80px;
      height: 4px;
      background: var(--secondary);
      margin: 15px auto;
      border-radius: 2px;
    }

/* Sections Scrolling Top Margin */
#about-us, #publish, #authors, #stories, #contact, #author-profile-section, #alp-registration-form, #alp-clubs{
  scroll-margin-top: 80px;
}

/* ===============================
   SLIDE ANIMATIONS WITH MOBILE FALLBACK
   =============================== */
.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: transform, opacity;
  position: relative;
}

/* When in view */
.slide-in-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Slide In From Left for Image */
.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: transform, opacity;
  position: relative;
}

.slide-in-left.active {
  opacity: 1;
  transform: translateX(0);
}

/* ===============================
   MOBILE FALLBACK - ADD THIS
   =============================== */
@media (max-width: 900px) {
  .slide-in-right,
  .slide-in-left {
    opacity: 1 !important;
    transform: translateX(0) !important;
  }
}



/* About Us Section */
.about-us {
  background-color: var(--light);
  padding: 40px 5%;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: center;
  justify-content: center;
  max-width: 1300px;
  margin: 0 auto;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.about-content {
  flex: 1;
  min-width: 300px;
}

.about-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.7;
}

/* Button Styles for About Section */
.about-content .btn {
  padding: 14px 32px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
}

.about-content .btn-primary {
  background: var(--secondary);
  color: var(--dark);
}

.about-content .btn-primary:hover {
  background: #c19b2c;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* Founder Section */
.founder {
  background-color: var(--light);
  padding: 100px 5%;
}

.founder-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 60px;
  max-width: 1300px;
  margin: 0 auto;
  justify-content: center;
}

.founder-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.founder-content {
  flex: 1;
  min-width: 300px;
}

.founder-content h2 {
  color: var(--primary);
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.founder-content h3 {
  color: var(--accent);
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.founder-content p {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 30px;
}

/* Slider Section */
.african-legends-slider-section {
  width: 100%;
  overflow: hidden;
  background: #000;
  position: relative;
}

/* Image Slider Styling */
.about-photo-slider {
    position: relative;
    width: 100%; /* Full viewport width */
    height: 600px; /* Increased height */
    overflow: hidden;
    border-radius: 0; /* Optional: full-width feel */
    margin: 0 auto;
    background-color: #000000;
}

.about-photo-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.about-photo-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fill the container and crop if needed */
    transition: transform 0.3s ease;
    border-radius: 0;
}

/* Hover effect for the images */
.about-photo-slider .slide img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .about-photo-slider {
        height: 400px; /* Adjusted height for mobile */
    }
}









/* Authors Section Styles */
.authors_page_main {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.authors_page_main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #7A1113, transparent);
}

.authors_container {
  max-width: 1200px;
  margin: 0 auto;
}

.authors_header {
  text-align: center;
  margin-bottom: 60px;
}

.authors_title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #7A1113;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.authors_title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #7A1113, #DAA520);
  border-radius: 2px;
}

.authors_subtitle {
  font-size: 1.3rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Authors Grid */
.authors_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

/* Author Card */
.author_card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  border: 1px solid rgba(122, 17, 19, 0.1);
}

.author_card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 50px rgba(122, 17, 19, 0.15);
  border-color: rgba(122, 17, 19, 0.3);
}

.author_card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #7A1113, #DAA520);
  z-index: 2;
}

.author_image_container {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: #f5f5f5; /* Optional: adds a subtle background behind images with transparency */
  display: flex;
  align-items: center;
  justify-content: center;
}

.author_image {
  width: 100%;
  height: 100%;
  object-fit: contain; /* ensures the full image fits without cropping */
  transition: transform 0.6s ease;
}

.author_card:hover .author_image {
  transform: scale(1.02); /* smaller zoom to keep full image visible */
}


.author_image_placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #7A1113, #520d0e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 4rem;
}

.author_content {
  padding: 30px;
  position: relative;
}

.author_name {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #7A1113;
  margin-bottom: 15px;
  line-height: 1.2;
}

.author_description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.95rem;
}

.author_actions {
  display: flex;
  gap: 15px;
  align-items: center;
}

.btn_view_books {
  background: linear-gradient(135deg, #7A1113, #520d0e);
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(122, 17, 19, 0.2);
}

.btn_view_books:hover {
  background: linear-gradient(135deg, #520d0e, #7A1113);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(122, 17, 19, 0.3);
  color: white;
}

.btn_view_books i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.btn_view_books:hover i {
  transform: translateX(3px);
}

.author_books_count {
  background: #f8f9fa;
  color: #7A1113;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(122, 17, 19, 0.2);
}

/* Authors CTA Section */
.authors_cta {
  text-align: center;
  padding: 60px 40px;
  background: linear-gradient(135deg, #7A1113, #520d0e);
  border-radius: 20px;
  color: white;
  position: relative;
  overflow: hidden;
}

.authors_cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
}

.authors_cta_content {
  position: relative;
  z-index: 2;
}

.authors_cta_title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.authors_cta_text {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn_become_author {
  background: white;
  color: #7A1113;
  padding: 15px 35px;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn_become_author:hover {
  background: #f8f9fa;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  color: #520d0e;
}

/* Loading State */
.authors_loading {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}

.authors_loading_spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #7A1113;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Empty State */
.authors_empty {
  text-align: center;
  padding: 80px 20px;
  color: #666;
}

.authors_empty_icon {
  font-size: 4rem;
  color: #ddd;
  margin-bottom: 20px;
}

.authors_empty_text {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .authors_page_main {
    padding: 60px 15px;
  }
  
  .authors_title {
    font-size: 2.5rem;
  }
  
  .authors_subtitle {
    font-size: 1.1rem;
  }
  
  .authors_grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .author_image_container {
    height: 250px;
  }
  
  .author_content {
    padding: 25px;
  }
  
  .author_name {
    font-size: 1.5rem;
  }
  
  .authors_cta {
    padding: 40px 25px;
  }
  
  .authors_cta_title {
    font-size: 2rem;
  }
  
  .authors_cta_text {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .authors_title {
    font-size: 2rem;
  }
  
  .author_actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  
  .btn_view_books {
    text-align: center;
    justify-content: center;
  }
}
/* Update author actions for two buttons */
.author_actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.btn_view_author {
  background: linear-gradient(135deg, #DAA520, #b8860b);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  box-shadow: 0 4px 15px rgba(218, 165, 32, 0.2);
}

.btn_view_author:hover {
  background: linear-gradient(135deg, #b8860b, #daa520);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(218, 165, 32, 0.3);
  color: white;
}

.btn_view_books {
  background: linear-gradient(135deg, #7A1113, #520d0e);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  box-shadow: 0 4px 15px rgba(122, 17, 19, 0.2);
}

.btn_view_books:hover {
  background: linear-gradient(135deg, #520d0e, #7A1113);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(122, 17, 19, 0.3);
  color: white;
}

.btn_view_author i,
.btn_view_books i {
  font-size: 0.8rem;
}

/* Mobile responsive for buttons */
@media (max-width: 480px) {
  .author_actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  
  .btn_view_author,
  .btn_view_books {
    text-align: center;
    justify-content: center;
  }
}




/* Books Authored Section */
.books-authored-section {
  padding: 40px 5px;
  background-color: #E5E4E2;
  text-align: center;
}

.books-authored-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center; /* Center inner content horizontally */
  justify-content: center;
  text-align: center;
}

.books-authored-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
  text-align: center;
}

.books-authored-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--secondary);
  margin: 8px auto 0 auto;
  border-radius: 2px;
}

.books-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center; /* Center the book cards */
}

.book-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  text-align: left;
  width: 260px; /* Set a fixed width for consistent layout in flex */
}

.book-card:hover {
  transform: translateY(-8px);
}

.book-image {
  width: 100%;
  height: 250px;
  object-fit: contain; /* Prevents cropping */
  background-color: #fff; /* Keeps background clean */
  padding: 10px; /* Adds spacing if image doesn't fill container */
}

.book-details {
  padding: 20px;
}

.book-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
}

.book-description {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

/* Reuse button styling */
.books-authored-section .author-profile-back-button {
  margin-top: 50px;
}



	

    /* Why Publish Section */
    .why-publish {
      background: linear-gradient(to right, var(--dark), var(--primary));
      color: white;
      position: relative;
      overflow: hidden;
    }

    .why-publish .section-title h2 {
      color: var(--secondary);
    }

    .why-publish-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 30px;
      max-width: 1200px;
      margin: 0 auto;
    }

    .publish-card {
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      padding: 30px;
      border-radius: 10px;
      text-align: center;
      transition: var(--transition);
      border: 1px solid rgba(212, 175, 55, 0.3);
    }

    .publish-card:hover {
      transform: translateY(-8px);
      background: rgba(212, 175, 55, 0.15);
      border-color: var(--secondary);
    }

    .publish-icon {
      font-size: 3rem;
      margin-bottom: 20px;
      color: var(--secondary);
    }

    .publish-card strong {
      display: block;
      font-size: 1.3rem;
      margin-bottom: 15px;
    }

    .quote-container {
      max-width: 800px;
      margin: 60px auto 0;
      text-align: center;
      padding: 30px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 10px;
      border-left: 4px solid var(--secondary);
    }

    .quote {
      font-style: italic;
      font-size: 1.4rem;
      line-height: 1.6;
      position: relative;
      padding: 0 30px;
    }

    .quote:before, .quote:after {
      content: '"';
      font-size: 3rem;
      position: absolute;
      color: var(--secondary);
      opacity: 0.3;
    }

    .quote:before {
      top: -20px;
      left: -10px;
    }

    .quote:after {
      bottom: -40px;
      right: -10px;
    }
	
	

/* Get Published Form Section */
.get-published-form {
  padding: 80px 0;
  background: var(--light);
}

.get-published-form .section-title h2 {
  color: var(--primary);
  margin-bottom: 10px;
}

.get-published-form .section-title p {
  color: var(--text);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

.publish-form-container {
  max-width: 800px;
  margin: 40px auto 0;
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(139, 0, 0, 0.1);
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row .form-group {
  flex: 1;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary);
}

/* Updated form control classes */
.alp-form-control {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 16px;
  transition: var(--transition);
  background: #f8f9fa;
  font-family: 'Poppins', sans-serif;
}

.alp-form-control:focus {
  outline: none;
  border-color: var(--secondary);
  background: white;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

textarea.alp-form-control {
  resize: vertical;
  min-height: 100px;
}

.radio-group {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 500;
  color: var(--text);
}

.radio-label input[type="radio"] {
  margin: 0;
  accent-color: var(--primary);
}

.file-help {
  display: block;
  margin-top: 5px;
  color: var(--text);
  font-size: 0.875rem;
  opacity: 0.8;
}

.form-submit {
  text-align: center;
  margin-top: 30px;
}

.btn-large {
  padding: 15px 40px;
  font-size: 1.1rem;
  border-radius: 50px;
  position: relative;
  background: var(--secondary);
  color: var(--dark);
  border: none;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}

.btn-large:hover {
  background: #c19b2c;
  transform: translateY(-2px);
}

.btn-large i {
  margin-right: 8px;
}

/* Spinner styles for the submit button */
#alpSubmitSpinner {
  display: none;
}

#alpSubmitText {
  display: block;
}

.btn-large:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

/* Success and Error Messages */
.success-message {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.error-message {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .publish-form-container {
    padding: 30px 20px;
    margin: 30px 15px 0;
  }
  
  .radio-group {
    flex-direction: column;
    gap: 15px;
  }
  
  .get-published-form {
    padding: 60px 0;
  }
}

/* Manuscript Decision Section Styles */
.manuscript-decision-container {
  text-align: center;
  margin: 50px auto 30px;
  max-width: 800px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.decision-prompt h3 {
  color: var(--secondary);
  font-size: 1.8rem;
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
}

.decision-prompt p {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 25px;
  opacity: 0.9;
}

.decision-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-manuscript-yes, .btn-manuscript-no {
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 250px;
  justify-content: center;
}

.btn-manuscript-yes {
  background: var(--secondary);
  color: var(--dark);
}

.btn-manuscript-no {
  background: transparent;
  color: white;
  border: 2px solid var(--secondary);
}

.btn-manuscript-yes:hover {
  background: #c19b2c;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.btn-manuscript-no:hover {
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* Responsive Design */
@media (max-width: 768px) {
  .manuscript-decision-container {
    margin: 30px 15px;
    padding: 20px;
  }
  
  .decision-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-manuscript-yes, .btn-manuscript-no {
    width: 100%;
    min-width: auto;
  }
  
  .decision-prompt h3 {
    font-size: 1.5rem;
  }
  
  .decision-prompt p {
    font-size: 1.1rem;
  }
}


	
	

    /* Stories Section */
    .stories-container {
      display: grid;
      grid-template-columns: 1fr;
      gap: 25px;
      max-width: 800px;
      margin: 0 auto;
    }

    .story-card {
      display: flex;
      background: white;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: var(--transition);
    }

    .story-card:hover {
      transform: translateX(10px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }
	
.story-img {
  width: 200px;
  height: 150px;
  object-fit: contain;  /* Ensures the full image is visible without cropping */
  flex-shrink: 0;
}


    .story-content {
      padding: 20px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .story-content strong {
      font-size: 1.2rem;
      display: block;
      margin-bottom: 10px;
      color: var(--primary);
    }

    .story-link {
      color: var(--accent);
      text-decoration: none;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-top: 10px;
    }

    .story-link:hover {
      color: var(--primary);
    }

    /* Mission Section */
    .mission {
      background: url('https://images.unsplash.com/photo-1542662565-7e4b66bae529?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') no-repeat center center;
      background-size: cover;
      position: relative;
      text-align: center;
    }

    .mission-overlay {
      background: rgba(0, 0, 0, 0.7);
      padding: 80px 5%;
    }

    .mission .section-title h2 {
      color: var(--secondary);
    }

    .mission-quote {
      font-size: 1.8rem;
      max-width: 900px;
      margin: 0 auto 40px;
      color: white;
      line-height: 1.7;
      font-style: italic;
    }

    .mission-quote span {
      color: var(--secondary);
      font-weight: 700;
    }


/* Publishing Process Section */
.publishing-process {
  background: var(--light);
  padding: 40px 5%;
}
.process-container {
  max-width: 1300px;
  margin: 0 auto;
}
.process-content {
  text-align: center;
  margin-bottom: 50px;
}
.process-content h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}
.process-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}
.step {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  flex: 1 1 250px;
  text-align: center;
  transition: transform 0.3s ease;
}
.step:hover {
  transform: translateY(-10px);
}
.step-number {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  margin-bottom: 15px;
}


/* Share Your Story Section (matches Readers' Corner style) */
.share-stories {
  background: var(--light);
  padding: 40px 5%;
}

/* Title centered above */
.share-title {
  text-align: center;
  margin-bottom: 50px;
}

.share-title h2 {
  font-size: 2.5rem;
  color: var(--primary);
}

/* Container for image + text row */
.share-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
  max-width: 1300px;
  margin: 0 auto;
}

/* Image (left on wide screens) */
.share-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  display: block;
}

/* Content (right) */
.share-content {
  flex: 1;
  min-width: 300px;
}

.share-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.7;
}

/* Button tweak (keeps your site .btn/.btn-primary behavior but ensures spacing) */
.share-btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  transition: var(--transition);
}

.share-btn:focus,
.share-btn:hover {
  transform: translateY(-3px);
}

/* Responsive: stack on small screens */
@media (max-width: 768px) {
  .share-container {
    flex-direction: column;
    gap: 30px;
  }
  .share-title h2 {
    font-size: 2rem;
  }
}


/* Prize Section */
.prizes-title {
  text-align: center;
  margin: 60px 0 30px;
}

.prizes-title h3 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.prizes-title p {
  font-size: 1.1rem;
  color: var(--text);
}

/* Prizes Container */
.prizes-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

/* Individual Prize Cards */
.prize-card {
  background: #fff;
  width: 300px;
  padding: 25px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.prize-card:hover {
  transform: translateY(-8px);
}

/* Icon Style */
.prize-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.prize-card h4 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.prize-card p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .prizes-container {
    flex-direction: column;
    align-items: center;
  }

  .prize-card {
    width: 90%;
  }
}


/* Start Date Section Styles */
.start-date-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  padding: 40px 20px;
  margin: 40px auto;
  border-radius: 15px;
  max-width: 800px;
  box-shadow: var(--shadow);
  border: 2px solid rgba(212, 175, 55, 0.3);
  position: relative;
  overflow: hidden;
}

.start-date-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
}

.start-date-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  text-align: left;
  position: relative;
  z-index: 2;
}

.start-date-icon {
  font-size: 3rem;
  color: var(--secondary);
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 50%;
  border: 2px solid var(--secondary);
  backdrop-filter: blur(10px);
}

.start-date-content h3 {
  color: var(--secondary);
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
}

.start-date {
  color: white;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  font-family: 'Playfair Display', serif;
}

.start-date-note {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin: 0;
  font-weight: 500;
}

/* Responsive Design for Start Date Section */
@media screen and (max-width: 768px) {
  .start-date-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .start-date-icon {
    font-size: 2.5rem;
    padding: 15px;
  }
  
  .start-date {
    font-size: 1.8rem;
  }
  
  .start-date-content h3 {
    font-size: 1.3rem;
  }
  
  .start-date-section {
    margin: 30px 15px;
    padding: 30px 15px;
  }
}

@media screen and (max-width: 480px) {
  .start-date {
    font-size: 1.5rem;
  }
  
  .start-date-content h3 {
    font-size: 1.2rem;
  }
  
  .start-date-note {
    font-size: 0.9rem;
  }
}


/* Countdown Timer Styles */
.countdown-timer {
  margin: 25px 0;
  padding: 20px 0;
}

.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.countdown-item {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid var(--secondary);
  border-radius: 12px;
  padding: 15px 10px;
  min-width: 80px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.countdown-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--secondary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.countdown-item:hover::before {
  transform: scaleX(1);
}

.countdown-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.countdown-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--secondary);
  font-family: 'Playfair Display', serif;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1;
  margin-bottom: 5px;
}

.countdown-label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Pulse animation for the countdown */
@keyframes countdown-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.countdown-number.animating {
  animation: countdown-pulse 0.5s ease;
}

/* Responsive Design for Countdown */
@media screen and (max-width: 768px) {
  .countdown-grid {
    gap: 10px;
  }
  
  .countdown-item {
    min-width: 70px;
    padding: 12px 8px;
  }
  
  .countdown-number {
    font-size: 1.8rem;
  }
  
  .countdown-label {
    font-size: 0.75rem;
  }
}

@media screen and (max-width: 480px) {
  .countdown-grid {
    gap: 8px;
  }
  
  .countdown-item {
    min-width: 65px;
    padding: 10px 6px;
  }
  
  .countdown-number {
    font-size: 1.6rem;
  }
  
  .countdown-label {
    font-size: 0.7rem;
  }
}

.countdown-complete {
  background: rgba(0, 255, 0, 0.2);
  border: 2px solid #00ff00;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: #00ff00;
  animation: celebration-pulse 2s infinite;
}

@keyframes celebration-pulse {
  0%, 100% { 
    transform: scale(1);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
  }
  50% { 
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.5);
  }
}




/* Stories About Section (stories.php)*/
/* ===== Stories About Section ===== */
.stories-about {
  background: var(--light);
  padding: 40px 5%;
}

/* Title centered above */
.stories-title {
  text-align: center;
  margin-bottom: 50px;
}

.stories-title h2 {
  font-size: 2.5rem;
  color: var(--primary);
}

/* Container: image + text side-by-side */
.stories-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
  max-width: 1300px;
  margin: 0 auto;
}

/* Image on the left */
.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

/* Description on the right */
.about-content {
  flex: 1;
  min-width: 300px;
}

.about-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.7;
}

/* --- Responsive adjustments --- */
@media (max-width: 768px) {
  .stories-container {
    flex-direction: column;
    text-align: center;
  }

  .about-content {
    margin-top: 20px;
  }
}


/* ===== Publishing Competition Section ===== */
.publishing-competition {
  background: var(--grey);
  padding: 80px 20px;
  text-align: center;
}
.publishing-competition h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 10px;
}
.publishing-competition h2 span {
  color: var(--primary);
}
.publishing-competition p {
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--text);
  line-height: 1.6;
}
.highlight {
  color: var(--brand-primary);
  font-weight: bold;
}

.competition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 30px;
  margin-top: 40px;
}

.competition-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.competition-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}
.comp-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.comp-content {
  padding: 20px;
}
.comp-content h3 {
  font-size: 1.4rem;
  margin: 0 0 10px;
  color: var(--brand-dark);
}
.comp-content .author {
  font-weight: bold;
  color: var(--brand-primary);
  margin-bottom: 5px;
}
.comp-content .likes {
  color: #e74c3c;
  font-weight: 600;
}

.call-to-action {
  margin-top: 50px;
}
.cta-btn {
  background: var(--brand-primary);
  color: #fff;
  padding: 14px 30px;
  font-size: 1.1rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}
.cta-btn:hover {
  background: var(--brand-dark);
}




/* ===== Story Submission Form Section ===== */
.story-submit {
  background: var(--light);
  padding: 40px 5%;
}

.form-title {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.form-title h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.form-title p {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.6;
}

/* Form container */
.form-container {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

/* Layout for two columns */
.story-form .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 20px;
}

.story-form .form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.story-form label {
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary);
}

.story-form input,
.story-form textarea {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  color: var(--text);
  transition: var(--transition);
}

.story-form input:focus,
.story-form textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
}

/* Submit button inherits existing .btn.btn-primary styles */
.story-form .btn-primary {
  margin-top: 20px;
  padding: 14px 30px;
  font-size: 1.1rem;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .story-form .form-row {
    flex-direction: column;
    gap: 20px;
  }

  .form-container {
    padding: 25px;
  }
}
/* --- Image upload field --- */
.story-form input[type="file"] {
  padding: 10px 0; /* avoid default file input padding */
  font-size: 1rem;
  color: var(--text);
}

.story-form .upload-hint {
  font-size: 0.9rem;
  color: #666;
  margin-top: 5px;
  display: block;
}

/* Story Theme Badge */
.story-theme-badge {
    margin: 10px 0;
}

.theme-tag {
    display: inline-block;
    background: rgba(139, 0, 0, 0.1);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(139, 0, 0, 0.2);
}

/* Style the theme dropdown */
.story-form select {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  color: var(--text);
  background: #fff;
  transition: var(--transition);
  cursor: pointer;
}

/* Focus styling */
.story-form select:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
}

/* Style optgroup labels */
.story-form select optgroup {
  font-weight: 700;
  color: var(--primary);
  background: #f9f9f9;
}

/* Style dropdown items */
.story-form select option {
  padding: 10px;
  color: var(--text);
}

/* ===== WORD COUNTER STYLES ===== */
.word-counter {
    margin-top: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Error state - below 1000 words */
.word-counter.error {
    background-color: #fee;
    color: #c53030;
    border: 1px solid #feb2b2;
}

/* Warning state - between 500-999 words */
.word-counter.warning {
    background-color: #fffbeb;
    color: #d69e2e;
    border: 1px solid #faf089;
}

/* Success state - 1000+ words */
.word-counter.success {
    background-color: #f0fff4;
    color: #2f855a;
    border: 1px solid #9ae6b4;
}

/* Word count number styling */
#word-count {
    font-weight: 700;
    font-size: 1rem;
}

/* Word status indicator */
.word-status {
    font-weight: 600;
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 10px;
}

.word-status.error { 
    background: #feb2b2; 
    color: #c53030; 
}
.word-status.warning { 
    background: #faf089; 
    color: #d69e2e; 
}
.word-status.success { 
    background: #9ae6b4; 
    color: #2f855a; 
}


/* ===== Community Stories Section ===== */
.community-stories {
  background: var(--light);
  padding: 40px 5%;
}

.community-stories .stories-header {
  text-align: center;
  margin-bottom: 60px;
}

.community-stories .stories-header h2 {
  font-size: 2.5rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 12px;
}

.community-stories .stories-header p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.6;
}

/* Grid layout: one column of full-width cards */
.stories-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Story card: image on the left, text on the right */
.story-card {
  display: flex;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition: transform .3s ease, box-shadow .3s ease;
}

.story-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

/* Image: show full width, maintain original ratio */
.story-image {
  flex: 1 1 40%;
  background: #eee;
  display: flex;
  justify-content: center;
  align-items: center;
}

.story-image img {
  width: 100%;
  height: auto;            /* ✅ full image displayed, no cropping */
  display: block;
}

/* Content on the right */
.story-content {
  flex: 1 1 60%;
  padding: 30px;
}

.story-title {
  font-size: 1.8rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 8px;
}

.story-author {
  font-size: 0.95rem;
  color: #777;
  margin-bottom: 18px;
}

.story-text p {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.8;
}

.no-stories {
  text-align: center;
  color: #666;
  font-style: italic;
  font-size: 1.1rem;
  margin-top: 30px;
}

.story-theme2 {
    font-size: 0.9rem;
    color: var(--primary);
    margin: 5px 0 10px 0;
    font-weight: 600;
}

.theme-tag2 {
    display: inline-block;
    background: rgba(139, 0, 0, 0.1);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(139, 0, 0, 0.2);
}


/* ===== Responsive: stack image above text on mobile ===== */
@media (max-width: 768px) {
  .story-card {
    flex-direction: column;
  }

  .story-image,
  .story-content {
    flex: 1 1 100%;
  }

  .story-content {
    padding: 20px;
  }
}

/* Interaction Section - Fixed Alignment */
.interaction-section {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.like-section, .vote-section {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px; /* Fixed height for consistent alignment */
}

/* Like Button */
.like-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background .3s;
  font-size: 0.9rem;
  font-weight: 600;
  height: 36px; /* Fixed height */
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.like-btn:hover { background: #d14; }

.like-btn.liked {
  background: #888;
}
.like-btn.liked:hover {
  background: #555;
}

.like-count {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
  min-width: 30px; /* Ensure consistent width for numbers */
  text-align: center;
}

/* Vote Button - Fixed Alignment */
.vote-btn {
  background: #8B4513; /* Brown shade */
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all .3s;
  font-size: 0.9rem;
  font-weight: 600;
  height: 36px; /* Same height as like button */
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.vote-btn:hover {
  background: #A0522D;
  transform: translateY(-2px);
}

.vote-btn.voted {
  background: #654321;
}

.vote-btn.voted:hover {
  background: #5D4037;
}

.vote-count {
  font-weight: 600;
  color: #8B4513;
  font-size: 0.95rem;
  min-width: 30px; /* Ensure consistent width for numbers */
  text-align: center;
}

/* Ensure both sections have the same structure */
.like-section, .vote-section {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Competition Card Styles - Keep existing */
.competition-card {
  position: relative;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.competition-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.comp-content .stats2 {
  display: flex;
  justify-content: space-between;
  margin: 15px 0;
  gap: 10px;
}

.comp-content .votes,
.comp-content .likes {
  text-align: center;
  flex: 1;
  font-weight: 600;
  padding: 8px;
  border-radius: 8px;
  background: #f8f9fa;
  font-size: 0.9rem;
}

.comp-content .votes {
  color: #8B4513;
  border: 2px solid #8B4513;
}

.comp-content .likes {
  color: var(--primary);
  border: 2px solid var(--primary);
}

.competition-card .vote-section {
  margin-top: 10px;
}

.competition-card .vote-btn {
  width: 100%;
  padding: 10px;
  font-size: 0.95rem;
  background: #8B4513;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 600;
}

.competition-card .vote-btn:hover {
  background: #A0522D;
  transform: translateY(-2px);
}

.competition-card .vote-btn.voted {
  background: #654321;
}

.competition-card .vote-btn.voted:hover {
  background: #5D4037;
}

/* Rank Badges */
.rank-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.8rem;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.rank-badge.gold {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #000;
}

.rank-badge.silver {
  background: linear-gradient(135deg, #C0C0C0, #A0A0A0);
  color: #000;
}

.rank-badge.bronze {
  background: linear-gradient(135deg, #CD7F32, #A56A2B);
  color: #fff;
}

/* Responsive design */
@media (max-width: 768px) {
  .interaction-section {
    flex-direction: row;
    gap: 10px;
    justify-content: flex-start;
  }
  
  .like-section, .vote-section {
    justify-content: flex-start;
  }
  
  .comp-content .stats2 {
    flex-direction: column;
    gap: 8px;
  }
  
  .comp-content .votes,
  .comp-content .likes {
    text-align: left;
    padding: 6px 10px;
  }
}

@media (max-width: 480px) {
  .interaction-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .like-section, .vote-section {
    width: 100%;
    justify-content: space-between;
  }
}



/* Pagination Styles */
.pagination-container {
  grid-column: 1 / -1;
  margin-top: 40px;
  text-align: center;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.pagination-btn {
  background: var(--primary);
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination-btn:hover {
  background: #a00;
  transform: translateY(-2px);
}

.pagination-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.page-numbers {
  display: flex;
  gap: 8px;
  align-items: center;
}

.page-number {
  padding: 8px 15px;
  border: 2px solid var(--primary);
  border-radius: 6px;
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
  transition: var(--transition);
}

.page-number:hover {
  background: var(--primary);
  color: white;
}

.current-page {
  padding: 8px 15px;
  background: var(--primary);
  color: white;
  border-radius: 6px;
  font-weight: 600;
}

.pagination-info {
  color: var(--text);
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Responsive Pagination */
@media (max-width: 768px) {
  .pagination {
    flex-direction: column;
    gap: 10px;
  }
  
  .page-numbers {
    order: -1;
  }
  
  .pagination-btn {
    width: 100%;
    justify-content: center;
  }
}




/* ===== STORY SHARE BUTTON STYLES ===== */

/* Share Section Styles */
.story-share-section {
    position: relative;
}

.story-share-btn {
    background: #7A1113;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.story-share-btn:hover {
    background: #520d0e;
    transform: translateY(-2px);
}

.story-share-menu {
    position: absolute;
    bottom: 100%;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 10px;
    z-index: 1000;
    min-width: 150px;
    display: none;
}

.story-share-menu.active {
    display: block;
    animation: storyShareFadeInUp 0.3s ease;
}

.story-share-options {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.story-share-option {
    background: none;
    border: none;
    padding: 8px 12px;
    text-align: left;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
}

.story-share-option:hover {
    background: #f5f5f5;
}

.story-share-option i {
    width: 16px;
    text-align: center;
}

/* Social media icon colors specific to story sharing */
.story-share-option .fa-facebook { color: #1877F2; }
.story-share-option .fa-twitter { color: #1DA1F2; }
.story-share-option .fa-linkedin { color: #0077B5; }
.story-share-option .fa-whatsapp { color: #25D366; }
.story-share-option .fa-link { color: #7A1113; }
.story-share-option .fa-instagram { 
    color: #E4405F; 
}

@keyframes storyShareFadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}




/* Modern Search and Filter Styles */
.search-filter-container {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  margin-bottom: 30px;
  border: 1px solid #e8e8e8;
}

.search-filter-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.search-box {
  display: flex;
  gap: 15px;
  align-items: center;
  position: relative;
}

.search-input {
  flex: 1;
  padding: 15px 20px;
  border: 2px solid #e9ecef;
  border-radius: 50px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.search-input:focus {
  border-color: var(--primary);
  outline: none;
  background: white;
  box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
  transform: translateY(-2px);
}

.search-btn {
  background: linear-gradient(135deg, var(--primary), #a00);
  color: white;
  border: none;
  padding: 15px 25px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(139, 0, 0, 0.3);
}

.filter-options {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 15px;
  border-top: 1px solid #e8e8e8;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-group label {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.filter-options select {
  padding: 10px 15px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 0.95rem;
  background: white;
  cursor: pointer;
  transition: var(--transition);
  min-width: 150px;
}

.filter-options select:focus {
  border-color: var(--primary);
  outline: none;
}

.clear-filters {
  color: #ff4757;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 15px;
  border: 2px solid #ff4757;
  border-radius: 6px;
  transition: all 0.3s ease;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
}

.clear-filters:hover {
  background: #ff4757;
  color: white;
  transform: translateY(-2px);
}

.search-results-info {
  background: linear-gradient(135deg, #e7f3ff, #d4e7ff);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 25px;
  border-left: 4px solid var(--primary);
}

.search-results-info p {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
}

.search-highlight {
  background-color: #FFEB3B;
  padding: 2px 4px;
  border-radius: 3px;
  font-weight: bold;
  animation: highlight-pulse 2s infinite;
}

@keyframes highlight-pulse {
  0%, 100% { background-color: #FFEB3B; }
  50% { background-color: #FFD54F; }
}

/* Enhanced Pagination Styles */
.pagination-container {
  grid-column: 1 / -1;
  margin-top: 50px;
  text-align: center;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.pagination-btn {
  background: linear-gradient(135deg, var(--primary), #a00);
  color: white;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(139, 0, 0, 0.2);
}

.pagination-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(139, 0, 0, 0.3);
}

.pagination-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.page-numbers {
  display: flex;
  gap: 8px;
  align-items: center;
}

.page-number {
  padding: 10px 16px;
  border: 2px solid var(--primary);
  border-radius: 8px;
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
  transition: all 0.3s ease;
  min-width: 45px;
  text-align: center;
}

.page-number:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.current-page {
  padding: 10px 16px;
  background: linear-gradient(135deg, var(--primary), #a00);
  color: white;
  border-radius: 8px;
  font-weight: 600;
  min-width: 45px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(139, 0, 0, 0.2);
}

.pagination-info {
  color: var(--text);
  font-size: 0.95rem;
  opacity: 0.8;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  .search-box {
    flex-direction: column;
  }
  
  .search-input,
  .search-btn {
    width: 100%;
  }
  
  .filter-options {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  
  .filter-group {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-group label {
    margin-bottom: 5px;
  }
  
  .clear-filters {
    margin-left: 0;
    text-align: center;
    justify-content: center;
  }
  
  .pagination {
    flex-direction: column;
    gap: 10px;
  }
  
  .page-numbers {
    order: -1;
  }
  
  .pagination-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Loading animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 10px;
}












/* ALP Community Section */
.alp-community {
  background: var(--light);
  padding: 60px 5%;
  position: relative;
  overflow: hidden;
}

/* Title */
.alp-title {
  text-align: center;
  margin-bottom: 40px;
}

.alp-title h2 {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.alp-title p {
  font-size: 1.2rem;
  color: var(--text);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Intro Container with image + text */
.alp-intro-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 60px auto;
}

.alp-intro-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.alp-intro-text {
  flex: 1;
  min-width: 300px;
}

.alp-intro-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--dark);
  line-height: 1.7;
}

/* CTA */
.alp-cta {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--dark);
  line-height: 1.8;
}

.alp-cta strong {
  color: var(--primary);
}

.cta-community {
  background: var(--secondary);   /* brown/golden shade */
  color: #000;
  padding: 14px 30px;
  font-size: 1.1rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: var(--transition);
  display: inline-block;
  margin-top: 25px;
}

.cta-community:hover {
  background: #b08a2d; /* darker brown shade for hover */
}





/* ALP Community Full Page */
.alp-page-community {
  background: var(--light);
  padding: 60px 5%;
  overflow: hidden;
}

/* Title */
.alp-page-title {
  text-align: center;
  margin-bottom: 50px;
}
.alp-page-title h2 {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 15px;
}
.alp-page-title p {
  font-size: 1.2rem;
  color: var(--text);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

/* Intro Row */
.alp-page-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 60px auto;
}
.alp-page-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.alp-page-text {
  flex: 1;
  min-width: 300px;
}
.alp-page-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--dark);
  line-height: 1.7;
}


/* Registration Section */
.alp-page-register {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.alp-page-register h3 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 20px;
}
.alp-page-register p {
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Form */
.alp-register-form {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: left;
}
.alp-register-form .form-group {
  margin-bottom: 20px;
}
.alp-register-form label {
  font-weight: bold;
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}
.alp-register-form input,
.alp-register-form select,
.alp-register-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}
.alp-register-form textarea {
  resize: vertical;
  min-height: 90px;
}

/* Payment Info */
.payment-info {
  background: #f9f9f9;
  padding: 15px 20px;
  border-left: 4px solid var(--secondary);
  border-radius: 8px;
  margin-bottom: 20px;
}
.payment-info h4 {
  margin-bottom: 15px;
  color: var(--primary);
  font-size: 1.2rem;
}
.payment-option {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
.payment-logo {
  width: 50px;
  height: auto;
  margin-right: 12px;
  flex-shrink: 0;
}
.payment-info p {
  font-size: 0.95rem;
  margin: 0;
  color: var(--dark);
}
.payment-info a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: bold;
}
.payment-info a:hover {
  text-decoration: underline;
}
.payment-info .note {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #666;
}

/* Submit Button */
.alp-btn-register {
  background: var(--secondary);
  color: #fff;
  padding: 14px 30px;
  font-size: 1.1rem;
  border-radius: 50px;
  border: none;
  font-weight: bold;
  transition: var(--transition);
  cursor: pointer;
  display: inline-block;
  margin-top: 10px;
}
.alp-btn-register:hover {
  background: #b08a2d; /* darker golden brown */
}

/* Responsive */
@media (max-width: 600px) {
  .payment-option {
    flex-direction: column;
    align-items: flex-start;
  }
  .payment-logo {
    margin-bottom: 8px;
  }
}
/* Password Toggle */
.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper input {
  width: 100%;
  padding-right: 40px; /* space for eye icon */
}

.toggle-password {
  position: absolute;
  right: 12px;
  cursor: pointer;
  font-size: 1.2rem;
  user-select: none;
  color: #666;
  transition: color 0.3s ease;
}

.toggle-password:hover {
  color: var(--primary);
}



/* Readers' Corner Section */
.readers-corner {
  background: var(--light);
  padding: 40px 5%;
}

/* Title centered above */
.readers-title {
  text-align: center;
  margin-bottom: 50px;
}

.readers-title h2 {
  font-size: 2.5rem;
  color: var(--primary);
}

/* Container for image + text row */
.readers-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
  max-width: 1300px;
  margin: 0 auto;
}

.readers-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

/* Content right */
.readers-content {
  flex: 1;
  min-width: 300px;
}

.readers-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.7;
}




/* ===============================
   BOOK CLUB PAGE STYLES
   =============================== */
:root {
  --bookclub-maroon: #7b1e1e;
  --bookclub-brown: #5a3a1b;
  --bookclub-light: #f8f3f0;
}

/* ===============================
   HERO SECTION
   =============================== */
.bookclub-hero {
  background: linear-gradient(rgba(123,30,30,0.8), rgba(90,58,27,0.85)),
              url('images/bookclub-hero.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 8rem 2rem;
}

.bookclub-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.bookclub-subtitle {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.bookclub-buttons a {
  margin: 0.5rem;
}

/* ===============================
   GENERAL SECTIONS
   =============================== */
.bookclub-section {
  padding: 5rem 2rem;
  text-align: center;
}

.bookclub-alt-bg {
  background-color: var(--bookclub-light);
}

.bookclub-text h2 {
  color: var(--bookclub-maroon);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.bookclub-grid,
.bookclub-authors-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

/* ===============================
   BOOK CLUB CARDS
   =============================== */

#bookclub-featured {
  background: linear-gradient(to right, var(--dark), var(--primary));
  color: var(--light);
  padding: 4rem 2rem;
  text-align: center;
}

/* Force Featured Section Title to be white */
#bookclub-featured .bookclub-text .bookclub-featured-title {
  color: #fff !important;
  font-size: 2.0rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.2rem;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.45);
}



.bookclub-card,
.bookclub-author-card {
  background: var(--light);
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  max-width: 320px;
  margin: auto;
  transition: transform 0.35s ease, box-shadow 0.35s ease, var(--transition);
  color: var(--text);
}

.bookclub-card:hover,
.bookclub-author-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Image wrapper ensures full, clean fit */
.bookclub-img-wrap {
  width: 100%;
  height: 340px;
  overflow: hidden;
  border-bottom: 4px solid var(--primary);
  background-color: #fdfdfd;
}

.bookclub-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.bookclub-card:hover .bookclub-img-wrap img {
  transform: scale(1.05);
}

/* Author image adjustments */
.bookclub-author-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.bookclub-author-card img:hover {
  transform: scale(1.03);
}

/* Card content */
.bookclub-card-body {
  padding: 1.5rem;
}

.bookclub-card h3,
.bookclub-author-card h3 {
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.bookclub-card p,
.bookclub-author-card p {
  color: var(--text);
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

/* Section title */
.bookclub-section-title {
  font-size: 2.2rem;
  color: var(--secondary);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Responsive layout for author grid */
.bookclub-authors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-items: center;
  align-items: start;
  margin-top: 3rem;
}

/* Hover lift effect */
.bookclub-author-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}


/* ===============================
   READERS' REFLECTIONS SECTION
   =============================== */
#bookclub-discussions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 5rem 2rem;
  background-color: var(--bookclub-light);
}

#bookclub-discussions .bookclub-text {
  flex: 1 1 450px;
  max-width: 550px;
  text-align: left;
}

#bookclub-discussions .bookclub-text p {
  color: var(--bookclub-brown);
  line-height: 1.7;
  font-size: 1.1rem;
}

#bookclub-discussions .bookclub-image {
  flex: 1 1 450px;
  text-align: center;
}

#bookclub-discussions .bookclub-image img {
  width: 100%;
  max-width: 550px;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.4s ease;
}

#bookclub-discussions .bookclub-image img:hover {
  transform: scale(1.03);
}

/* ===============================
   MEET THE AUTHORS SECTION
   =============================== */
#bookclub-authors {
  background: #fff;
  padding: 5rem 2rem;
  text-align: center;
}

#bookclub-authors .bookclub-text {
  max-width: 800px;
  margin: 0 auto 3rem auto;
}

#bookclub-authors .bookclub-text p {
  color: var(--bookclub-brown);
  font-size: 1.1rem;
  line-height: 1.7;
}

.bookclub-author-card {
  max-width: 280px;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
}

.bookclub-author-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.bookclub-author-card img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}


.bookclub-author-card h3 {
  color: var(--bookclub-brown);
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.bookclub-author-card em {
  display: block;
  color: var(--bookclub-maroon);
  font-style: italic;
  margin-bottom: 0.8rem;
}

.bookclub-author-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

/* ===============================
   NEWSLETTER SECTION
   =============================== */
.bookclub-newsletter {
  text-align: center;
  padding: 5rem 2rem;
  color: #fff;
  background: linear-gradient(to right, var(--dark), var(--primary));
}

.bookclub-newsletter-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.bookclub-newsletter-content p {
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* ===============================
   RESPONSIVE DESIGN
   =============================== */
@media (max-width: 900px) {
  #bookclub-discussions {
    flex-direction: column;
    text-align: center;
  }

  #bookclub-discussions .bookclub-text {
    text-align: center;
  }

  .bookclub-authors-grid {
    flex-direction: column;
    align-items: center;
  }
}




:root {
  --alp_member_profile_maroon: #7b1e1e;
  --alp_member_profile_brown: #5a3a1b;
  --alp_member_profile_light: #f8f3f0;
  --alp_member_profile_dark_text: #333;
}

/* ===============================
   GENERAL SECTIONS
   =============================== */
   
.alp_member_profile_section {
  padding: 5rem 2rem;
  text-align: center;
}

.alp_member_profile_alt_bg {
  background-color: var(--alp_member_profile_light);
}

.alp_member_profile_text h2 {
  color: var(--alp_member_profile_maroon);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

/* ===============================
   PROFILE INFORMATION SECTION
   =============================== */
    
#alp_member_profile_info {
  background: linear-gradient(135deg, #faf6f3 0%, #fdfdfd 100%);
  border-radius: 20px;
  max-width: 950px;
  margin: 0 auto;
  padding: 3rem 2rem;
  box-shadow: 0 10px 35px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Icon Header */
#alp_member_profile_info h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: var(--alp_member_profile_maroon);
  font-size: 2.4rem;
  margin-bottom: 1.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  z-index: 2;
}

#alp_member_profile_info h2::before {
  content: "👤";
  font-size: 2.2rem;
}

/* ===============================
   PROFILE IMAGE DISPLAY
   =============================== */
.alp_profile_image {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 2;
  display: inline-block;
  background: var(--alp_member_profile_light);
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.alp_profile_image:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

/* ===============================
   PROFILE IMAGE STYLING
   =============================== */
.alp_profile_image img {
  width: 220px;
  height: 220px;
  border-radius: 18px; /* Rounded square look */
  object-fit: cover;
  border: 6px solid #fff;
  background: linear-gradient(135deg, #ffffff, #f5f2f2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2),
              0 0 25px rgba(123, 30, 30, 0.25);
  transition: all 0.45s ease-in-out;
}

/* Hover Effects — subtle 3D and glow */
.alp_profile_image img:hover {
  transform: scale(1.1) rotate(1deg);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25),
              0 0 35px rgba(123, 30, 30, 0.4),
              inset 0 0 15px rgba(255,255,255,0.2);
  border-color: rgba(123, 30, 30, 0.8);
  filter: brightness(1.05);
}

/* ===============================
   HALO EFFECT
   =============================== */
.alp_profile_image::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 260px;
  height: 260px;
  transform: translate(-50%, -50%);
  border-radius: 25px;
  background: radial-gradient(circle, rgba(123,30,30,0.07), transparent 70%);
  z-index: 0;
  transition: all 0.4s ease-in-out;
}

.alp_profile_image:hover::after {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(123,30,30,0.12), transparent 80%);
}

/* ===============================
   RESPONSIVE ADJUSTMENTS
   =============================== */
@media (max-width: 768px) {
  .alp_profile_image img {
    width: 160px;
    height: 160px;
    border-radius: 14px;
  }

  .alp_profile_image::after {
    width: 190px;
    height: 190px;
  }
}



/* ===============================
   PROFILE TEXT STYLING
   =============================== */
.alp_member_profile_text p {
  font-size: 1.05rem;
  color: var(--alp_member_profile_dark_text);
  margin: 0.6rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.8rem;
  border-left: 4px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.alp_member_profile_text p:hover {
  background-color: rgba(123, 30, 30, 0.05);
  border-left: 4px solid var(--alp_member_profile_maroon);
  transform: translateX(4px);
}

.alp_member_profile_text strong {
  color: var(--alp_member_profile_brown);
  min-width: 180px;
  display: inline-block;
  font-weight: 600;
}

/* Section dividers */
.alp_member_profile_text hr {
  border: none;
  border-top: 1px solid rgba(0,0,0,0.1);
  margin: 1.6rem 0;
}

/* Payment Status */
.status-paid {
  background: #dff6e3;
  color: #0f7a28;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-weight: 600;
  box-shadow: 0 0 4px rgba(15,122,40,0.2);
}

.status-pending {
  background: #fdecea;
  color: #b71c1c;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-weight: 600;
  box-shadow: 0 0 4px rgba(183,28,28,0.2);
}

/* ===============================
   BIO STYLING
   =============================== */
.alp_member_bio {
  background: linear-gradient(135deg, #fff8f5, #fff);
  border-left: 5px solid var(--alp_member_profile_maroon);
  padding: 1.2rem 1.5rem;
  border-radius: 10px;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
  color: #444;
  font-size: 1rem;
  line-height: 1.7;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 2;
}

.alp_member_bio:hover {
  transform: scale(1.01);
  box-shadow: inset 0 0 20px rgba(0,0,0,0.08);
}

/* ===============================
   BACKGROUND DECORATION
   =============================== */
#alp_member_profile_info::before,
#alp_member_profile_info::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}

#alp_member_profile_info::before {
  top: -50px;
  left: -60px;
  width: 180px;
  height: 180px;
  background: rgba(123, 30, 30, 0.08);
}

#alp_member_profile_info::after {
  bottom: -70px;
  right: -80px;
  width: 200px;
  height: 200px;
  background: rgba(90, 58, 27, 0.06);
}

/* ===============================
   RESPONSIVE DESIGN
   =============================== */
@media (max-width: 768px) {
  #alp_member_profile_info {
    padding: 2.5rem 1.3rem;
  }

  #alp_member_profile_info h2 {
    font-size: 1.8rem;
  }

  .alp_member_profile_text p strong {
    min-width: 130px;
  }

  .alp_member_profile_image img {
    width: 130px;
    height: 130px;
  }

  .alp_member_profile_image::after {
    width: 160px;
    height: 160px;
  }
}

/* ===============================
   MEMBER CARDS GRID
   =============================== */
.alp_member_profile_members_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-items: center;
  align-items: start;
  margin-top: 3rem;
}

/* ===============================
   MEMBER CARD STYLING
   =============================== */
.alp_member_profile_member_card {
  background: var(--alp_member_profile_light);
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  max-width: 320px;
  margin: auto;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  color: var(--alp_member_profile_dark_text);
}

.alp_member_profile_member_card:hover {
  transform: translateY(-7px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

/* Member Images */
.alp_member_profile_member_card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.alp_member_profile_member_card img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

/* Card Body */
.alp_member_profile_card_body {
  padding: 1.5rem;
}

.alp_member_profile_member_card h3 {
  color: var(--alp_member_profile_brown);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.alp_member_profile_member_card em {
  display: block;
  color: var(--alp_member_profile_maroon);
  font-style: italic;
  margin-bottom: 0.8rem;
}

.alp_member_profile_member_card p {
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

/* ===============================
   RESPONSIVE DESIGN
   =============================== */
@media (max-width: 900px) {
  .alp_member_profile_members_grid {
    grid-template-columns: 1fr;
  }

  .alp_member_profile_text {
    text-align: center;
  }
}






:root {
  --alp_community_club_maroon: #7b1e1e;
  --alp_community_club_brown: #5a3a1b;
  --alp_community_club_light: #f8f3f0;
  --alp_community_club_dark_text: #333;
}

/* ===============================
   GENERAL SECTIONS
   =============================== */
.alp_community_club_section {
  padding: 5rem 2rem;
  text-align: center;
}

.alp_community_club_alt_bg {
  background-color: var(--alp_community_club_light);
}

.alp_community_club_text h2 {
  color: var(--alp_community_club_maroon);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.alp_community_club_grid,
.alp_community_club_members_grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}






/* ===== AFRICAN LEGENDS PUBLISHING - EVENTS SECTION (RESTYLED) ===== */
.alp-events-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  padding: 100px 20px;
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
  position: relative;
  overflow-x: hidden;
  width: 100%;
}

.alp-events-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.03"><path fill="%23d4af37" d="M20,20 L30,10 L40,20 L30,30 Z M60,50 L70,40 L80,50 L70,60 Z M35,70 L45,60 L55,70 L45,80 Z M75,20 L85,10 L95,20 L85,30 Z"/></svg>');
  background-repeat: repeat;
  background-size: 40px;
  pointer-events: none;
}

.alp-events-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 2;
}

.alp-events-header {
  text-align: center;
  margin-bottom: 60px;
  width: 100%;
}

.alp-events-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  color: #ffffff;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.alp-events-header h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #d4af37;
  border-radius: 2px;
}

.alp-events-header p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 1.5rem auto 0;
  line-height: 1.6;
}

.alp-events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 0;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.alp-event-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(2px);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(212, 175, 55, 0.2);
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.alp-event-card.featured-event {
  border: 1px solid rgba(212, 175, 55, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.alp-event-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 175, 55, 0.7);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.alp-event-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #d4af37;
  color: #1a1a1a;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 30px;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  font-family: 'Poppins', sans-serif;
}

.alp-event-date {
  background: linear-gradient(135deg, #8b0000 0%, #6b0000 100%);
  padding: 20px;
  text-align: center;
  display: inline-block;
  align-self: flex-start;
  width: 100%;
  position: relative;
}

.alp-event-date::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #d4af37;
}

.alp-event-day {
  display: block;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  color: #d4af37;
  font-family: 'Playfair Display', serif;
}

.alp-event-month {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: #ffffff;
  text-transform: uppercase;
  margin-top: 4px;
}

.alp-event-details {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow-x: auto;
}

.alp-event-details h3 {
  font-size: 2rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  color: #d4af37;
  margin-bottom: 8px;
  line-height: 1.2;
  word-wrap: break-word;
}

.alp-event-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
  font-style: italic;
  word-wrap: break-word;
}

.alp-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: #d4af37;
  background: rgba(139, 0, 0, 0.3);
  padding: 12px 16px;
  border-radius: 12px;
  word-wrap: break-word;
}

.alp-event-meta span {
  word-wrap: break-word;
}

.alp-event-meta span i {
  margin-right: 8px;
  width: 16px;
  color: #d4af37;
}

.alp-event-description {
  margin-bottom: 24px;
}

.alp-event-description p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
  word-wrap: break-word;
}

.alp-program-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  background: rgba(139, 0, 0, 0.2);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 24px;
  width: 100%;
}

.alp-program-day h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #d4af37;
  margin-bottom: 12px;
  font-family: 'Playfair Display', serif;
  word-wrap: break-word;
}

.alp-program-day ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.alp-program-day ul li {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
  word-wrap: break-word;
}

.alp-program-day ul li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: #d4af37;
  font-size: 0.7rem;
}

.alp-event-features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
  padding: 16px;
  background: rgba(212, 175, 55, 0.08);
  border-radius: 16px;
  border-left: 3px solid #d4af37;
  width: 100%;
}

.alp-facilitator, .alp-investment {
  flex: 1;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  word-wrap: break-word;
}

.alp-facilitator i, .alp-investment i {
  color: #d4af37;
  font-size: 1.2rem;
  width: 24px;
  flex-shrink: 0;
}

.alp-investment {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.alp-investment small {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  margin-left: 36px;
}

.alp-event-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  width: 100%;
}

.alp-event-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.alp-event-tag {
  background: rgba(139, 0, 0, 0.5);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 500;
  color: #d4af37;
  letter-spacing: 0.5px;
  font-family: 'Poppins', sans-serif;
  white-space: nowrap;
}

.alp-register-buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.alp-event-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #d4af37;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 20px;
  transition: all 0.3s ease;
  border-radius: 40px;
  border: 1px solid #d4af37;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  white-space: nowrap;
}

.alp-event-btn.primary {
  background: #8b0000;
  color: #d4af37;
  border: none;
}

.alp-event-btn i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.alp-event-btn:hover {
  transform: translateX(4px);
  background: #6b0000;
  color: #ffffff;
  border-color: #ffffff;
}

.alp-event-btn.primary:hover {
  background: #a00000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 0, 0, 0.5);
  color: #d4af37;
}

.alp-contact-info {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  flex-wrap: wrap;
}

.alp-contact-info i {
  margin-right: 5px;
  color: #d4af37;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  animation: fadeUp 0.8s ease forwards;
}

/* Responsive Design */
@media (max-width: 992px) {
  .alp-events-section {
    padding: 80px 20px;
  }
  .alp-event-details h3 {
    font-size: 1.8rem;
  }
  .alp-program-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .alp-event-card {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .alp-events-section {
    padding: 60px 16px;
  }
  .alp-events-header h2 {
    font-size: 2rem;
  }
  .alp-event-details h3 {
    font-size: 1.5rem;
  }
  .alp-event-meta {
    flex-direction: column;
    gap: 8px;
  }
  .alp-event-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .alp-register-buttons {
    align-items: flex-start;
    width: 100%;
  }
  .alp-contact-info {
    flex-direction: column;
    gap: 8px;
  }
  .alp-event-features {
    flex-direction: column;
  }
  .alp-event-badge {
    top: 12px;
    right: 12px;
    font-size: 0.65rem;
  }
  .alp-event-card {
    max-width: 100%;
  }
  .alp-event-tag {
    white-space: normal;
  }
  .alp-event-btn {
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .alp-event-date {
    padding: 15px;
  }
  .alp-event-day {
    font-size: 2.2rem;
  }
  .alp-event-details {
    padding: 20px;
  }
}


/* Additional CSS for complete program structure */
.alp-section-block {
  margin-bottom: 28px;
  width: 100%;
}

.alp-section-title {
  font-size: 1.3rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  color: #d4af37;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(212, 175, 55, 0.3);
  display: inline-block;
}

.alp-attend-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.alp-walkaway-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}

.alp-walkaway-list li {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}

.alp-walkaway-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #d4af37;
  font-weight: bold;
}

.alp-program-full {
  background: rgba(139, 0, 0, 0.2);
  border-radius: 16px;
  padding: 20px;
}

.alp-program-day-full {
  margin-bottom: 24px;
}

.alp-program-day-full:last-child {
  margin-bottom: 0;
}

.alp-program-day-full h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #d4af37;
  margin-bottom: 5px;
  font-family: 'Playfair Display', serif;
}

.alp-program-subtitle {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 15px;
  font-style: italic;
}

.alp-session-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.alp-session-list li {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.alp-session-list li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: #d4af37;
  font-size: 0.8rem;
}

.alp-session-list li em {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.alp-facilitator-full {
  background: rgba(212, 175, 55, 0.08);
  border-radius: 12px;
  padding: 16px;
  border-left: 3px solid #d4af37;
}

.alp-facilitator-full p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 10px;
}

.alp-facilitator-full p:last-child {
  margin-bottom: 0;
}

.alp-investment-full {
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.3) 0%, rgba(139, 0, 0, 0.1) 100%);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.alp-investment-amount {
  font-size: 1.4rem;
  font-weight: 800;
  color: #d4af37;
  margin-bottom: 8px;
}

.alp-investment-includes {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.alp-quote-block {
  background: rgba(212, 175, 55, 0.1);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin: 20px 0;
}

.alp-quote-text {
  font-size: 1rem;
  font-style: italic;
  color: #d4af37;
  line-height: 1.6;
  margin: 0;
  font-family: 'Playfair Display', serif;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .alp-section-title {
    font-size: 1.1rem;
  }
  
  .alp-walkaway-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .alp-investment-amount {
    font-size: 1.2rem;
  }
  
  .alp-quote-text {
    font-size: 0.9rem;
  }
  
  .alp-session-list li {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .alp-program-full {
    padding: 15px;
  }
  
  .alp-session-list li {
    padding-left: 16px;
  }
}


	
	/* FAQ Section */
.faq .faq-item {
  background: white;
  border-radius: 8px;
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-left: 5px solid var(--accent);
}

.faq .faq-item:hover {
  background: #fdf9f3;
}

.faq .faq-item h4 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.faq .faq-item p {
  font-size: 1rem;
  color: var(--text);
}

/* Stats Section */
.stats {
 background: linear-gradient(to left, var(--primary), var(--dark));
  color: white;
  text-align: center;
}
    .section-title-stats h2 {
      font-size: 2.5rem;
      color: #FFFFFF;
      display: inline-block;
    }

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 0;
}

.stat-box {
  padding: 20px;
}

.stat-number {
  font-size: 3rem;
  color: var(--secondary);
  font-weight: 800;
  margin-bottom: 10px;
}

.stats-container p {
  font-size: 1.1rem;
  color: var(--light);
}


/* Community Forum Section */
.community-forum {
  background-color: var(--light);
  padding: 100px 5%;
}

.community-forum-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
  max-width: 1300px;
  margin: 0 auto;
}

.community-forum-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.community-forum-content {
  flex: 1;
  min-width: 300px;
}

.community-forum-content h2 {
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.community-forum-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.7;
}

.community-forum-content .btn {
  margin-top: 10px;
  text-decoration: none;
}



/* Author Banner Section */
.author-banner {
  position: relative;
  background: url('1.jpg') center center/cover no-repeat;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.author-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* dark overlay */
  z-index: 1;
}

.author-banner-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.author-banner-content h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.author-banner-content p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  line-height: 1.6;
  color: #fff;
}

.author-banner-content .btn {
  text-decoration: none;
}


	
/* Newsletter Section with Background Overlay */
.newsletter {
  width: 100%;
  background: url('https://images.unsplash.com/photo-1526304640581-3ad991d90eb2?auto=format&fit=crop&w=1950&q=80') no-repeat center center;
  background-size: cover;
  position: relative;
  color: white;
}

.newsletter-overlay {
  background: rgba(0, 0, 0, 0.7);
  padding: 100px 5%;
  text-align: center;
  width: 100%;
}
    .section-title-newsletter h2 {
      font-size: 2.5rem;
      color: #FFFFFF;
      display: inline-block;
    }

    .section-title-newsletter h2:after {
      content: '';
      display: block;
      width: 80px;
      height: 4px;
      background: var(--secondary);
      margin: 15px auto;
      border-radius: 2px;
    }

.newsletter-text {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
  color: white;
  opacity: 0.9;
}

.newsletter-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input {
  flex: 1;
  padding: 14px;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  font-family: 'Poppins', sans-serif;
  min-width: 250px;
}

.newsletter-form input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

/* Street Hub Section */
.street-hub {
  background-color: var(--light);
  padding: 100px 5%;
}

.street-hub-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
  max-width: 1300px;
  margin: 0 auto;
}

.street-hub-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.street-hub-content {
  flex: 1;
  min-width: 300px;
}

.street-hub-content h2 {
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.street-hub-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.7;
}

.street-hub-content .btn {
  margin-top: 10px;
  text-decoration: none;
}

.book-add-section {
  background: url('book_add.jpg') no-repeat center center/cover;
  width: 100%;
  min-height: 400px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-add-overlay {
  background-color: rgba(0, 0, 0, 0.6);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* <-- Ensures full overlay */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.book-add-content {
  max-width: 900px;
  margin: 0 auto;
  color: white;
}

.book-add-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 30px;
  line-height: 1.4;
  color: var(--secondary);
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

.book-add-btn {
  background-color: var(--secondary);
  color: var(--dark);
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
}

.book-add-btn:hover {
  background-color: #c19b2c;
  color: white;
}
	
	
	/* Testimonials Section */
.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--secondary);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  background: #fffaf0;
}

.testimonial-card p {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 15px;
}

.testimonial-card h4 {
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
  text-align: right;
}

/* Publish Now Section */
.publish-now-section {
  background-image: url('publish_now.webp'); /* Replace with your actual image */
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 400px;
  position: relative;
  overflow: hidden;
}

.publish-now-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.65); /* Increased from 0.5 to 0.65 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px;
}


.publish-now-heading {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 30px;
  line-height: 1.4;
  color: #FFFFFF;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

.publish-now-button {
  background-color: var(--secondary);
  color: var(--dark);
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
}

.publish-now-button:hover {
  background-color: #c19b2c;
  color: white;
}


    /* Contact Section */
    .contact-container {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 50px;
      align-items: center;
    }

    .contact-info {
      display: flex;
      flex-direction: column;
      gap: 25px;
    }

    .contact-item {
      display: flex;
      align-items: flex-start;
      gap: 15px;
    }

    .contact-icon {
      font-size: 1.8rem;
      color: var(--secondary);
      min-width: 50px;
      text-align: center;
    }

    .contact-details h3 {
      font-size: 1.4rem;
      margin-bottom: 8px;
      color: var(--primary);
    }

    .contact-form {
      background: white;
      padding: 40px;
      border-radius: 10px;
      box-shadow: var(--shadow);
    }

    .form-group {
      margin-bottom: 25px;
    }

    .form-group label {
      display: block;
      margin-bottom: 8px;
      font-weight: 500;
    }

    .form-control {
      width: 100%;
      padding: 14px;
      border: 1px solid #ddd;
      border-radius: 4px;
      font-family: 'Poppins', sans-serif;
      font-size: 1rem;
      transition: var(--transition);
    }

    .form-control:focus {
      border-color: var(--secondary);
      outline: none;
      box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
    }

    textarea.form-control {
      min-height: 150px;
      resize: vertical;
    }

    /* Footer */
    footer {
      background: linear-gradient(to right, var(--dark), var(--primary));
      color: white;
      padding: 60px 5% 30px;
    }

    .footer-content {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 40px;
      max-width: 1400px;
      margin: 0 auto 50px;
    }

    .footer-logo {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .footer-logo img {
      width: 180px;
      filter: brightness(0) invert(1);
    }

    .footer-logo p {
      max-width: 300px;
      opacity: 0.8;
    }

    .footer-links h3, .footer-social h3 {
      font-size: 1.4rem;
      margin-bottom: 20px;
      color: var(--secondary);
    }

    .footer-links ul {
      list-style: none;
    }

    .footer-links li {
      margin-bottom: 12px;
    }

    .footer-links a {
      color: white;
      text-decoration: none;
      transition: var(--transition);
      display: inline-block;
    }

    .footer-links a:hover {
      color: var(--secondary);
      transform: translateX(5px);
    }

    .social-icons {
      display: flex;
      gap: 20px;
    }

    .social-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 45px;
      height: 45px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      color: white;
      font-size: 1.2rem;
      transition: var(--transition);
    }

    .social-icon:hover {
      background: var(--secondary);
      transform: translateY(-5px);
    }

    .copyright {
      text-align: center;
      padding-top: 30px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      opacity: 0.7;
    }

    /* Responsive Design */
    @media (max-width: 992px) {
      .hero h1 {
        font-size: 2.8rem;
      }
      
      .contact-container {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 768px) {
      .mobile-menu-btn {
        display: block;
      }
      
      .nav-links {
        position: fixed;
        top: 90px;
        left: -100%;
        background: var(--dark);
        width: 100%;
        height: calc(100vh - 90px);
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        transition: var(--transition);
      }
      
      .nav-links.active {
        left: 0;
      }
      
      .nav-links li {
        margin: 15px 0;
      }
      
      .hero h1 {
        font-size: 2.4rem;
      }
      
      .hero p {
        font-size: 1.2rem;
      }
      
      .story-card {
        flex-direction: column;
      }
      
      .story-img {
        width: 100%;
        height: 200px;
      }
    }

    @media (max-width: 576px) {
      .hero {
        padding: 80px 5%;
      }
      
      .hero h1 {
        font-size: 2rem;
      }
      
      .hero-buttons {
        flex-direction: column;
        width: 100%;
      }
      
      .btn {
        width: 100%;
      }
      
      .section-title h2 {
        font-size: 2rem;
      }
      
      .quote {
        font-size: 1.2rem;
      }
    }
	
	
	