/* JodhpurA2Z.com - Custom Styles */
/* Root Variables */
:root {
--primary-color: #2563eb;
--secondary-color: #10b981;
--danger-color: #ef4444;
--warning-color: #f59e0b;
--dark-color: #1f2937;
--light-color: #f9fafb;
}
/* Global Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
color: #333;
}
/* Smooth Scrolling */
html {
scroll-behavior: smooth;
}
/* Marquee Animation for Ticker */
@keyframes marquee {
0% {

transform: translateX(0%);
}
100% {
transform: translateX(-50%);
}
}
.animate-marquee {
display: inline-block;
animation: marquee 30s linear infinite;
white-space: nowrap;
}
/* Category Card Hover Effects */
.category-card {
transition: all 0.3s ease;
}
.category-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
/* Floating Chat Button Pulse */
#floatingChatBtn {
animation: pulse 2s infinite;
}
@keyframes pulse {
0%, 100% {
transform: scale(1);
}
50% {
transform: scale(1.05);
}
}
/* Loading Spinner */
.loading-spinner {
border: 4px solid #f3f3f3;
border-top: 4px solid var(--primary-color);
border-radius: 50%;
width: 40px;
height: 40px;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* Mobile Menu Slide */
#mobileMenu {
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease;
}
#mobileMenu.show {
max-height: 500px;
}
/* Custom Scrollbar */
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: var(--primary-color);
border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
background: #1d4ed8;
}

/* Search Input Focus */
#mainSearch:focus {
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
/* Button Styles */
.btn-primary {
background-color: var(--primary-color);
color: white;
padding: 0.75rem 1.5rem;
border-radius: 0.5rem;
border: none;
cursor: pointer;
transition: all 0.3s ease;
}
.btn-primary:hover {
background-color: #1d4ed8;
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}
/* Alert Messages */
.alert {
padding: 1rem;
border-radius: 0.5rem;
margin-bottom: 1rem;
}
.alert-success {
background-color: #d1fae5;
color: #065f46;
border: 1px solid #10b981;
}
.alert-error {
background-color: #fee2e2;
color: #991b1b;
border: 1px solid #ef4444;
}
.alert-warning {
background-color: #fef3c7;
color: #92400e;
border: 1px solid #f59e0b;
}
/* Card Shadows */
.card {
background: white;
border-radius: 0.5rem;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
padding: 1.5rem;
transition: all 0.3s ease;
}
.card:hover {
box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
/* Badge Styles */
.badge {
display: inline-block;
padding: 0.25rem 0.75rem;
font-size: 0.75rem;
font-weight: 600;
border-radius: 9999px;
}
.badge-success {
background-color: #d1fae5;
color: #065f46;
}
.badge-primary {
background-color: #dbeafe;
color: #1e40af;
}

/* Modal Overlay */
.modal-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.5);
display: flex;
align-items: center;
justify-content: center;
z-index: 9999;
}
.modal-content {
background: white;
padding: 2rem;
border-radius: 0.5rem;
max-width: 500px;
width: 90%;
max-height: 90vh;
overflow-y: auto;
}
/* Responsive Typography */
@media (max-width: 768px) {
h1 {
font-size: 1.75rem;
}
h2 {
font-size: 1.5rem;
}
h3 {
font-size: 1.25rem;
}
}
/* Print Styles */
@media print {
header, footer, .no-print {
display: none;
}
}
/* Accessibility */
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border-width: 0;
}
/* Focus Visible */
*:focus-visible {
outline: 2px solid var(--primary-color);
outline-offset: 2px;
}
/* =================================
Search Suggestions Dropdown
================================= */

.search-suggestions{
position:absolute;
background:white;
border:1px solid #ddd;
width:100%;
max-height:300px;
overflow:auto;
z-index:999;
border-radius:6px;
box-shadow:0 4px 12px rgba(0,0,0,0.1);
}

.suggestion-item{
padding:10px 12px;
cursor:pointer;
font-size:14px;
border-bottom:1px solid #eee;
}

.suggestion-item:last-child{
border-bottom:none;
}

.suggestion-item:hover{
background:#f3f3f3;
}

#search-suggestions{

position:absolute;

background:white;

width:100%;

max-width:400px;

box-shadow:0 4px 12px rgba(0,0,0,0.1);

z-index:999;

}

.suggestion-item{

padding:10px;

cursor:pointer;

border-bottom:1px solid #eee;

}

.suggestion-item:hover{

background:#f5f5f5;

}

/* 🌤 WEATHER CARD UPGRADE */

.df-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.df-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.df-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
}

.df-card * {
  position: relative;
  z-index: 2;
}

.weather-temp {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
}

.weather-cond {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  margin-top: 6px;
}

#weather-icon {
  font-size: 22px;
}

.weather-mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 12px;
  font-size: 12px;
}

.wm {
  background: rgba(255,255,255,0.05);
  padding: 6px;
  border-radius: 8px;
  text-align: center;
}

