body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  overflow-x: hidden;
  font-display: swap;
}

/* App nav logo — header can grow; sidebar width stays capped via .navbar-logo rules */
.app-nav-logo-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  max-width: 113px;
  overflow: hidden;
  line-height: 0;
}

.app-nav-logo,
.navbar-logo img {
  display: block;
  max-width: 113px;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Sidebar: larger logo inside fixed 110px rail (do not widen sidebar) */
.navbar-logo .app-nav-logo,
.main-sidebar .app-nav-logo {
  max-width: 102px;
  max-height: 56px;
  width: 100%;
}

@media (max-width: 639px) {
  .app-nav-logo-wrap {
    max-width: min(100px, 34vw);
  }

  .app-nav-logo,
  .navbar-logo img {
    max-width: min(100px, 34vw);
    max-height: 40px;
  }

  nav.bg-white.shadow-sm .app-nav-logo-wrap {
    max-width: min(100px, 34vw);
  }

  nav.bg-white.shadow-sm .app-nav-logo {
    max-width: min(100px, 34vw);
    max-height: 40px;
  }

  /* Navigation embedded in mobile header — avoid double horizontal padding */
  nav.bg-white1.border-b > .max-w-screen-2xl {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (display-mode: standalone) {
  nav.bg-white.shadow-sm.sticky {
    padding-top: env(safe-area-inset-top, 0);
  }
}

/* Custom Multi-Select Styles */
.custom-multiselect-check {
    position: relative;
    width: 100%;
    margin-bottom: 0;
}

.custom-multiselect-check .select-box {
    border: 1px solid #ced4da;
    padding: 10px 12px;
    background: #fff;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 13px;
    color: #374151;
    min-height: 42px;
    display: flex;
    align-items: center;
}

.custom-multiselect-check .select-box:hover {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.custom-multiselect-check .select-box.active {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.custom-multiselect-check .select-box.active .fa-chevron-down {
    transform: rotate(180deg);
    color: #3b82f6;
}

.custom-multiselect-check {
    position: relative;
    z-index: 1000;
}

.custom-multiselect-check .dropdown-check {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    min-width: 280px;
    max-width: 400px;
    border: 1px solid #d1d5db;
    background: #fff;
    border-radius: 6px;
    max-height: 350px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 99999;
    display: none;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin: 0;
}

/* Desktop: use fixed positioning to avoid clipping */
@media (min-width: 640px) {
    .custom-multiselect-check .dropdown-check {
        position: fixed;
        width: auto;
    }
}

/* Ensure dropdown is visible even in overflow containers */
#filterPanel .custom-multiselect-check {
    z-index: 1001;
    overflow: visible; /* Allow dropdown to overflow */
    position: relative;
}

#filterPanel .custom-multiselect-check .dropdown-check {
    z-index: 99999;
}

/* On mobile, ensure dropdown positioning works correctly */
@media (max-width: 639px) {
    #filterPanel {
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    /* Allow grid items to overflow for dropdowns */
    .fliterMobileheight > * {
        overflow: visible;
    }
    
    /* Allow dropdown to overflow the grid container on mobile */
    .fliterMobileheight .custom-multiselect-check {
        overflow: visible;
    }
    
    #filterPanel .custom-multiselect-check .dropdown-check {
        position: absolute !important;
        top: calc(100% + 5px) !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

.custom-multiselect-check .dropdown-check input[type="search"] {
    width: 100%;
    padding: 7px;
    margin-bottom: 10px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 14px;
}

.custom-multiselect-check .actions {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.custom-multiselect-check .actions button {
    background-color: #f3f4f6;
    border: none;
    padding: 5px 10px;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: #374151;
}

.custom-multiselect-check .actions button:hover {
    background-color: #e5e7eb;
}

.custom-multiselect-check .options {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.custom-multiselect-check .option {
    display: flex;
    align-items: center;
}

.custom-multiselect-check .option input[type="checkbox"] {
    display: none;
}

.custom-multiselect-check .option label {
    position: relative;
    padding: 3px 2px 3px 25px;
    cursor: pointer;
    user-select: none;
    display: block;
    width: 100%;
    font-size: 14px;
    color: #374151;
}

.custom-multiselect-check .option label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    border: 2px solid #9ca3af;
    border-radius: 3px;
    background: #fff;
    transition: background-color 0.2s;
}

.custom-multiselect-check .option input[type="checkbox"]:checked + label::before {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.custom-multiselect-check .option label::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 6px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    opacity: 0;
    transform: rotate(45deg);
}

.custom-multiselect-check .option input[type="checkbox"]:checked + label::after {
    opacity: 1;
}

.countDigit {
    color: #3b82f6;
    font-weight: 600;
}

/* Ensure dropdown doesn't get cut off in modal */
#addGeographyModal .custom-multiselect-check {
    position: relative;
    z-index: 10;
}

#addGeographyModal .custom-multiselect-check .dropdown-check {
    max-height: 350px;
    min-height: 150px;
    position: absolute !important;
    top: calc(100% + 5px) !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 10000 !important;
}

.hero-pattern {
  background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.1) 0%, rgba(255, 255, 255, 0) 25%);
}

/* Ensure no text overlap issues */
h1, h2, h3, h4, h5, h6 {
  position: relative;
  z-index: 1;
  background: transparent !important;
}

.text-primary {
  color: #2563eb !important;
}

/* Remove any red selection or background issues */
* {
  box-sizing: border-box;
}

*::selection {
  background-color: #2563eb !important;
  color: white !important;
}

*::-moz-selection {
  background-color: #2563eb !important;
  color: white !important;
}

/* Specifically fix main heading */
h1 span.text-primary {
  background: transparent !important;
  color: #2563eb !important;
}

/* Remove any overlay or pseudo-element backgrounds */
h1::before, h1::after {
  display: none !important;
}

.hero-pattern h1 {
  background: transparent !important;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.stat-card {
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  transform: translateY(-3px);
}

.testimonial-card {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.cta-gradient {
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
}

.accordion-item {
  transition: all 0.3s ease;
  overflow: hidden;
  border-bottom: 1px solid #e5e7eb;
}

.accordion-content {
  max-height: 0;
  transition: max-height 0.3s ease;
  overflow: hidden;
  opacity: 0;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  opacity: 1;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

/* Ensure accordion items are clickable */
.accordion-header {
  cursor: pointer;
  user-select: none;
}

.accordion-header:hover {
  background-color: #f9fafb;
}

.contact-gradient {
  background: linear-gradient(135deg, #f0f7ff 0%, #e6f7ff 100%);
}

.contact-card {
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
}

.form-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mobile-menu {
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    width: 80%;
    max-width: 300px;
  }

  .mobile-menu.open {
    transform: translateX(0);
  }

  .hamburger div {
    transition: all 0.3s ease;
  }

  .hamburger.active div:first-child {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active div:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active div:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .backdrop {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
  }

  .backdrop.active {
    opacity: 1;
    visibility: visible;
  }

  .submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }

  .submenu.active {
    max-height: 500px;
  }

  .nav-link {
    position: relative;
    padding-bottom: 6px;
    margin: 0 10px;
    color: #6b7280;
    font-weight: 500;
    transition: color 0.3s ease;
  }

  .nav-link:hover {
    color: #3b82f6;
  }

  .nav-link.active {
    color: #3b82f6;
    font-weight: 600;
  }

  .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #3b82f6;
  }

  .fliterMobileheight {
    max-height: calc(100vh - 145px);
    overflow-y: auto;
    padding-bottom: 10px;
  }

  .fliterMobileheight::-webkit-scrollbar {
    display: none;
  }
}



.fileGroup input[type="file"] {
  margin: auto;
  padding: 1.5em;
  border: 2px dashed #bbb;
  background-color: #fff;
  border-radius: 4px;
  transition: border-color 0.25s ease-in-out;
}

.fileGroup input[type="file"]::file-selector-button {
  padding: 1em 1.5em;
  border-width: 0;
  border-radius: 2em;
  background-color: #2563eb;
  color: hsl(210, 40%, 90%);
  transition: all 0.25s ease-in-out;
  cursor: pointer;
  margin-right: 1em;
}

.fileGroup input[type="file"]:hover {
  border-color: #888;
}

.fileGroup input[type="file"]:hover::file-selector-button {
  background-color: hsl(210, 70%, 40%);
}
.upload-btn {
    margin: auto;
    padding: 0.8rem 1.5em;
    border: 2px dashed #bbb;
    border-top: 0;
    max-width: 393px;
    text-align: center;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}
.filewrap .fileGroup input[type="file"]::file-selector-button {
  padding: 0.5em 1.5em;
}
.select2-container{
  width: 100% !important;
}
@media (max-width: 640px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .fileGroup input[type="file"] {
    width: 100%;
    padding: 0.8rem;
  }
  .fileGroup input[type="file"]::file-selector-button {
    padding: 0.6em 1em;
    cursor: pointer;
    margin-right: 0.5em;
  }
  .fixed-bottom-btn
  {
      position: fixed;
      bottom: 0;
      width: 100%;
      left: 0;
      text-align: center;
      padding: 12px;
  }
  .mobileBoxWrapper .fixed-bottom-btn button,
  .mobileBoxWrapper .fixed-bottom-btn a{
    flex: 1;
    justify-content: center;
  }
  .fixedbotBtn button{
    flex: 1;
  }
}

textarea.form-control {
    height: auto;
    min-height: 100px;
    padding-top: 1.0rem;
    resize: vertical;
}

.checkTick{
  background-image: url('../images/checkIT.svg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 15px;
}

@media(max-width:767px){
.notification-wide {
    right: auto;
    left: 0%;
    transform: translateX(-75%);
}
}

/* 3D Star Effects for Login Page */
.star-3d {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #ffed4e, #fbbf24);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: twinkle 3s ease-in-out infinite, orbital-motion 15s linear infinite;
    z-index: 5;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.8)) drop-shadow(0 0 16px rgba(255, 215, 0, 0.4));
    transform-origin: 50px 50px; /* Center point for orbital motion */
    
    /* Fallback for PWA/browsers that don't support clip-path */
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.8), 0 0 20px rgba(255, 215, 0, 0.6);
}

/* Support detection for clip-path */
@supports not (clip-path: polygon(50% 0%, 0% 100%, 100% 100%)) {
    .star-3d {
        clip-path: none !important;
        background: radial-gradient(circle, #ffd700 0%, #ffed4e 50%, #fbbf24 100%);
        border-radius: 50%;
        box-shadow: 0 0 15px rgba(255, 215, 0, 1), 0 0 25px rgba(255, 215, 0, 0.6), 0 0 35px rgba(255, 215, 0, 0.3);
    }
    
    .star-3d::before, .star-3d::after {
        clip-path: none !important;
    }
}

.star-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.6) 0%, transparent 60%);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.star-3d::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 215, 0, 0.3), transparent, rgba(255, 215, 0, 0.3), transparent);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: rotate 4s linear infinite;
}

/* Different orbital speeds for variety */
.star-3d:nth-child(1) { animation: twinkle 3s ease-in-out infinite, orbital-motion 20s linear infinite; }
.star-3d:nth-child(2) { animation: twinkle 3s ease-in-out infinite, orbital-motion 25s linear infinite reverse; }
.star-3d:nth-child(3) { animation: twinkle 3s ease-in-out infinite, orbital-motion 18s linear infinite; }
.star-3d:nth-child(4) { animation: twinkle 3s ease-in-out infinite, orbital-motion 22s linear infinite reverse; }
.star-3d:nth-child(5) { animation: twinkle 3s ease-in-out infinite, orbital-motion 30s linear infinite; }
.star-3d:nth-child(6) { animation: twinkle 3s ease-in-out infinite, orbital-motion 16s linear infinite reverse; }
.star-3d:nth-child(7) { animation: twinkle 3s ease-in-out infinite, orbital-motion 24s linear infinite; }
.star-3d:nth-child(8) { animation: twinkle 3s ease-in-out infinite, orbital-motion 28s linear infinite reverse; }
.star-3d:nth-child(9) { animation: twinkle 3s ease-in-out infinite, orbital-motion 14s linear infinite; }
.star-3d:nth-child(10) { animation: twinkle 3s ease-in-out infinite, orbital-motion 26s linear infinite reverse; }
.star-3d:nth-child(11) { animation: twinkle 3s ease-in-out infinite, orbital-motion 32s linear infinite; }
.star-3d:nth-child(12) { animation: twinkle 3s ease-in-out infinite, orbital-motion 19s linear infinite reverse; }

@keyframes twinkle {
    0%, 100% { 
        opacity: 0.8;
        transform: scale(1);
        filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.6)) drop-shadow(0 0 12px rgba(255, 215, 0, 0.3));
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.8), 0 0 20px rgba(255, 215, 0, 0.6);
    }
    50% { 
        opacity: 1;
        transform: scale(1.2);
        filter: drop-shadow(0 0 12px rgba(255, 215, 0, 1)) drop-shadow(0 0 20px rgba(255, 215, 0, 0.6)) drop-shadow(0 0 30px rgba(255, 215, 0, 0.3));
        box-shadow: 0 0 15px rgba(255, 215, 0, 1), 0 0 25px rgba(255, 215, 0, 0.8), 0 0 35px rgba(255, 215, 0, 0.6);
    }
}

/* Additional PWA compatibility - CSS Star Shape */
@media (display-mode: standalone) {
    .star-3d {
        /* Create star using CSS borders and transforms */
        background: transparent !important;
        border-radius: 0 !important;
        clip-path: none !important;
        opacity: 0.9 !important;
        width: 0 !important;
        height: 0 !important;
        border-left: 0.5em solid transparent !important;
        border-right: 0.5em solid transparent !important;
        border-bottom: 0.7em solid #ffd700 !important;
        box-shadow: 0 0 15px rgba(255, 215, 0, 1) !important;
        transform: rotate(35deg) !important;
        position: relative !important;
    }
    
    .star-3d::before {
        content: '' !important;
        position: absolute !important;
        left: -0.5em !important;
        top: -0.45em !important;
        width: 0 !important;
        height: 0 !important;
        border-left: 0.5em solid transparent !important;
        border-right: 0.5em solid transparent !important;
        border-bottom: 0.7em solid #ffd700 !important;
        transform: rotate(-70deg) !important;
        display: block !important;
        clip-path: none !important;
        background: transparent !important;
    }
    
    .star-3d::after {
        content: '' !important;
        position: absolute !important;
        left: -0.5em !important;
        top: 0.03em !important;
        width: 0 !important;
        height: 0 !important;
        border-left: 0.5em solid transparent !important;
        border-right: 0.5em solid transparent !important;
        border-bottom: 0.7em solid #ffd700 !important;
        transform: rotate(70deg) !important;
        display: block !important;
        clip-path: none !important;
        background: transparent !important;
    }
}

/* Fallback for all browsers that don't support clip-path */
.star-3d.fallback-star {
    background: transparent !important;
    border-radius: 0 !important;
    clip-path: none !important;
    width: 0 !important;
    height: 0 !important;
    border-left: 0.5em solid transparent !important;
    border-right: 0.5em solid transparent !important;
    border-bottom: 0.7em solid #ffd700 !important;
    transform: rotate(35deg) !important;
    position: relative !important;
}

.star-3d.fallback-star::before {
    content: '' !important;
    position: absolute !important;
    left: -0.5em !important;
    top: -0.45em !important;
    width: 0 !important;
    height: 0 !important;
    border-left: 0.5em solid transparent !important;
    border-right: 0.5em solid transparent !important;
    border-bottom: 0.7em solid #ffd700 !important;
    transform: rotate(-70deg) !important;
}

.star-3d.fallback-star::after {
    content: '' !important;
    position: absolute !important;
    left: -0.5em !important;
    top: 0.03em !important;
    width: 0 !important;
    height: 0 !important;
    border-left: 0.5em solid transparent !important;
    border-right: 0.5em solid transparent !important;
    border-bottom: 0.7em solid #ffd700 !important;
    transform: rotate(70deg) !important;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes orbital-motion {
    0% { transform: rotate(0deg) translateX(30px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(30px) rotate(-360deg); }
}

/* 3D Flying Indian Flag Styles */
.indian-flag-3d {
    position: relative;
    width: 32px;
    height: 22px;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
    animation: flagGentleWave 4s ease-in-out infinite;
}

.indian-flag-3d:hover {
    transform: scale(1.1);
}

.desktop-flag {
    width: 36px;
    height: 25px;
}

.flag-pole-3d {
    position: absolute;
    left: -3px;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 50%, #654321 100%);
    border-radius: 1px;
    box-shadow: 
        inset 1px 0 0 rgba(255,255,255,0.3),
        2px 0 3px rgba(0,0,0,0.2);
    z-index: 2;
}

.flag-wave {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
    animation: flagWave3D 3s ease-in-out infinite;
    transform-origin: left center;
}

.flag-segment {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 1px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.saffron-3d {
    background: linear-gradient(135deg, #FF9933 0%, #FF8800 50%, #FF6600 100%);
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
}

.white-3d {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F8F8 50%, #F0F0F0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.green-3d {
    background: linear-gradient(135deg, #138808 0%, #228B22 50%, #006400 100%);
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
}

.wave-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255,255,255,0.2) 25%, 
        rgba(255,255,255,0.4) 50%, 
        rgba(255,255,255,0.2) 75%, 
        transparent 100%);
    animation: waveShimmer 2s ease-in-out infinite;
    pointer-events: none;
}

/* Ashoka Chakra */
.ashoka-chakra {
    position: relative;
    width: 8px;
    height: 8px;
    border: 1px solid #000080;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: chakraRotate 8s linear infinite;
    background: rgba(255,255,255,0.1);
    box-shadow: 0 0 2px rgba(0,0,128,0.5);
}

.desktop-flag .ashoka-chakra {
    width: 10px;
    height: 10px;
    border-width: 1px;
}

.chakra-spokes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.spoke {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.5px;
    height: 40%;
    background: #000080;
    transform-origin: bottom center;
    border-radius: 0.3px;
}

.desktop-flag .spoke {
    width: 0.7px;
    height: 38%;
}

.chakra-center {
    width: 1.5px;
    height: 1.5px;
    background: #000080;
    border-radius: 50%;
    position: absolute;
    z-index: 1;
    box-shadow: 0 0 1px rgba(0,0,128,0.8);
}

.desktop-flag .chakra-center {
    width: 2px;
    height: 2px;
}

/* Flag Animations */
@keyframes flagGentleWave {
    0%, 100% { 
        transform: perspective(200px) rotateY(0deg) rotateX(0deg);
    }
    25% { 
        transform: perspective(200px) rotateY(2deg) rotateX(1deg);
    }
    50% { 
        transform: perspective(200px) rotateY(0deg) rotateX(-0.5deg);
    }
    75% { 
        transform: perspective(200px) rotateY(-1deg) rotateX(0.5deg);
    }
}

@keyframes flagWave3D {
    0%, 100% { 
        transform: skewX(0deg) translateX(0) rotateY(0deg);
    }
    25% { 
        transform: skewX(1deg) translateX(1px) rotateY(2deg);
    }
    50% { 
        transform: skewX(0deg) translateX(0) rotateY(0deg);
    }
    75% { 
        transform: skewX(-0.5deg) translateX(-0.5px) rotateY(-1deg);
    }
}

@keyframes waveShimmer {
    0%, 100% { 
        transform: translateX(-100%);
        opacity: 0;
    }
    50% { 
        transform: translateX(100%);
        opacity: 1;
    }
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .indian-flag-3d {
        width: 24px;
        height: 16px;
    }
    
    .ashoka-chakra {
        width: 6px;
        height: 6px;
        border-width: 0.5px;
    }
    
    .spoke {
        width: 0.3px;
        height: 35%;
    }
    
    .chakra-center {
        width: 1px;
        height: 1px;
    }
    
    .flag-pole-3d {
        width: 2px;
        left: -2px;
    }
}

/* PWA optimizations */
@media (display-mode: standalone) {
    .indian-flag-3d {
        box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    }
    
    .flag-wave {
        box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    }
}

/* WhatsApp Support Elements */
#whatsapp-support {
    position: fixed !important;
    bottom: 1.5rem !important;
    right: 1.5rem !important;
    z-index: 9999 !important;
}

#whatsapp-btn {
    width: 4rem !important;
    height: 4rem !important;
    background-color: #10b981 !important;
    border-radius: 50% !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    border: none !important;
    outline: none !important;
}

#whatsapp-btn:hover {
    background-color: #059669 !important;
    transform: scale(1.1) !important;
}

#whatsapp-hide {
    position: absolute !important;
    top: -0.5rem !important;
    right: -0.5rem !important;
    width: 1.5rem !important;
    height: 1.5rem !important;
    background-color: #ef4444 !important;
    color: white !important;
    border-radius: 50% !important;
    font-size: 0.75rem !important;
    font-weight: bold !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background-color 0.2s ease !important;
    cursor: pointer !important;
    border: none !important;
    outline: none !important;
    z-index: 10000 !important;
}

#whatsapp-hide:hover {
    background-color: #dc2626 !important;
}

/* WhatsApp icon text */
#whatsapp-btn .fab.fa-whatsapp {
    color: white !important;
    font-size: 1.875rem !important;
}

/* Status Filter Buttons */
.status-filter-btn {
    transition: all 0.2s ease-in-out;
    border: 1px solid transparent;
}

.status-filter-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.status-filter-btn.active {
    box-shadow: 0 2px 8px rgba(96, 165, 250, 0.3);
}

/* Mobile responsive adjustments */
@media (max-width: 640px) {
    .status-filter-btn {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
        min-height: 1.5rem;
    }
}

/* Hide scrollbar but keep functionality */
.scrollbar-hide {
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;  /* Safari and Chrome */
}

/* Smooth scrolling */
.overflow-x-auto {
    scroll-behavior: smooth;
}

/* Feedback Button Styles */
.feedback-btn {
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.feedback-btn:hover {
    transform: scale(1.1);
}

.feedback-btn:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Feedback Modal Styles */
#feedbackModal {
    backdrop-filter: blur(4px);
}

#feedbackModal .bg-white {
    animation: modalSlideIn 0.3s ease-out;
}

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

/* Feedback form focus states */
#feedbackText:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Success message animation */
#feedbackSuccessMsg {
    animation: successSlideIn 0.3s ease-out;
}

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

/* History Feedback Section Styles */
#historyFeedbackSuccessMsg {
    animation: successSlideIn 0.3s ease-out;
}

#historyFeedbackText:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

#historyFeedbackSubmitBtn {
    transition: all 0.2s ease-in-out;
}

#historyFeedbackSubmitBtn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#historyFeedbackSubmitBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Modal keyboard handling */
#customModal .overflow-y-auto {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Ensure feedback form is always accessible */
#historyFeedbackForm {
    position: relative;
    z-index: 10;
}

/* Mobile keyboard adjustments */
@media (max-width: 768px) {
    #customModal {
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height for mobile */
    }
    
    #customModal .overflow-y-auto {
        padding-bottom: 2rem; /* Extra space at bottom */
    }
}

/* Mobile Lead Card Action Icons */
.leadboxWrap {
    position: relative;
}

.leadboxWrap .absolute.right-1.-bottom-2 {
    z-index: 10;
}

.leadboxWrap .absolute.right-1.-bottom-2 button,
.leadboxWrap .absolute.right-1.-bottom-2 a {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out;
}

.leadboxWrap .absolute.right-1.-bottom-2 button:hover,
.leadboxWrap .absolute.right-1.-bottom-2 a:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Ensure proper spacing for action icons */
.leadboxWrap .absolute.right-1.-bottom-2.flex.gap-2 {
    margin-bottom: 0.5rem;
}

/* Feedback Button Specific Styles */
.leadboxWrap .absolute.right-1.-bottom-2 button.bg-blue-600 {
    min-width: fit-content;
    white-space: nowrap;
    font-weight: 500;
}

.leadboxWrap .absolute.right-1.-bottom-2 button.bg-blue-600 i {
    flex-shrink: 0;
}

.leadboxWrap .absolute.right-1.-bottom-2 button.bg-blue-600 span {
    flex-shrink: 0;
    line-height: 1;
}

/* extra css */