/* Calendar Homepage Styles */
.bcp-calendar-homepage {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.bcp-homepage-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 60px 40px;
  border-radius: 20px;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.bcp-homepage-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  animation: rotate 20s linear infinite;
}

.bcp-homepage-hero h1 {
  font-size: 48px;
  font-weight: 800;
  margin: 0 0 20px 0;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
  color: white;
}

.bcp-homepage-hero p {
  font-size: 20px;
  margin: 0 0 30px 0;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

.bcp-hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.bcp-hero-stat {
  text-align: center;
}

.bcp-hero-stat-number {
  display: block;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 5px;
}

.bcp-hero-stat-label {
  font-size: 14px;
  opacity: 0.9;
}

.bcp-calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.bcp-calendar-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.bcp-calendar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
}


.bcp-calendar-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border-color: rgba(125, 97, 215, 0.3);
}

.bcp-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.bcp-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bcp-calendar-card.bangla .bcp-card-icon {
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
}

.bcp-calendar-card.english .bcp-card-icon {
  background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
}

.bcp-calendar-card.hijri .bcp-card-icon {
  background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

.bcp-card-title {
  flex: 1;
}

.bcp-card-title h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 5px 0;
  color: #ffffff;
}

.bcp-card-title p {
  font-size: 14px;
  color: #ffffff;
  margin: 0;
}

.bcp-card-content {
  margin-bottom: 25px;
}

.bcp-current-date {
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.bcp-current-date h3 {
  font-size: 16px;
  color: #667eea;
  margin: 0 0 8px 0;
  font-weight: 600;
}

.bcp-current-date .bcp-date-text {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.bcp-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

.bcp-card-features li {
  padding: 8px 0;
  color: #666;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bcp-card-features li::before {
  content: "✓";
  color: #4caf50;
  font-weight: bold;
  width: 16px;
  height: 16px;
  background: #e8f5e8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.bcp-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.bcp-btn {
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
}

.bcp-btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  flex: 1;
  justify-content: center;
}

.bcp-btn-primary:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.bcp-btn-outline {
  background: transparent;
  color: #667eea;
  border: 2px solid #667eea;
}

.bcp-btn-outline:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
}

.bcp-features-section {
  background: white;
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.bcp-features-section h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 40px 0;
  color: #333;
}

.bcp-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.bcp-feature-item {
  text-align: center;
  padding: 20px;
}

.bcp-feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
}

.bcp-feature-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: #333;
}

.bcp-feature-item p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.bcp-tools-section {
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 40px;
}

.bcp-tools-section h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 30px 0;
  color: #333;
}

.bcp-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.bcp-tool-card {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.bcp-tool-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.bcp-tool-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.bcp-tool-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
}

.bcp-tool-header h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: #333;
}

.bcp-tool-card p {
  color: #666;
  margin: 0 0 20px 0;
  line-height: 1.6;
}

.bcp-quick-access {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.bcp-quick-access h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 30px 0;
  color: #333;
}

.bcp-quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.bcp-quick-link {
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
  border: 2px solid #e8f2ff;
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 15px;
}

.bcp-quick-link:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: #667eea;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.bcp-quick-link-icon {
  width: 40px;
  height: 40px;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #667eea;
  transition: all 0.3s ease;
}

.bcp-quick-link:hover .bcp-quick-link-icon {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.bcp-quick-link-content h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 5px 0;
}

.bcp-quick-link-content p {
  font-size: 12px;
  margin: 0;
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .bcp-calendar-homepage {
    padding: 15px;
  }

  .bcp-homepage-hero {
    padding: 40px 20px;
  }

  .bcp-homepage-hero h1 {
    font-size: 32px;
  }

  .bcp-homepage-hero p {
    font-size: 16px;
  }

  .bcp-hero-stats {
    gap: 20px;
  }

  .bcp-hero-stat-number {
    font-size: 24px;
  }

  .bcp-calendar-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .bcp-calendar-card {
    padding: 20px;
  }

  .bcp-card-header {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .bcp-features-section,
  .bcp-tools-section,
  .bcp-quick-access {
    padding: 25px 20px;
  }

  .bcp-features-grid,
  .bcp-tools-grid,
  .bcp-quick-links {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .bcp-homepage-hero h1 {
    font-size: 24px;
  }

  .bcp-homepage-hero p {
    font-size: 14px;
  }

  .bcp-hero-stats {
    flex-direction: column;
    gap: 15px;
  }

  .bcp-calendar-card {
    padding: 15px;
  }

  .bcp-card-title h2 {
    font-size: 20px;
  }

  .bcp-features-section h2,
  .bcp-tools-section h2,
  .bcp-quick-access h2 {
    font-size: 24px;
  }
}

/* Animation for rotating background */
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Loading animation */
.bcp-loading {
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Hover effects */
.bcp-calendar-card,
.bcp-feature-item,
.bcp-tool-card {
  animation: fadeIn 0.6s ease forwards;
}

.bcp-calendar-card:nth-child(1) {
  animation-delay: 0.1s;
}
.bcp-calendar-card:nth-child(2) {
  animation-delay: 0.2s;
}
.bcp-calendar-card:nth-child(3) {
  animation-delay: 0.3s;
}
