/* Stats Counter Section */ 
.stats { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); 
  gap: 20px; 
  padding: 0 30px 25px;
} 

.stat { 
  background: var(--ivory); 
  padding: 22px 25px; 
  border-radius: var(--radius-md); 
  box-shadow: var(--shadow); 
  border-top: 4px solid var(--gold);
  display: flex;
  align-items: center;
  gap: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
} 

.stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.stat-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(239, 191, 4, 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  border: 1px solid rgba(239, 191, 4, 0.3);
} 

.stat h2 { 
  color: var(--primary); 
  font-size: 32px; 
  font-weight: 700;
  line-height: 1;
  font-family: 'Marcellus', serif;
} 

.stat p { 
  margin-top: 4px; 
  color: var(--text-muted); 
  font-size: 13px;
  font-weight: 500;
} 

/* Main Dashboard Grid Structure */ 
.dashboard { 
  display: grid; 
  grid-template-columns: 300px 1fr 310px; 
  gap: 25px; 
  padding: 0 30px 35px; 
} 

/* Column Header Styles */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--sand-dark);
}

.section-title {
  font-family: 'Marcellus', serif;
  font-size: 22px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title span {
  color: var(--gold-dark);
}

.badge-count {
  background: var(--gold-light);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--gold);
} 

/* Card Standard */ 
.card { 
  background: var(--ivory); 
  border-radius: var(--radius-md); 
  padding: 22px; 
  box-shadow: var(--shadow); 
  margin-bottom: 22px; 
  border: 1px solid rgba(6, 64, 43, 0.08);
  transition: all 0.3s ease;
} 

.card h3 { 
  margin-bottom: 15px; 
  color: var(--primary); 
  font-family: 'Marcellus', serif;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
} 

/* Navigation & Filter Links in Left Card */
.menu-list {
  list-style: none;
}

.menu-list li {
  margin-bottom: 6px;
}

.menu-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  background: transparent;
}

.menu-list a:hover,
.menu-list a.active {
  background: var(--sand);
  color: var(--primary);
  font-weight: 600;
  padding-left: 18px;
}

.menu-list a.active {
  border-left: 4px solid var(--gold);
}

.menu-list .icon-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Panchang Card Features */
.panchang-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--sand-dark);
  font-size: 13px;
}

.panchang-item:last-child {
  border-bottom: none;
}

.panchang-label {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.panchang-value {
  font-weight: 600;
  color: var(--primary);
}

.rahu-danger {
  color: #D32F2F;
  font-weight: 600;
}

.shubh-success {
  color: #2E7D32;
  font-weight: 600;
}

/* Services Grid Layout (Center Column) */ 
.services-section {
  margin-bottom: 35px;
} 

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

.service-card { 
  background: var(--ivory); 
  border-radius: var(--radius-md); 
  padding: 22px; 
  box-shadow: var(--shadow); 
  border: 1px solid rgba(239, 191, 4, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); 
  position: relative;
  overflow: hidden;
} 

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--orange) 100%);
} 

.service-card:hover { 
  transform: translateY(-6px); 
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
} 

.service-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
} 

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #FFF8D6 0%, #FFE89C 100%);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(239, 191, 4, 0.2);
} 

.service-title-box h4 {
  font-family: 'Marcellus', serif;
  font-size: 18px;
  color: var(--primary);
  line-height: 1.3;
} 

.service-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--saffron);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
} 

.service-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
} 

.service-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
} 

.meta-chip {
  font-size: 11px;
  background: var(--sand);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
} 

.service-action {
  display: flex;
  gap: 10px;
} 

.btn {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
} 

.btn-primary {
  background: var(--primary);
  color: var(--gold);
  flex: 1;
} 

.btn-primary:hover {
  background: var(--primary-light);
  box-shadow: 0 4px 12px rgba(6, 64, 43, 0.3);
} 

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

.btn-outline:hover {
  background: var(--gold-light);
} 

/* Guruji Listing Directory (Center Column Bottom) */
.guruji-section {
  margin-top: 10px;
} 

.guruji-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
} 

.guruji-card {
  background: var(--ivory);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(6, 64, 43, 0.12);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
} 

.guruji-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
} 

.guruji-badge-status {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
} 

.status-online {
  background: #E8F5E9;
  color: #2E7D32;
  border: 1px solid #A5D6A7;
} 

.status-online-dot {
  width: 7px;
  height: 7px;
  background: #2E7D32;
  border-radius: 50%;
  display: inline-block;
} 

.guruji-profile-top {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
} 

.guruji-photo-frame {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
  padding: 3px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  flex-shrink: 0;
} 

.guruji-photo-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
} 

.guruji-details h4 {
  font-family: 'Marcellus', serif;
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 2px;
} 

.guruji-title {
  font-size: 12px;
  color: var(--saffron);
  font-weight: 600;
  margin-bottom: 4px;
} 

.guruji-rating {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 4px;
} 

.guruji-info-table {
  background: var(--sand);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  font-size: 12px;
} 

.info-item {
  display: flex;
  flex-direction: column;
} 

.info-item .label {
  color: var(--text-muted);
  font-size: 11px;
  margin-bottom: 2px;
} 

.info-item .value {
  font-weight: 600;
  color: var(--primary);
  line-height: 1.3;
} 

.guruji-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
} 

.spec-tag {
  background: var(--gold-light);
  color: var(--primary-dark);
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 6px;
  font-weight: 500;
  border: 1px solid rgba(239, 191, 4, 0.4);
} 

/* Right Sidebar Widgets */
.news-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--sand-dark);
} 

.news-item:last-child {
  border-bottom: none;
} 

.news-date {
  font-size: 11px;
  color: var(--saffron);
  font-weight: 600;
  margin-bottom: 4px;
} 

.news-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  display: block;
  line-height: 1.3;
} 

.news-title:hover {
  color: var(--orange);
} 

.contact-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--ivory);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gold);
} 

.contact-box h3 {
  color: var(--gold);
  margin-bottom: 14px;
} 

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--ivory);
} 

.contact-item a {
  color: var(--ivory);
  text-decoration: none;
} 

.contact-item a:hover {
  color: var(--gold);
} 

.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(239, 191, 4, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--gold);
} 

/* Modal Popup Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 39, 26, 0.82);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
} 

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
} 

.modal-card {
  background: var(--ivory);
  width: 100%;
  max-width: 540px;
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 2px solid var(--gold);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  position: relative;
  transform: translateY(20px);
  transition: all 0.3s ease;
} 

.modal-overlay.active .modal-card {
  transform: translateY(0);
} 

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: var(--sand);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: background 0.2s;
} 

.modal-close:hover {
  background: var(--gold);
} 

.modal-title {
  font-family: 'Marcellus', serif;
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 6px;
} 

.form-group {
  margin-bottom: 16px;
} 

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 6px;
} 

.form-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--sand-dark);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
} 

.form-control:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(239, 191, 4, 0.2);
} 

/* Responsiveness */ 
@media (max-width: 1280px) { 
  .dashboard { 
    grid-template-columns: 260px 1fr; 
  } 
  .right-col {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
} 

@media (max-width: 900px) {
  .dashboard {
    grid-template-columns: 1fr;
  }
  .right-col {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 32px;
  }
}

/* Footer Section - Ultimate Professional Solid Look */
.main-footer {
  background-color: #03271A !important; /* Solid Deep Vedic Green */
  background-image: radial-gradient(circle at 2px 2px, rgba(239, 191, 4, 0.05) 1px, transparent 0) !important; /* Subtle Pattern */
  background-size: 24px 24px !important;
  color: #FFFDF6 !important;
  padding: 80px 40px 40px !important;
  margin-top: 50px !important;
  border-top: 5px solid #EFBF04 !important;
  position: relative !important;
  z-index: 10 !important;
  width: 100% !important;
  opacity: 1 !important; /* No Transparency */
  display: block !important;
  clear: both !important;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.3) !important;
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
}

.footer-grid {
  display: grid !important;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr !important;
  gap: 60px !important;
  max-width: 1400px !important;
  margin: 0 auto 60px !important;
}

.footer-brand .logo-container {
  margin-bottom: 25px;
}

.footer-desc {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 253, 246, 0.8) !important;
  margin-bottom: 30px;
}

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

.social-links a {
  width: 42px;
  height: 42px;
  background: rgba(239, 191, 4, 0.1) !important;
  border: 1px solid #EFBF04 !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #EFBF04 !important;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-links a:hover {
  background: #EFBF04 !important;
  color: #03271A !important;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 5px 15px rgba(239, 191, 4, 0.4);
}

.footer-links h4, .footer-contact h4 {
  font-family: 'Marcellus', serif !important;
  color: #EFBF04 !important;
  font-size: 22px !important;
  margin-bottom: 35px !important;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.footer-links h4::after, .footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 60px;
  height: 3px;
  background: #EFBF04;
}

.footer-links ul {
  list-style: none !important;
  padding: 0 !important;
}

.footer-links ul li {
  margin-bottom: 16px !important;
}

.footer-links ul li a {
  color: rgba(255, 253, 246, 0.9) !important;
  text-decoration: none !important;
  font-size: 16px !important;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links ul li a:hover {
  color: #EFBF04 !important;
  transform: translateX(10px);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-size: 15px;
  color: rgba(255, 253, 246, 0.9) !important;
}

.contact-info-item .icon {
  color: #EFBF04 !important;
  font-size: 20px;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 253, 246, 0.15) !important;
  padding-top: 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: rgba(255, 253, 246, 0.5) !important;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-bottom-links {
  display: flex;
  gap: 30px;
}

.footer-bottom-links a {
  color: rgba(255, 253, 246, 0.5) !important;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s;
}

.footer-bottom-links a:hover {
  color: #EFBF04 !important;
}

/* Vedic Style Chat Widget - Professional Look */
.chat-widget {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 10000; /* Highest priority */
  font-family: 'Poppins', sans-serif;
}

.chat-btn {
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
  color: var(--primary-dark);
  border: 2px solid var(--ivory);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(239, 191, 4, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-btn svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary-dark);
}

.chat-btn:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(239, 191, 4, 0.6);
}

.chat-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #f44336;
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 12px;
  border: 2px solid var(--ivory);
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.chat-window {
  position: absolute;
  bottom: 85px;
  right: 0;
  width: 380px;
  height: 550px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.3);
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--gold);
  animation: chatReveal 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes chatReveal {
  from { transform: translateY(30px) scale(0.9); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.chat-window.active {
  display: flex;
}

.chat-header {
  background: var(--primary);
  padding: 20px;
  color: var(--gold);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--gold);
}

.chat-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar {
  width: 45px;
  height: 45px;
  background: var(--gold);
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 22px;
  border: 2px solid var(--ivory);
}

.chat-user-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--ivory);
}

.chat-status {
  font-size: 12px;
  color: var(--gold);
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 5px;
}

.chat-status::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #4CAF50;
  border-radius: 50%;
}

/* Telegram Style Layout with Vedic Theme */
.chat-search-screen {
  background: var(--sand);
  padding: 40px 30px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.search-box {
  display: flex;
  background: white;
  border-radius: 30px;
  padding: 6px;
  border: 2px solid var(--sand-dark);
  margin-bottom: 20px;
  transition: border-color 0.3s;
}

.search-box:focus-within {
  border-color: var(--gold);
}

.search-box input {
  flex: 1;
  border: none;
  padding: 10px 20px;
  outline: none;
  font-size: 14px;
  background: transparent;
}

.search-box button {
  background: var(--primary);
  color: var(--gold);
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.search-box button:hover {
  background: var(--primary-light);
}

.chat-messages-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #f0f2f5 url('https://www.transparenttextures.com/patterns/cubes.png'); /* Telegram-ish pattern */
}

.messages-container {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.message {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 15px;
  font-size: 14px;
  position: relative;
  line-height: 1.5;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.message.incoming {
  align-self: flex-start;
  background: white;
  color: var(--text-dark);
  border-bottom-left-radius: 4px;
}

.message.outgoing {
  align-self: flex-end;
  background: #E3F2FD; /* Light Vedic Blue/Green */
  color: var(--primary-dark);
  border-bottom-right-radius: 4px;
  border: 1px solid rgba(6, 64, 43, 0.1);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}
