/* 🌐 Import Devanagari Font for Marathi/Hindi Support */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;500;600;700&display=swap');

/* 🌸 Fonts & Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #3c2a00;
  background: #fffaf3;
  line-height: 1.6;
  overflow-x: hidden;
}

/* 🌅 Header - Changed from sticky to normal scroll */
.main-header {
  background: linear-gradient(135deg, #f8b400, #ff9800);
  padding: 15px 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  border-bottom: 3px solid #d17b00;
}

.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 0 12px rgba(255,255,255,0.6);
}

.main-title {
  font-family: 'Kaisei Tokumin', serif;
  color: white;
  font-size: 2.3rem;
  text-align: center;
  flex: 1;
  text-shadow: 0 2px 5px rgba(0,0,0,0.25);
}

/* 🌐 Modern Language Dropdown - Updated Background */
.language-wrapper {
  position: absolute;
  top: 20px;
  right: 25px;
  z-index: 1002;
}

.dropdown {
  position: relative;
}

.dropdown > a {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 25px;
  padding: 12px 20px;
  font-weight: 600;
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 0.95rem;
}

.dropdown > a::after {
  content: '▼';
  font-size: 0.7rem;
  margin-left: 4px;
  transition: transform 0.3s ease;
}

.dropdown:hover > a::after {
  transform: rotate(180deg);
}

.dropdown > a:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.dropdown-content {
  display: none;
  position: absolute;
  background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
  right: 0;
  top: 100%;
  min-width: 160px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  margin-top: 8px;
  animation: slideDown 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content li {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.dropdown-content li:last-child {
  border-bottom: none;
}

.dropdown-content li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  background: transparent;
}

.dropdown-content li a:hover {
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%);
  color: white;
  transform: translateX(-5px);
  padding-left: 23px;
  backdrop-filter: blur(10px);
}

.dropdown-content li a::before {
  content: '🌐';
  font-size: 1.1rem;
  filter: brightness(1.2);
}

.dropdown-content li:nth-child(1) a::before { content: '🟤'; }
.dropdown-content li:nth-child(2) a::before { content: '🟠'; }
.dropdown-content li:nth-child(3) a::before { content: '🔵'; }

@keyframes slideDown {
  from { 
    opacity: 0; 
    transform: translateY(-10px) scale(0.95); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0) scale(1); 
  }
}

/* 🕉️ Navigation */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-menu li a {
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 20px;
}

.nav-menu li a:hover {
  color: #fff2c2;
  text-shadow: 0 0 5px #fff2c2;
  background: rgba(255, 255, 255, 0.1);
}

/* 🕯️ Floating News Bar */
.floating-news-bar {
  background: #fff2cc;
  color: #3c2a00;
  font-weight: bold;
  padding: 10px 0;
  overflow: hidden;
  border-bottom: 2px solid #ffcc00;
}

.scrolling-text {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: scrollLeft 15s linear infinite;
}

@keyframes scrollLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* 📲 App Download - Updated Layout */
.app-download {
  background: #fff7e0;
  margin: 40px auto;
  padding: 50px 20px;
  text-align: center;
  border-radius: 20px;
  max-width: 900px;
  box-shadow: 0 4px 20px rgba(255,150,0,0.2);
}

.app-download h2 {
  color: #e65100;
  font-size: 2rem;
  margin-bottom: 15px;
}

.app-download p {
  color: #5a4a00;
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.app-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.app-qr {
  width: 160px;
  height: 160px;
  border-radius: 15px;
  border: 3px solid #ffd54f;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.download-btn {
  background: linear-gradient(90deg, #ff9800, #f57c00);
  border: none;
  color: white;
  padding: 15px 35px;
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255,140,0,0.4);
}

.download-btn:hover {
  transform: scale(1.05);
  background: #e65100;
}

/* 🌸 Blessings Carousel - FIXED Sequential Animation */
#blessingsCarousel {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 600;
  color: #3c2a00;
  margin-top: 25px;
  min-height: 40px;
  transition: opacity 0.8s ease;
}

.blessing-text {
  opacity: 1;
  transition: opacity 0.8s ease;
}

.fade-in {
  opacity: 1;
}

.fade-out {
  opacity: 0;
}

/* 🔔 Music Button */
.music-control {
  text-align: center;
  margin: 40px 0;
}

#musicToggle {
  background: linear-gradient(90deg, #ff9800, #f57c00);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255,102,0,0.4);
  transition: transform 0.3s ease;
}

#musicToggle:hover {
  transform: scale(1.05);
}

/* 🕉️ Footer */
footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 25px 10px;
}

footer a {
  color: #ffd54f;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* 🌺 Scroll Top Button */
#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 60px;
  right: 30px;
  background: #f57c00;
  color: white;
  border: none;
  border-radius: 50%;
  padding: 15px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255,111,0,0.4);
  animation: floatUpDown 2s infinite ease-in-out;
  transition: all 0.3s ease;
  z-index: 1000;
}

#scrollTopBtn:hover {
  background: #d84315;
  transform: scale(1.1);
}

@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Toast Notification */
.toast {
  visibility: hidden;
  min-width: 250px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  text-align: center;
  border-radius: 25px;
  padding: 16px;
  position: fixed;
  z-index: 1000;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.toast.show {
  visibility: visible;
  opacity: 1;
}

/* 🌟 Daily Inspiration Section - FIXED TEXT VISIBILITY */
.daily-inspiration {
  background: linear-gradient(135deg, #fff9e6 0%, #ffecc7 100%);
  margin: 60px auto;
  padding: 60px 30px;
  border-radius: 30px;
  max-width: 1200px;
  box-shadow: 
    0 25px 60px rgba(255, 150, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 0 1px rgba(255, 213, 79, 0.4);
  border: 2px solid #ffd54f;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.daily-inspiration::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, 
    #ff9800, #f57c00, #ff5722, #f57c00, #ff9800);
  background-size: 200% 100%;
  animation: shimmer 4s infinite linear;
  z-index: 2;
}

.daily-inspiration::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 215, 79, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 152, 0, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255, 193, 7, 0.05) 0%, transparent 50%);
  animation: rotate 25s linear infinite;
  pointer-events: none;
  z-index: 1;
}

.daily-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Daily Content - Updated */
.daily-content {
  text-align: center;
  padding: 0;
  position: relative;
}

.daily-header {
  font-family: 'Kaisei Tokumin', serif;
  font-size: 3.5rem;
  color: transparent;
  background: linear-gradient(135deg, #5a3700 0%, #8b5a00 30%, #b57c00 50%, #8b5a00 70%, #5a3700 100%);
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 30px;
  line-height: 1.1;
  text-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  position: relative;
  animation: textGlow 4s ease-in-out infinite alternate;
  letter-spacing: -0.5px;
}

.daily-header::after {
  content: '';
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 5px;
  background: linear-gradient(90deg, 
    transparent, 
    #ff9800, 
    #f57c00, 
    #ff5722,
    #f57c00, 
    #ff9800, 
    transparent);
  border-radius: 3px;
  box-shadow: 0 3px 12px rgba(255, 152, 0, 0.5);
  animation: pulseLine 3s ease-in-out infinite;
}

.daily-subheader {
  font-size: 1.6rem;
  color: #7a5a00;
  line-height: 1.8;
  margin: 60px 0 50px 0;
  font-weight: 500;
  padding: 0 15%;
  position: relative;
  font-style: italic;
  background: linear-gradient(135deg, #7a5a00, #9d7300, #b58a00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.daily-subheader::before,
.daily-subheader::after {
  content: '"';
  font-size: 4.5rem;
  color: #ff9800;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.6;
  font-family: serif;
  animation: quoteFloat 3s ease-in-out infinite;
  text-shadow: 0 4px 8px rgba(255, 152, 0, 0.3);
}

.daily-subheader::before {
  left: -40px;
  animation-delay: 0.5s;
}

.daily-subheader::after {
  right: -40px;
  animation-delay: 1s;
}

/* Enhanced Photo Container */
.daily-photo-container {
  position: relative;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 0.25),
    0 15px 40px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 0 0 2px rgba(255, 213, 79, 0.3);
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: linear-gradient(145deg, #ffffff, #fffaf0);
  margin: 40px auto;
  width: 90%;
  max-width: 900px;
  border: 3px solid transparent;
  background-clip: padding-box;
  display: flex;
  flex-direction: column;
}

.daily-photo-container::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(45deg, #ff9800, #f57c00, #ff5722, #f57c00, #ff9800);
  border-radius: 28px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.daily-photo-container:hover::before {
  opacity: 1;
}

.daily-photo-container:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 
    0 45px 120px rgba(0, 0, 0, 0.35),
    0 25px 60px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 0 0 3px rgba(255, 213, 79, 0.5);
}

.daily-photo {
  width: 100%;
  height: auto;
  max-height: 500px;
  border-radius: 22px 22px 0 0;
  display: block;
  object-fit: contain;
  object-position: center;
  background: linear-gradient(45deg, #f8f9fa, #e9ecef);
  transition: all 0.7s ease;
  position: relative;
  filter: brightness(0.95) contrast(1.05);
}

.daily-photo-container:hover .daily-photo {
  transform: scale(1.08);
  filter: brightness(1) contrast(1.1);
}

.daily-photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.15));
  pointer-events: none;
}

/* 🚨 FIXED SCROLL INDICATOR: Stays at bottom until content is fully scrolled */
.description-container {
  position: relative;
  background: #ffffff !important;
  border-radius: 0 0 22px 22px;
  padding: 0;
  min-height: 280px;
  max-height: 560px;
  overflow: hidden;
  border-top: 4px solid #ff9800;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 3px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  width: 100%;
}

/* Scroll indicator positioned on the container, not the scrollable content */
.description-container.has-scrollable-content::after {
  content: '↓';
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: #ff9800;
  opacity: 0.8;
  animation: bounceIndicator 2s infinite ease-in-out;
  pointer-events: none;
  z-index: 10;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
  border: 2px solid rgba(255, 152, 0, 0.2);
}

/* Hide scroll indicator when user scrolls to bottom */
.description-container.has-scrollable-content.scrolled-to-bottom::after {
  opacity: 0;
  transform: translateX(-50%) scale(0.8);
  transition: all 0.5s ease;
}

/* Enhanced bounce animation */
@keyframes bounceIndicator {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Fade effect at bottom to indicate more content */
.description-container.has-scrollable-content::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.95));
  pointer-events: none;
  z-index: 5;
  border-radius: 0 0 22px 22px;
  transition: opacity 0.5s ease;
}

/* Remove fade effect when scrolled to bottom */
.description-container.has-scrollable-content.scrolled-to-bottom::before {
  opacity: 0;
}

.description-scroll {
  flex: 1;
  min-height: 250px;
  max-height: 490px;
  overflow-y: auto;
  padding: 40px 50px;
  background-color: #ffffff;
  scrollbar-width: thin;
  scrollbar-color: #ff9800 #fffaf0;
  position: relative;
  background: #ffffff;
  background-attachment: local;
  background-repeat: no-repeat;
  background-size: 100% 80px;
  color: #5a3700 !important;
}

/* Enhanced scrollbar styling */
.description-scroll::-webkit-scrollbar {
  width: 12px;
}

.description-scroll::-webkit-scrollbar-track {
  background: linear-gradient(to bottom, #fffaf0, #fff7e6);
  border-radius: 10px;
  margin: 20px 0;
  border: 2px solid #fffaf0;
}

.description-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff9800, #f57c00, #e65100);
  border-radius: 10px;
  border: 2px solid #fffaf0;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.description-scroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #f57c00, #e65100, #d84315);
}

/* REMOVED daily-decoration section */
.daily-decoration {
  display: none;
}

/* Animations */
@keyframes textGlow {
  0% { text-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); }
  100% { text-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), 0 0 10px rgba(255, 152, 0, 0.3); }
}

@keyframes pulseLine {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

@keyframes quoteFloat {
  0%, 100% { transform: translateY(-50%) scale(1); }
  50% { transform: translateY(-50%) scale(1.1); }
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Enhanced Responsive Design */
@media (max-width: 968px) {
  .daily-header {
    font-size: 3rem;
  }
  
  .daily-subheader {
    font-size: 1.5rem;
    padding: 0 12%;
    margin: 50px 0 40px 0;
  }
  
  .daily-photo {
    height: 450px;
  }
  
  .description-container {
    min-height: 230px; /* Adjusted for responsive */
    max-height: 460px; /* Adjusted for responsive */
  }
  
  .description-scroll {
    min-height: 200px; /* Adjusted for responsive */
    max-height: 400px; /* Adjusted for responsive */
    padding: 35px 40px;
  }
  
  .photo-description {
    min-height: 200px; /* Adjusted for responsive */
    font-size: 1.4rem;
    line-height: 2;
  }
}

@media (max-width: 768px) {
  .daily-inspiration {
    margin: 40px 20px;
    padding: 50px 25px;
    border-radius: 25px;
  }
  
  .daily-header {
    font-size: 2.6rem;
  }
  
  .daily-header::after {
    width: 120px;
    bottom: -20px;
  }
  
  .daily-subheader {
    font-size: 1.4rem;
    margin: 40px 0 35px 0;
    padding: 0 10%;
  }
  
  .daily-subheader::before,
  .daily-subheader::after {
    font-size: 4rem;
  }
  
  .daily-photo {
    height: 400px;
  }
  
  .description-container {
    min-height: 200px; /* Adjusted for responsive */
    max-height: 400px; /* Adjusted for responsive */
  }
  
  .description-scroll {
    min-height: 170px; /* Adjusted for responsive */
    max-height: 340px; /* Adjusted for responsive */
    padding: 30px 35px;
  }
  
  .photo-description {
    min-height: 170px; /* Adjusted for responsive */
    font-size: 1.3rem;
    line-height: 1.9;
  }
}

@media (max-width: 480px) {
  .daily-inspiration {
    margin: 30px 15px;
    padding: 40px 20px;
    border-radius: 20px;
  }
  
  .daily-header {
    font-size: 2.2rem;
  }
  
  .daily-header::after {
    width: 100px;
    bottom: -15px;
  }
  
  .daily-subheader {
    font-size: 1.2rem;
    margin: 35px 0 30px 0;
    padding: 0 8%;
  }
  
  .daily-subheader::before,
  .daily-subheader::after {
    font-size: 3.5rem;
    display: none;
  }
  
  .daily-photo {
    height: 320px;
  }
  
  .description-container {
    min-height: 180px; /* Adjusted for responsive */
    max-height: 320px; /* Adjusted for responsive */
  }
  
  .description-scroll {
    min-height: 150px; /* Adjusted for responsive */
    max-height: 280px; /* Adjusted for responsive */
    padding: 25px 30px;
  }
  
  .photo-description {
    min-height: 150px; /* Adjusted for responsive */
    font-size: 1.1rem;
    line-height: 1.8;
  }
}

/* 🌈 Responsive */
@media (max-width: 768px) {
  .main-header .container {
    flex-direction: column;
    text-align: center;
  }
  .main-title {
    font-size: 1.8rem;
    margin: 10px 0;
  }
  .nav-menu {
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
  }
  .language-wrapper {
    position: static;
    margin-top: 10px;
    order: -1;
    align-self: flex-end;
  }
  .app-download {
    margin: 20px;
    padding: 30px 15px;
  }
  .blessings-carousel {
    font-size: 1.1rem;
    margin: 30px 15px;
    min-height: 60px;
  }
  .dropdown-content {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 480px) {
  .main-title {
    font-size: 1.5rem;
  }
  .logo {
    width: 80px;
    height: 80px;
  }
  .blessings-carousel {
    font-size: 1rem;
    min-height: 50px;
  }
  .dropdown > a {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
}

/* 🌸 Blessings Carousel Section */
#blessingsCarousel {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 20px auto;
  padding: 10px;
  box-sizing: border-box;
}

/* 🌼 Blessing Text */
.blessing-text {
  font-size: 1.4rem;
  text-align: center;
  font-weight: 600;
  color: #6b4200;
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
  opacity: 1;
  transform: scale(1);
  padding: 15px 25px;
  line-height: 1.6;
  max-width: 90%;
}

/* ✨ Fade Animations */
.fade-in {
  opacity: 1;
  transform: scale(1);
}

.fade-out {
  opacity: 0;
  transform: scale(0.98);
}

/* 🌙 Responsive Styles */
@media (max-width: 768px) {
  .blessing-text {
    font-size: 1.1rem;
    padding: 10px 15px;
  }
}

@media (max-width: 480px) {
  .blessing-text {
    font-size: 1rem;
    padding: 8px 10px;
  }
}

/* 🕉️ Optional: Pause on Hover */
#blessingsCarousel:hover {
  cursor: pointer;
}

/* 🚨 URGENT FIX: Force text visibility in description section */
.daily-inspiration .description-scroll .photo-description,
#descriptionScroll .photo-description,
#dailyPhotoDescription.photo-description {
  color: #5a3700 !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

/* Prevent JavaScript from hiding the text initially */
.daily-inspiration .description-container,
.daily-inspiration .description-scroll {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Ensure text color stays dark */
.photo-description {
  color: #5a3700 !important;
  -webkit-text-fill-color: #5a3700 !important;
  background: transparent !important;
}

/* Fix for JavaScript loading states */
.daily-inspiration:not(.loading) .photo-description {
  opacity: 1 !important;
}
@keyframes subtleFadeIn {
  from { opacity: 0.95; }
  to { opacity: 1; }
}

/* 🚨 FIX: Remove first letter bold and side padding */
.daily-inspiration .daily-photo-container .description-container .description-scroll .photo-description,
.daily-inspiration .description-scroll .photo-description,
#descriptionScroll .photo-description,
.photo-description {
  font-size: 1.1rem !important;
  font-weight: 500 !important;
  line-height: 1.8 !important;
  padding: 25px 0 !important; /* Remove left/right padding, keep top/bottom */
  margin: 0 !important;
}

/* Remove first letter styling completely */
.photo-description::first-letter {
  all: unset !important; /* Remove all special styling */
  font-size: inherit !important;
  font-weight: inherit !important;
  float: none !important;
  margin-right: 0 !important;
  line-height: inherit !important;
  text-shadow: none !important;
  font-family: inherit !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  color: inherit !important;
  padding: 0 !important;
}

/* Responsive adjustments */
@media (max-width: 968px) {
  .daily-inspiration .daily-photo-container .description-container .description-scroll .photo-description,
  .daily-inspiration .description-scroll .photo-description,
  #descriptionScroll .photo-description,
  .photo-description {
    font-size: 1rem !important;
    line-height: 1.7 !important;
    padding: 20px 0 !important;
  }
}

@media (max-width: 768px) {
  .daily-inspiration .daily-photo-container .description-container .description-scroll .photo-description,
  .daily-inspiration .description-scroll .photo-description,
  #descriptionScroll .photo-description,
  .photo-description {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    padding: 18px 0 !important;
  }
}

@media (max-width: 480px) {
  .daily-inspiration .daily-photo-container .description-container .description-scroll .photo-description,
  .daily-inspiration .description-scroll .photo-description,
  #descriptionScroll .photo-description,
  .photo-description {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    padding: 15px 0 !important;
  }
}

/* 🚨 FIX: Marathi Font Support for Daily Inspiration Headers */
.daily-header {
  font-family: 'Kaisei Tokumin', 'Noto Sans Devanagari', 'Arial Unicode MS', 'Nirmala UI', sans-serif !important;
}

/* Ensure proper font rendering for Marathi text */
[lang="mr"] .daily-header,
[lang="hi"] .daily-header {
  font-family: 'Noto Sans Devanagari', 'Nirmala UI', 'Arial Unicode MS', 'Kaisei Tokumin', sans-serif !important;
  letter-spacing: 0.5px !important;
  word-spacing: 2px !important;
}

/* Add Google Fonts for Devanagari support */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;500;600;700&display=swap');

/* Alternative: Use system fonts that support Devanagari */
.daily-header {
  font-family: 'Kaisei Tokumin', 'Noto Sans Devanagari', 'Nirmala UI', 'Mangal', 'Arial Unicode MS', sans-serif !important;
}

/* Fix for compressed text in Marathi */
[lang="mr"] .daily-header,
[lang="hi"] .daily-header {
  font-size: 3rem !important; /* Slightly smaller for better rendering */
  line-height: 1.3 !important;
  letter-spacing: normal !important;
}

/* Responsive fixes for Marathi text */
@media (max-width: 968px) {
  [lang="mr"] .daily-header,
  [lang="hi"] .daily-header {
    font-size: 2.6rem !important;
    line-height: 1.2 !important;
  }
}

@media (max-width: 768px) {
  [lang="mr"] .daily-header,
  [lang="hi"] .daily-header {
    font-size: 2.2rem !important;
    line-height: 1.15 !important;
  }
}

@media (max-width: 480px) {
  [lang="mr"] .daily-header,
  [lang="hi"] .daily-header {
    font-size: 1.8rem !important;
    line-height: 1.1 !important;
  }
}

/* Ensure proper text rendering */
.daily-header {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fallback for browsers that don't support Devanagari fonts */
@supports not (font-family: 'Noto Sans Devanagari') {
  [lang="mr"] .daily-header,
  [lang="hi"] .daily-header {
    font-family: 'Nirmala UI', 'Mangal', 'Arial Unicode MS', sans-serif !important;
  }
}

/* 🚨 FIX: Marathi Font Support for Daily Inspiration Headers */
.daily-header {
  font-family: 'Noto Sans Devanagari', 'Nirmala UI', 'Mangal', 'Arial Unicode MS', 'Kaisei Tokumin', sans-serif !important;
}

/* Specific fixes for Marathi and Hindi */
[lang="mr"] .daily-header,
[lang="hi"] .daily-header {
  font-family: 'Noto Sans Devanagari', 'Nirmala UI', 'Mangal', 'Arial Unicode MS', sans-serif !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  letter-spacing: 0.3px !important;
  word-spacing: 1px !important;
}

/* Fix the gradient text for better readability in Marathi/Hindi */
[lang="mr"] .daily-header,
[lang="hi"] .daily-header {
  background: linear-gradient(135deg, #4a3200 0%, #6b4a00 30%, #8c6200 50%, #6b4a00 70%, #4a3200 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

/* Responsive adjustments for Devanagari text */
@media (max-width: 968px) {
  [lang="mr"] .daily-header,
  [lang="hi"] .daily-header {
    font-size: 2.8rem !important;
    line-height: 1.25 !important;
  }
}

@media (max-width: 768px) {
  [lang="mr"] .daily-header,
  [lang="hi"] .daily-header {
    font-size: 2.3rem !important;
    line-height: 1.2 !important;
  }
}

@media (max-width: 480px) {
  [lang="mr"] .daily-header,
  [lang="hi"] .daily-header {
    font-size: 1.9rem !important;
    line-height: 1.15 !important;
  }
}

/* Ensure proper text rendering */
.daily-header {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 🚨 FINAL FIX: Marathi Font Support with Proper Line Height */
.daily-header {
  font-family: 'Noto Sans Devanagari', 'Nirmala UI', 'Mangal', 'Arial Unicode MS', 'Kaisei Tokumin', sans-serif !important;
  line-height: 1.4 !important; /* Increased line height for Devanagari */
  padding-top: 10px !important; /* Add padding to prevent cutting */
  margin-bottom: 40px !important; /* Increased bottom margin */
}

/* Specific fixes for Marathi and Hindi to prevent text cutting */
[lang="mr"] .daily-header,
[lang="hi"] .daily-header {
  font-family: 'Noto Sans Devanagari', 'Nirmala UI', 'Mangal', 'Arial Unicode MS', sans-serif !important;
  font-weight: 600 !important;
  line-height: 1.5 !important; /* Even more line height for Devanagari */
  letter-spacing: 0.2px !important;
  word-spacing: 1px !important;
  padding-top: 15px !important; /* Extra top padding */
  margin-bottom: 45px !important; /* More space below */
  transform: translateY(5px) !important; /* Slight downward shift */
}

/* Fix the gradient text positioning */
[lang="mr"] .daily-header,
[lang="hi"] .daily-header {
  background: linear-gradient(135deg, #4a3200 0%, #6b4a00 30%, #8c6200 50%, #6b4a00 70%, #4a3200 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  display: inline-block !important; /* Better text rendering */
}

/* Fix the ::after line positioning for Marathi/Hindi */
[lang="mr"] .daily-header::after,
[lang="hi"] .daily-header::after {
  bottom: -30px !important; /* Move line further down */
}

/* Responsive adjustments for Devanagari text */
@media (max-width: 968px) {
  [lang="mr"] .daily-header,
  [lang="hi"] .daily-header {
    font-size: 2.8rem !important;
    line-height: 1.4 !important;
    padding-top: 12px !important;
  }
}

@media (max-width: 768px) {
  [lang="mr"] .daily-header,
  [lang="hi"] .daily-header {
    font-size: 2.3rem !important;
    line-height: 1.35 !important;
    padding-top: 10px !important;
    transform: translateY(3px) !important;
  }
  
  /* Adjust the line position for mobile */
  [lang="mr"] .daily-header::after,
  [lang="hi"] .daily-header::after {
    bottom: -25px !important;
  }
}

@media (max-width: 480px) {
  [lang="mr"] .daily-header,
  [lang="hi"] .daily-header {
    font-size: 1.9rem !important;
    line-height: 1.3 !important;
    padding-top: 8px !important;
    transform: translateY(2px) !important;
  }
  
  /* Adjust the line position for small mobile */
  [lang="mr"] .daily-header::after,
  [lang="hi"] .daily-header::after {
    bottom: -20px !important;
  }
}

/* Ensure proper text rendering with overflow protection */
.daily-header {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: visible !important; /* Prevent any cutting */
  position: relative !important;
}

