/* Modules Showcase Specific Styles */
.modules-showcase {
  padding: 6rem 0;
  background: #1a1a1a;
}

.module-section {
  margin-bottom: 6rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.module-header {
  text-align: center;
  margin-bottom: 3rem;
}

.module-header h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #60a5fa;
}

.module-header p {
  font-size: 1.125rem;
  opacity: 0.8;
}

.module-demo {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  overflow: hidden;
}

/* Hero Module Demo */
.hero-module-demo {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  overflow: hidden;
}

.hero-background-demo {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
}

.hero-overlay-demo {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
}

.hero-content-demo {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.hero-content-demo h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-content-demo .highlight {
  color: #60a5fa;
}

.demo-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

/* Navigation Demo */
.nav-demo {
  background: rgba(26, 26, 26, 0.95);
  border-radius: 8px;
  padding: 1rem;
}

.nav-demo-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-demo {
  font-weight: 700;
  color: #60a5fa;
}

.nav-links-demo {
  display: flex;
  gap: 2rem;
  align-items: center;
  font-size: 0.9rem;
}

.btn-demo {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.8rem;
}

/* Stats Demo */
.stats-demo {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
  padding: 2rem;
  border-radius: 8px;
}

.stat-number-demo {
  font-size: 2rem;
  font-weight: 800;
  color: white;
}

.stat-label-demo {
  font-size: 0.9rem;
  color: white;
  opacity: 0.9;
}

/* Career Cards Demo */
.career-cards-demo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.career-card-demo {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1.5rem;
  position: relative;
}

.career-card-demo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1e3a8a, #3b82f6, #60a5fa);
}

.career-icon-demo {
  font-size: 2rem;
  color: #60a5fa;
  margin-bottom: 1rem;
}

/* Career Link Demo */
.career-link-demo {
  background: transparent;
  color: #2e5c8a;
  padding: 0.5rem 1rem;
  border: 1px solid #2e5c8a;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.career-link-demo:hover {
  background: #2e5c8a;
  color: white;
  transform: translateY(-2px);
  gap: 0.75rem;
}

/* News Demo */
.news-demo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  background: #f8f9fa;
  color: #333;
  padding: 2rem;
  border-radius: 8px;
}

.news-card-demo {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.news-image-demo {
  height: 120px;
  background: linear-gradient(135deg, #2e5c8a, #1b4b73);
}

.news-content-demo {
  padding: 1rem;
}

.news-date-demo {
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 0.5rem;
}

/* Contact Form Demo */
.contact-form-demo {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 2rem;
  max-width: 400px;
}

.contact-form-demo h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #60a5fa;
}

.form-group-demo {
  margin-bottom: 1rem;
}

.form-group-demo label {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
  color: #ffffff;
}

.input-demo {
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.textarea-demo {
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.form-btn-demo {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
}

/* Footer Demo */
.footer-demo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  background: #1a1a1a;
  color: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section-demo h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #60a5fa;
}

.footer-section-demo p {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: 1rem;
}

.footer-links-demo {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links-demo span {
  font-size: 0.85rem;
  opacity: 0.7;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.footer-links-demo span:hover {
  opacity: 1;
  color: #60a5fa;
}

/* Partners Demo */
.partners-demo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  background: #2a2a2a;
  padding: 2rem;
  border-radius: 8px;
}

.partner-card-demo {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1.5rem;
  position: relative;
}

.partner-logo-demo {
  height: 40px;
  background: #2e5c8a;
  border-radius: 4px;
  margin-bottom: 1rem;
}

/* Mission Demo */
.mission-demo {
  background: #2a2a2a;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
}

.mission-demo h4 {
  color: #2e5c8a;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.mission-demo h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.mission-demo p {
  font-size: 0.95rem;
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

/* Button Demo */
.buttons-demo {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
}

/* Card Demo */
.cards-demo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
}

.card-demo {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
}

.card-demo h5 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #2e5c8a;
}

.card-demo p {
  font-size: 0.85rem;
  opacity: 0.8;
  margin: 0;
}

/* Blog Card Module Demo - Specific Styles */
.blog-card-module-demo {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  min-height: 300px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card-module-demo:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.blog-image-module-demo {
  height: 120px;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.blog-content-module-demo {
  padding: 1.5rem;
  padding-bottom: 4rem; /* Increased from 3rem to 4rem for more space */
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  color: #333;
}

.blog-date-module-demo {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 1rem;
  font-weight: 500;
}

.blog-content-module-demo h4 {
  color: #333;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  line-height: 1.3;
  flex-grow: 0;
}

.blog-content-module-demo p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
  margin-bottom: 1rem; /* Add margin-bottom to create space above the arrow */
  flex-grow: 1;
}

/* Blog Arrow Demo - Updated to use SVG arrows */
.blog-arrow-demo {
  position: absolute !important;
  bottom: 2rem !important;
  left: 1.5rem !important;
  color: #60a5fa !important;
  text-decoration: none !important;
  font-size: 1.2rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 24px !important;
  height: 24px !important;
  transition: all 0.3s ease !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  max-width: 24px !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.blog-arrow-demo:hover {
  color: #3b82f6 !important;
  background: rgba(96, 165, 250, 0.1) !important;
  transform: translateY(-1px) !important;
  max-width: 120px !important;
  padding: 0 0.5rem !important;
}

.blog-arrow-demo::before {
  content: "" !important;
  width: 16px !important;
  height: 16px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2360a5fa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='m7 17 10-10'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  transition: all 0.3s ease !important;
  flex-shrink: 0 !important;
}

.blog-arrow-demo:hover::before {
  content: "Read More " !important;
  background-image: none !important;
  width: auto !important;
  height: auto !important;
  font-size: 0.9rem !important;
  margin-right: 0.25rem !important;
}

.blog-arrow-demo:hover::after {
  content: "" !important;
  width: 14px !important;
  height: 14px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  flex-shrink: 0 !important;
  display: block !important;
}

.blog-arrow-demo::after {
  display: none !important;
}

/* Featured Article Module Demo */
.featured-article-module-demo {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

.featured-image-module-demo {
  height: 150px;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.featured-content-module-demo {
  padding: 1.5rem;
  padding-bottom: 4.5rem; /* Increased for more space */
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.featured-content-module-demo h4 {
  color: #ffffff;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  line-height: 1.3;
  flex-grow: 0;
}

.featured-content-module-demo p {
  color: #ffffff;
  opacity: 0.8;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  margin-bottom: 1rem; /* Add margin-bottom */
  flex-grow: 1;
}

/* Featured Arrow Demo - Updated to use SVG arrows */
.featured-arrow-demo {
  position: absolute !important;
  bottom: 2rem !important;
  left: 1.5rem !important;
  color: #60a5fa !important;
  text-decoration: none !important;
  font-size: 1.2rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 24px !important;
  height: 24px !important;
  transition: all 0.3s ease !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  max-width: 24px !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.featured-arrow-demo:hover {
  color: #3b82f6 !important;
  background: rgba(96, 165, 250, 0.1) !important;
  transform: translateY(-1px) !important;
  max-width: 120px !important;
  padding: 0 0.5rem !important;
}

.featured-arrow-demo::before {
  content: "" !important;
  width: 16px !important;
  height: 16px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2360a5fa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='m7 17 10-10'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  transition: all 0.3s ease !important;
  flex-shrink: 0 !important;
}

.featured-arrow-demo:hover::before {
  content: "Read More " !important;
  background-image: none !important;
  width: auto !important;
  height: auto !important;
  font-size: 0.9rem !important;
  margin-right: 0.25rem !important;
}

.featured-arrow-demo:hover::after {
  content: "" !important;
  width: 14px !important;
  height: 14px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  flex-shrink: 0 !important;
  display: block !important;
}

.featured-arrow-demo::after {
  display: none !important;
}

/* Sidebar Article Module Demo */
.sidebar-article-module-demo {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1.5rem;
  position: relative;
  min-height: 140px;
  padding-bottom: 3.5rem; /* Increased for more space */
  display: flex;
  flex-direction: column;
}

.featured-badge-demo {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: inline-block;
  width: fit-content;
}

.sidebar-article-module-demo h5 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  flex-grow: 0;
}

.sidebar-article-module-demo p {
  color: #ffffff;
  opacity: 0.8;
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0;
  margin-bottom: 1rem; /* Add margin-bottom */
  flex-grow: 1;
}

/* Sidebar Arrow Demo - Updated to use SVG arrows */
.sidebar-arrow-demo {
  position: absolute !important;
  bottom: 1rem !important;
  left: 1.5rem !important;
  color: #60a5fa !important;
  text-decoration: none !important;
  font-size: 1.2rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 24px !important;
  height: 24px !important;
  transition: all 0.3s ease !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  max-width: 24px !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.sidebar-arrow-demo:hover {
  color: #3b82f6 !important;
  background: rgba(96, 165, 250, 0.1) !important;
  transform: translateY(-1px) !important;
  max-width: 120px !important;
  padding: 0 0.5rem !important;
}

.sidebar-arrow-demo::before {
  content: "" !important;
  width: 16px !important;
  height: 16px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2360a5fa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='m7 17 10-10'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  transition: all 0.3s ease !important;
  flex-shrink: 0 !important;
}

.sidebar-arrow-demo:hover::before {
  content: "Read More " !important;
  background-image: none !important;
  width: auto !important;
  height: auto !important;
  font-size: 0.9rem !important;
  margin-right: 0.25rem !important;
}

.sidebar-arrow-demo:hover::after {
  content: "" !important;
  width: 14px !important;
  height: 14px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  flex-shrink: 0 !important;
  display: block !important;
}

.sidebar-arrow-demo::after {
  display: none !important;
}

/* Responsive adjustments for new modules */
@media (max-width: 768px) {
  .arrow-demo-container {
    flex-direction: column;
    gap: 2rem;
  }

  .featured-grid-demo {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .filter-controls-demo {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .blog-cards-demo {
    grid-template-columns: 1fr;
  }
}
