/* সংকেত - Modern Bengali Safety App CSS */

/* Import Tailwind CSS */
@import url('https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css');

/* Gradient text support - matching home page */
.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

.text-transparent {
    color: transparent;
}

/* Blue gradient for features page hero - multiple selectors for specificity */
.bg-gradient-to-r.from-blue-400.via-blue-500.to-blue-600,
h1 .bg-gradient-to-r.from-blue-400.via-blue-500.to-blue-600,
.text-white .bg-gradient-to-r.from-blue-400.via-blue-500.to-blue-600,
h1.text-white .bg-gradient-to-r.from-blue-400.via-blue-500.to-blue-600 {
    background-image: linear-gradient(to right, #60A5FA, #3B82F6, #2563EB) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
}

/* Blue gradient for home page hero */
.bg-gradient-to-r.from-blue-400.via-indigo-400.to-purple-400 {
    background-image: linear-gradient(to right, #60A5FA, #818CF8, #A78BFA) !important;
}

/* Gradient text support for title highlights */
.bg-gradient-to-r.from-blue-400.to-indigo-400,
.bg-gradient-to-r.from-blue-600.to-indigo-600 {
    background-image: linear-gradient(to right, #3b82f6, #6366f1) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    display: inline-block;
}

/* Ensure gradient text is visible in all contexts */
h1 .bg-gradient-to-r,
h2 .bg-gradient-to-r,
h3 .bg-gradient-to-r,
span.bg-gradient-to-r {
    background-image: linear-gradient(to right, #3b82f6, #6366f1) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    display: inline-block;
}

/* Test highlight classes - very simple and direct - UPDATED 2024 */
.text-highlight-blue {
    color: #3B82F6 !important;
    font-weight: 900;
}

.text-highlight-red {
    color: #EF4444 !important;
    font-weight: 900;
}

.text-highlight-yellow {
    color: #F59E0B !important;
    font-weight: 900;
}

.text-highlight-green {
    color: #10B981 !important;
    font-weight: 900;
}

/* Tailwind color utilities for highlighting - Force override white text and parent colors */
.text-yellow-300,
.text-white .text-yellow-300,
.text-white h1 .text-yellow-300,
.text-white h2 .text-yellow-300,
.text-white h3 .text-yellow-300,
h1 .text-yellow-300,
h2 .text-yellow-300,
h3 .text-yellow-300,
span.text-yellow-300 {
    color: #FDE047 !important;
}

.text-red-500,
.text-white .text-red-500,
.text-white h1 .text-red-500,
.text-white h2 .text-red-500,
.text-white h3 .text-red-500,
h1 .text-red-500,
h2 .text-red-500,
h3 .text-red-500,
span.text-red-500 {
    color: #EF4444 !important;
}

.text-yellow-600,
.text-white .text-yellow-600,
.text-white h1 .text-yellow-600,
.text-white h2 .text-yellow-600,
.text-white h3 .text-yellow-600,
h1 .text-yellow-600,
h2 .text-yellow-600,
h3 .text-yellow-600,
span.text-yellow-600 {
    color: #CA8A04 !important;
}

/* Blue highlight - highest priority to override Tailwind */
.text-blue-600,
.text-white .text-blue-600,
.text-white h1 .text-blue-600,
.text-white h2 .text-blue-600,
.text-white h3 .text-blue-600,
h1 .text-blue-600,
h2 .text-blue-600,
h3 .text-blue-600,
span.text-blue-600,
.text-gray-900 .text-blue-600,
.text-gray-900 span.text-blue-600,
h2.text-gray-900 .text-blue-600,
h2.text-gray-900 span.text-blue-600,
h3.text-gray-900 .text-blue-600,
h3.text-gray-900 span.text-blue-600,
.text-gray-900.dark\:text-white .text-blue-600,
.text-gray-900.dark\:text-white span.text-blue-600,
h2.text-gray-900.dark\:text-white .text-blue-600,
h2.text-gray-900.dark\:text-white span.text-blue-600,
h3.text-gray-900.dark\:text-white .text-blue-600,
h3.text-gray-900.dark\:text-white span.text-blue-600,
h2.text-gray-900.dark\:text-white span.text-blue-600,
h3.text-gray-900.dark\:text-white span.text-blue-600,
.font-black .text-blue-600,
.font-black span.text-blue-600,
h2.font-black .text-blue-600,
h2.font-black span.text-blue-600,
h3.font-black .text-blue-600,
h3.font-black span.text-blue-600,
h2.font-black.text-gray-900.dark\:text-white span.text-blue-600,
h3.font-bold.text-gray-900.dark\:text-white span.text-blue-600 {
    color: #2563EB !important;
}

.text-purple-600,
.text-white .text-purple-600,
.text-white h1 .text-purple-600,
.text-white h2 .text-purple-600,
.text-white h3 .text-purple-600,
h1 .text-purple-600,
h2 .text-purple-600,
h3 .text-purple-600,
span.text-purple-600 {
    color: #9333EA !important;
}

.text-indigo-600,
.text-white .text-indigo-600,
.text-white h1 .text-indigo-600,
.text-white h2 .text-indigo-600,
.text-white h3 .text-indigo-600,
h1 .text-indigo-600,
h2 .text-indigo-600,
h3 .text-indigo-600,
span.text-indigo-600 {
    color: #4F46E5 !important;
}

/* Enhanced Mobile Navigation Styles */
.mobile-nav-link {
    @apply flex items-center px-4 py-3 rounded-xl text-base font-medium text-gray-300 hover:text-blue-400 hover:bg-blue-900/20 transition-all duration-300 transform hover:translate-x-2;
}

.mobile-download-btn {
    @apply flex items-center justify-center w-full px-4 py-3 bg-gradient-to-r from-blue-600 to-purple-600 text-white text-sm font-medium rounded-xl hover:from-blue-700 hover:to-purple-700 transform hover:scale-105 transition-all duration-300 shadow-lg hover:shadow-xl;
}

/* Enhanced Mobile Menu Button */
.mobile-menu-btn {
    @apply p-2.5 rounded-xl bg-gray-800 hover:bg-gray-700 transition-all duration-300 text-gray-300 hover:text-blue-400;
}

/* Mobile Menu Animation States */
.mobile-menu-open #hamburger-line-1 {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-open #hamburger-line-2 {
    opacity: 0;
}

.mobile-menu-open #hamburger-line-3 {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Enhanced Navigation Styles */
.nav-link {
    @apply text-gray-300 hover:text-blue-400 transition-all duration-300 font-medium relative py-2;
}

.nav-link::after {
    content: '';
    @apply absolute bottom-0 left-0 w-0 h-0.5 bg-gradient-to-r from-blue-400 to-purple-400 transition-all duration-300;
}

.nav-link:hover::after {
    @apply w-full;
}

/* Active Navigation State */
.nav-link.nav-active,
a.nav-link.nav-active {
    color: #60a5fa !important;
    font-weight: 600 !important;
}

.nav-link.nav-active::after,
a.nav-link.nav-active::after {
    width: 100% !important;
    background: linear-gradient(to right, #60a5fa, #a78bfa) !important;
}

/* Scroll-based Navigation Effects */
.nav-scrolled {
    @apply bg-gray-900/95 backdrop-blur-xl shadow-lg;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 640px) {
    .container {
        @apply px-4;
    }
    
    .text-hero {
        @apply text-3xl;
    }
    
    .text-hero-subtitle {
        @apply text-base;
    }
    
    .feature-card {
        @apply p-6;
    }
    
    .stat-card {
        @apply p-4;
    }
}

@media (max-width: 768px) {
    .grid-cols-1 {
        @apply grid-cols-1;
    }
    
    .space-y-8 > * + * {
        @apply mt-6;
    }
    
    .space-x-8 > * + * {
        @apply ml-6;
    }
}

@media (max-width: 1024px) {
    .lg\:grid-cols-3 {
        @apply grid-cols-2;
    }
    
    .lg\:grid-cols-4 {
        @apply grid-cols-2;
    }
}

/* Enhanced Touch Interactions for Mobile */
@media (hover: none) and (pointer: coarse) {
    .hover\:scale-110:hover {
        transform: none;
    }
    
    .hover\:-translate-y-2:hover {
        transform: none;
    }
    
    .hover\:translate-x-2:hover {
        transform: none;
    }
    
    /* Add active states for touch devices */
    .mobile-nav-link:active {
        @apply bg-blue-900/30 scale-95;
    }
    
    .mobile-download-btn:active {
        @apply scale-95;
    }
    
    .nav-link:active {
        @apply text-blue-400;
    }
}

/* Dark Mode Styles - Now Default */
body {
    background-color: #0F172A !important;
    color: #F8FAFC !important;
}

.bg-white {
    background-color: #1E293B !important;
}

.bg-gray-50 {
    background-color: #0F172A !important;
}

.bg-gray-800 {
    background-color: #1E293B !important;
}

.bg-gray-900 {
    background-color: #0F172A !important;
}

.text-gray-900 {
    color: #F8FAFC !important;
}

.text-gray-600 {
    color: #CBD5E1 !important;
}

.text-gray-300 {
    color: #CBD5E1 !important;
}

.border-gray-200 {
    border-color: #334155 !important;
}

.border-gray-700 {
    border-color: #334155 !important;
}

.bg-gray-100 {
    background-color: #1E293B !important;
}

.text-gray-600 {
    color: #CBD5E1 !important;
}

.text-gray-400 {
    color: #94A3B8 !important;
}

.bg-white\/80 {
    background-color: rgba(30, 41, 59, 0.8) !important;
}

.border-gray-200\/50 {
    border-color: rgba(51, 65, 85, 0.5) !important;
}

.bg-white\/95 {
    background-color: rgba(30, 41, 59, 0.95) !important;
}

.text-gray-900 {
    color: #F8FAFC !important;
}

.text-gray-500 {
    color: #94A3B8 !important;
}

.bg-gray-100 {
    background-color: #1E293B !important;
}

.hover\:bg-gray-100:hover {
    background-color: #334155 !important;
}

.hover\:bg-gray-800:hover {
    background-color: #334155 !important;
}

.bg-gray-800 {
    background-color: #1E293B !important;
}

.hover\:bg-gray-700:hover {
    background-color: #334155 !important;
}

.text-gray-600 {
    color: #CBD5E1 !important;
}

.text-gray-300 {
    color: #CBD5E1 !important;
}

.text-gray-400 {
    color: #94A3B8 !important;
}

.text-gray-700 {
    color: #CBD5E1 !important;
}

.text-gray-800 {
    color: #F8FAFC !important;
}

.text-gray-200 {
    color: #CBD5E1 !important;
}

.text-gray-100 {
    color: #F8FAFC !important;
}

.bg-gray-50 {
    background-color: #0F172A !important;
}

.bg-gray-100 {
    background-color: #1E293B !important;
}

.bg-gray-200 {
    background-color: #334155 !important;
}

.bg-gray-300 {
    background-color: #334155 !important;
}

.bg-gray-400 {
    background-color: #334155 !important;
}

.bg-gray-500 {
    background-color: #334155 !important;
}

.bg-gray-600 {
    background-color: #334155 !important;
}

.bg-gray-700 {
    background-color: #334155 !important;
}

.bg-gray-800 {
    background-color: #1E293B !important;
}

.bg-gray-900 {
    background-color: #0F172A !important;
}

.border-gray-100 {
    border-color: #334155 !important;
}

/* Ensure all icons are white */
.fas,
.fab,
.far {
    color: white !important;
}

/* Ensure all icons in containers are white */
.bg-white .fas,
.bg-white .fab,
.bg-white .far,
.bg-gray-50 .fas,
.bg-gray-50 .fab,
.bg-gray-50 .far,
.bg-gray-100 .fas,
.bg-gray-100 .fab,
.bg-gray-100 .far,
.bg-gray-200 .fas,
.bg-gray-200 .fab,
.bg-gray-200 .far,
.bg-gray-300 .fas,
.bg-gray-300 .fab,
.bg-gray-300 .far,
.bg-gray-400 .fas,
.bg-gray-400 .fab,
.bg-gray-400 .far,
.bg-gray-500 .fas,
.bg-gray-500 .fab,
.bg-gray-500 .far,
.bg-gray-600 .fas,
.bg-gray-600 .fab,
.bg-gray-600 .far,
.bg-gray-700 .fas,
.bg-gray-700 .fab,
.bg-gray-700 .far,
.bg-gray-800 .fas,
.bg-gray-800 .fab,
.bg-gray-800 .far,
.bg-gray-900 .fas,
.bg-gray-900 .fab,
.bg-gray-900 .far,
.bg-blue-50 .fas,
.bg-blue-50 .fab,
.bg-blue-50 .far,
.bg-blue-100 .fas,
.bg-blue-100 .fab,
.bg-blue-100 .far,
.bg-green-50 .fas,
.bg-green-50 .fab,
.bg-green-50 .far,
.bg-green-100 .fas,
.bg-green-100 .fab,
.bg-green-100 .far,
.bg-red-50 .fas,
.bg-red-50 .fab,
.bg-red-50 .far,
.bg-red-100 .fas,
.bg-red-100 .fab,
.bg-red-100 .far,
.bg-yellow-50 .fas,
.bg-yellow-50 .fab,
.bg-yellow-50 .far,
.bg-yellow-100 .fas,
.bg-yellow-100 .fab,
.bg-yellow-100 .far,
.bg-purple-50 .fas,
.bg-purple-50 .fab,
.bg-purple-50 .far,
.bg-purple-100 .fas,
.bg-purple-100 .fab,
.bg-purple-100 .far,
.bg-indigo-50 .fas,
.bg-indigo-50 .fab,
.bg-indigo-50 .far,
.bg-indigo-100 .fas,
.bg-indigo-100 .fab,
.bg-indigo-100 .far,
.bg-pink-50 .fas,
.bg-pink-50 .fab,
.bg-pink-50 .far,
.bg-pink-100 .fas,
.bg-pink-100 .fab,
.bg-pink-100 .far,
.bg-orange-50 .fas,
.bg-orange-50 .fab,
.bg-orange-50 .far,
.bg-orange-100 .fas,
.bg-orange-100 .fab,
.bg-orange-100 .far,
.bg-teal-50 .fas,
.bg-teal-50 .fab,
.bg-teal-50 .far,
.bg-teal-100 .fas,
.bg-teal-100 .fab,
.bg-teal-100 .far,
.bg-cyan-50 .fas,
.bg-cyan-50 .fab,
.bg-cyan-50 .far,
.bg-cyan-100 .fas,
.bg-cyan-100 .fab,
.bg-cyan-100 .far {
    color: white !important;
}

/* Override specific icon colors when they're in containers */
.bg-white .text-green-600,
.bg-white .text-blue-600,
.bg-white .text-red-600,
.bg-white .text-yellow-600,
.bg-white .text-purple-600,
.bg-white .text-indigo-600,
.bg-white .text-pink-600,
.bg-white .text-orange-600,
.bg-white .text-teal-600,
.bg-white .text-cyan-600,
.bg-gray-50 .text-green-600,
.bg-gray-50 .text-blue-600,
.bg-gray-50 .text-red-600,
.bg-gray-50 .text-yellow-600,
.bg-gray-50 .text-purple-600,
.bg-gray-50 .text-indigo-600,
.bg-gray-50 .text-pink-600,
.bg-gray-50 .text-orange-600,
.bg-gray-50 .text-teal-600,
.bg-gray-50 .text-cyan-600,
.bg-gray-100 .text-green-600,
.bg-gray-100 .text-blue-600,
.bg-gray-100 .text-red-600,
.bg-gray-100 .text-yellow-600,
.bg-gray-100 .text-purple-600,
.bg-gray-100 .text-indigo-600,
.bg-gray-100 .text-pink-600,
.bg-gray-100 .text-orange-600,
.bg-gray-100 .text-teal-600,
.bg-gray-100 .text-cyan-600,
.bg-gray-200 .text-green-600,
.bg-gray-200 .text-blue-600,
.bg-gray-200 .text-red-600,
.bg-gray-200 .text-yellow-600,
.bg-gray-200 .text-purple-600,
.bg-gray-200 .text-indigo-600,
.bg-gray-200 .text-pink-600,
.bg-gray-200 .text-orange-600,
.bg-gray-200 .text-teal-600,
.bg-gray-200 .text-cyan-600,
.bg-gray-300 .text-green-600,
.bg-gray-300 .text-blue-600,
.bg-gray-300 .text-red-600,
.bg-gray-300 .text-yellow-600,
.bg-gray-300 .text-purple-600,
.bg-gray-300 .text-indigo-600,
.bg-gray-300 .text-pink-600,
.bg-gray-300 .text-orange-600,
.bg-gray-300 .text-teal-600,
.bg-gray-300 .text-cyan-600,
.bg-gray-400 .text-green-600,
.bg-gray-400 .text-blue-600,
.bg-gray-400 .text-red-600,
.bg-gray-400 .text-yellow-600,
.bg-gray-400 .text-purple-600,
.bg-gray-400 .text-indigo-600,
.bg-gray-400 .text-pink-600,
.bg-gray-400 .text-orange-600,
.bg-gray-400 .text-teal-600,
.bg-gray-400 .text-cyan-600,
.bg-gray-500 .text-green-600,
.bg-gray-500 .text-blue-600,
.bg-gray-500 .text-red-600,
.bg-gray-500 .text-yellow-600,
.bg-gray-500 .text-purple-600,
.bg-gray-500 .text-indigo-600,
.bg-gray-500 .text-pink-600,
.bg-gray-500 .text-orange-600,
.bg-gray-500 .text-teal-600,
.bg-gray-500 .text-cyan-600,
.bg-gray-600 .text-green-600,
.bg-gray-600 .text-blue-600,
.bg-gray-600 .text-red-600,
.bg-gray-600 .text-yellow-600,
.bg-gray-600 .text-purple-600,
.bg-gray-600 .text-indigo-600,
.bg-gray-600 .text-pink-600,
.bg-gray-600 .text-orange-600,
.bg-gray-600 .text-teal-600,
.bg-gray-600 .text-cyan-600,
.bg-gray-700 .text-green-600,
.bg-gray-700 .text-blue-600,
.bg-gray-700 .text-red-600,
.bg-gray-700 .text-yellow-600,
.bg-gray-700 .text-purple-600,
.bg-gray-700 .text-indigo-600,
.bg-gray-700 .text-pink-600,
.bg-gray-700 .text-orange-600,
.bg-gray-700 .text-teal-600,
.bg-gray-700 .text-cyan-600,
.bg-gray-800 .text-green-600,
.bg-gray-800 .text-blue-600,
.bg-gray-800 .text-red-600,
.bg-gray-800 .text-yellow-600,
.bg-gray-800 .text-purple-600,
.bg-gray-800 .text-indigo-600,
.bg-gray-800 .text-pink-600,
.bg-gray-800 .text-orange-600,
.bg-gray-800 .text-teal-600,
.bg-gray-800 .text-cyan-600,
.bg-gray-900 .text-green-600,
.bg-gray-900 .text-blue-600,
.bg-gray-900 .text-red-600,
.bg-gray-900 .text-yellow-600,
.bg-gray-900 .text-purple-600,
.bg-gray-900 .text-indigo-600,
.bg-gray-900 .text-pink-600,
.bg-gray-900 .text-orange-600,
.bg-gray-900 .text-teal-600,
.bg-gray-900 .text-cyan-600,
.bg-blue-50 .text-green-600,
.bg-blue-50 .text-blue-600,
.bg-blue-50 .text-red-600,
.bg-blue-50 .text-yellow-600,
.bg-blue-50 .text-purple-600,
.bg-blue-50 .text-indigo-600,
.bg-blue-50 .text-pink-600,
.bg-blue-50 .text-orange-600,
.bg-blue-50 .text-teal-600,
.bg-blue-50 .text-cyan-600,
.bg-blue-100 .text-green-600,
.bg-blue-100 .text-blue-600,
.bg-blue-100 .text-red-600,
.bg-blue-100 .text-yellow-600,
.bg-blue-100 .text-purple-600,
.bg-blue-100 .text-indigo-600,
.bg-blue-100 .text-pink-600,
.bg-blue-100 .text-orange-600,
.bg-blue-100 .text-teal-600,
.bg-blue-100 .text-cyan-600,
.bg-green-50 .text-green-600,
.bg-green-50 .text-blue-600,
.bg-green-50 .text-red-600,
.bg-green-50 .text-yellow-600,
.bg-green-50 .text-purple-600,
.bg-green-50 .text-indigo-600,
.bg-green-50 .text-pink-600,
.bg-green-50 .text-orange-600,
.bg-green-50 .text-teal-600,
.bg-green-50 .text-cyan-600,
.bg-green-100 .text-green-600,
.bg-green-100 .text-blue-600,
.bg-green-100 .text-red-600,
.bg-green-100 .text-yellow-600,
.bg-green-100 .text-purple-600,
.bg-green-100 .text-indigo-600,
.bg-green-100 .text-pink-600,
.bg-green-100 .text-orange-600,
.bg-green-100 .text-teal-600,
.bg-green-100 .text-cyan-600,
.bg-red-50 .text-green-600,
.bg-red-50 .text-blue-600,
.bg-red-50 .text-red-600,
.bg-red-50 .text-yellow-600,
.bg-red-50 .text-purple-600,
.bg-red-50 .text-indigo-600,
.bg-red-50 .text-pink-600,
.bg-red-50 .text-orange-600,
.bg-red-50 .text-teal-600,
.bg-red-50 .text-cyan-600,
.bg-red-100 .text-green-600,
.bg-red-100 .text-blue-600,
.bg-red-100 .text-red-600,
.bg-red-100 .text-yellow-600,
.bg-red-100 .text-purple-600,
.bg-red-100 .text-indigo-600,
.bg-red-100 .text-pink-600,
.bg-red-100 .text-orange-600,
.bg-red-100 .text-teal-600,
.bg-red-100 .text-cyan-600,
.bg-yellow-50 .text-green-600,
.bg-yellow-50 .text-blue-600,
.bg-yellow-50 .text-red-600,
.bg-yellow-50 .text-yellow-600,
.bg-yellow-50 .text-purple-600,
.bg-yellow-50 .text-indigo-600,
.bg-yellow-50 .text-pink-600,
.bg-yellow-50 .text-orange-600,
.bg-yellow-50 .text-teal-600,
.bg-yellow-50 .text-cyan-600,
.bg-yellow-100 .text-green-600,
.bg-yellow-100 .text-blue-600,
.bg-yellow-100 .text-red-600,
.bg-yellow-100 .text-yellow-600,
.bg-yellow-100 .text-purple-600,
.bg-yellow-100 .text-indigo-600,
.bg-yellow-100 .text-pink-600,
.bg-yellow-100 .text-orange-600,
.bg-yellow-100 .text-teal-600,
.bg-yellow-100 .text-cyan-600,
.bg-purple-50 .text-green-600,
.bg-purple-50 .text-blue-600,
.bg-purple-50 .text-red-600,
.bg-purple-50 .text-yellow-600,
.bg-purple-50 .text-purple-600,
.bg-purple-50 .text-indigo-600,
.bg-purple-50 .text-pink-600,
.bg-purple-50 .text-orange-600,
.bg-purple-50 .text-teal-600,
.bg-purple-50 .text-cyan-600,
.bg-purple-100 .text-green-600,
.bg-purple-100 .text-blue-600,
.bg-purple-100 .text-red-600,
.bg-purple-100 .text-yellow-600,
.bg-purple-100 .text-purple-600,
.bg-purple-100 .text-indigo-600,
.bg-purple-100 .text-pink-600,
.bg-purple-100 .text-orange-600,
.bg-purple-100 .text-teal-600,
.bg-purple-100 .text-cyan-600,
.bg-indigo-50 .text-green-600,
.bg-indigo-50 .text-blue-600,
.bg-indigo-50 .text-red-600,
.bg-indigo-50 .text-yellow-600,
.bg-indigo-50 .text-purple-600,
.bg-indigo-50 .text-indigo-600,
.bg-indigo-50 .text-pink-600,
.bg-indigo-50 .text-orange-600,
.bg-indigo-50 .text-teal-600,
.bg-indigo-50 .text-cyan-600,
.bg-indigo-100 .text-green-600,
.bg-indigo-100 .text-blue-600,
.bg-indigo-100 .text-red-600,
.bg-indigo-100 .text-yellow-600,
.bg-indigo-100 .text-purple-600,
.bg-indigo-100 .text-indigo-600,
.bg-indigo-100 .text-pink-600,
.bg-indigo-100 .text-orange-600,
.bg-indigo-100 .text-teal-600,
.bg-indigo-100 .text-cyan-600,
.bg-pink-50 .text-green-600,
.bg-pink-50 .text-blue-600,
.bg-pink-50 .text-red-600,
.bg-pink-50 .text-yellow-600,
.bg-pink-50 .text-purple-600,
.bg-pink-50 .text-indigo-600,
.bg-pink-50 .text-pink-600,
.bg-pink-50 .text-orange-600,
.bg-pink-50 .text-teal-600,
.bg-pink-50 .text-cyan-600,
.bg-pink-100 .text-green-600,
.bg-pink-100 .text-blue-600,
.bg-pink-100 .text-red-600,
.bg-pink-100 .text-yellow-600,
.bg-pink-100 .text-purple-600,
.bg-pink-100 .text-indigo-600,
.bg-pink-100 .text-pink-600,
.bg-pink-100 .text-orange-600,
.bg-pink-100 .text-teal-600,
.bg-pink-100 .text-cyan-600,
.bg-orange-50 .text-green-600,
.bg-orange-50 .text-green-600,
.bg-orange-50 .text-red-600,
.bg-orange-50 .text-yellow-600,
.bg-orange-50 .text-purple-600,
.bg-orange-50 .text-indigo-600,
.bg-orange-50 .text-pink-600,
.bg-orange-50 .text-orange-600,
.bg-orange-50 .text-teal-600,
.bg-orange-50 .text-cyan-600,
.bg-orange-100 .text-green-600,
.bg-orange-100 .text-blue-600,
.bg-orange-100 .text-red-600,
.bg-orange-100 .text-yellow-600,
.bg-orange-100 .text-purple-600,
.bg-orange-100 .text-indigo-600,
.bg-orange-100 .text-pink-600,
.bg-orange-100 .text-orange-600,
.bg-orange-100 .text-teal-600,
.bg-orange-100 .text-cyan-600,
.bg-teal-50 .text-green-600,
.bg-teal-50 .text-blue-600,
.bg-teal-50 .text-red-600,
.bg-teal-50 .text-yellow-600,
.bg-teal-50 .text-purple-600,
.bg-teal-50 .text-indigo-600,
.bg-teal-50 .text-pink-600,
.bg-teal-50 .text-orange-600,
.bg-teal-50 .text-teal-600,
.bg-teal-50 .text-cyan-600,
.bg-teal-100 .text-green-600,
.bg-teal-100 .text-blue-600,
.bg-teal-100 .text-red-600,
.bg-teal-100 .text-yellow-600,
.bg-teal-100 .text-purple-600,
.bg-teal-100 .text-indigo-600,
.bg-teal-100 .text-pink-600,
.bg-teal-100 .text-orange-600,
.bg-teal-100 .text-teal-600,
.bg-teal-100 .text-cyan-600,
.bg-cyan-50 .text-green-600,
.bg-cyan-50 .text-blue-600,
.bg-cyan-50 .text-red-600,
.bg-cyan-50 .text-yellow-600,
.bg-cyan-50 .text-purple-600,
.bg-cyan-50 .text-indigo-600,
.bg-cyan-50 .text-pink-600,
.bg-cyan-50 .text-orange-600,
.bg-cyan-50 .text-teal-600,
.bg-cyan-50 .text-cyan-600,
.bg-cyan-100 .text-green-600,
.bg-cyan-100 .text-blue-600,
.bg-cyan-100 .text-red-600,
.bg-cyan-100 .text-yellow-600,
.bg-cyan-100 .text-purple-600,
.bg-cyan-100 .text-indigo-600,
.bg-cyan-100 .text-pink-600,
.bg-cyan-100 .text-orange-600,
.bg-cyan-100 .text-teal-600,
.bg-cyan-100 .text-cyan-600 {
    color: white !important;
}

/* Additional comprehensive icon color overrides for containers */
.rounded-2xl .fas,
.rounded-2xl .fab,
.rounded-2xl .far,
.rounded-xl .fas,
.rounded-xl .fab,
.rounded-xl .far,
.rounded-lg .fas,
.rounded-lg .fab,
.rounded-lg .far,
.rounded-md .fas,
.rounded-md .fab,
.rounded-md .far,
.rounded .fas,
.rounded .fab,
.rounded .far {
    color: white !important;
}

/* Override icon colors in any container with background */
[class*="bg-"] .fas,
[class*="bg-"] .fab,
[class*="bg-"] .far {
    color: white !important;
}

/* Specific overrides for common container classes */
.shadow-lg .fas,
.shadow-lg .fab,
.shadow-lg .far,
.shadow-xl .fas,
.shadow-xl .fab,
.shadow-xl .far,
.shadow-2xl .fas,
.shadow-2xl .fab,
.shadow-2xl .far {
    color: white !important;
}

/* Override for icons in feature cards and similar containers */
.feature-card .fas,
.feature-card .fab,
.feature-card .far,
.safety-card .fas,
.safety-card .fab,
.safety-card .far,
.community-card .fas,
.community-card .fab,
.community-card .far,
.emergency-card .fas,
.emergency-card .fab,
.emergency-card .far {
    color: white !important;
}

/* Ensure icons in any div with background are white */
div[class*="bg-"] .fas,
div[class*="bg-"] .fab,
div[class*="bg-"] .far {
    color: white !important;
}

/* Override for icons in sections with backgrounds */
section[class*="bg-"] .fas,
section[class*="bg-"] .fab,
section[class*="bg-"] .far {
    color: white !important;
}

/* Force white color for all icons in containers */
.container .fas,
.container .fab,
.container .far,
.w-full .fas,
.w-full .fab,
.w-full .far,
.h-full .fas,
.h-full .fab,
.h-full .far {
    color: white !important;
}

/* Specific override for the example case - icons in green containers */
.bg-green-100 .fas,
.bg-green-100 .fab,
.bg-green-100 .far,
.bg-green-100 .text-green-600 {
    color: white !important;
}

/* Override for any icon with color classes when in containers */
.bg-white .fas,
.bg-white .fab,
.bg-white .far,
.bg-gray-50 .fas,
.bg-gray-50 .fab,
.bg-gray-50 .far,
.bg-gray-100 .fas,
.bg-gray-100 .fab,
.bg-gray-100 .far,
.bg-gray-200 .fas,
.bg-gray-200 .fab,
.bg-gray-200 .far,
.bg-gray-300 .fas,
.bg-gray-300 .fab,
.bg-gray-300 .far,
.bg-gray-400 .fas,
.bg-gray-400 .fab,
.bg-gray-400 .far,
.bg-gray-500 .fas,
.bg-gray-500 .fab,
.bg-gray-500 .far,
.bg-gray-600 .fas,
.bg-gray-600 .fab,
.bg-gray-600 .far,
.bg-gray-700 .fas,
.bg-gray-700 .fab,
.bg-gray-700 .far,
.bg-gray-800 .fas,
.bg-gray-800 .fab,
.bg-gray-800 .far,
.bg-gray-900 .fas,
.bg-gray-900 .fab,
.bg-gray-900 .far {
    color: white !important;
}

/* Ensure all icons in any background container are white */
[class*="bg-"] i[class*="fas"],
[class*="bg-"] i[class*="fab"],
[class*="bg-"] i[class*="far"] {
    color: white !important;
}

/* Override for icons with specific color classes in containers */
[class*="bg-"] .text-green-600,
[class*="bg-"] .text-blue-600,
[class*="bg-"] .text-red-600,
[class*="bg-"] .text-yellow-600,
[class*="bg-"] .text-purple-600,
[class*="bg-"] .text-indigo-600,
[class*="bg-"] .text-pink-600,
[class*="bg-"] .text-orange-600,
[class*="bg-"] .text-teal-600,
[class*="bg-"] .text-cyan-600 {
    color: white !important;
}

/* Specific override for the example case - lightbulb icon in green container */
.bg-green-100 .text-green-600,
.bg-green-100 .fas,
.bg-green-100 .fab,
.bg-green-100 .far {
    color: white !important;
}

/* Override for any icon with color classes when in specific background containers */
.bg-white .text-green-600,
.bg-white .text-blue-600,
.bg-white .text-red-600,
.bg-white .text-yellow-600,
.bg-white .text-purple-600,
.bg-white .text-indigo-600,
.bg-white .text-pink-600,
.bg-white .text-orange-600,
.bg-white .text-teal-600,
.bg-white .text-cyan-600,
.bg-gray-50 .text-green-600,
.bg-gray-50 .text-blue-600,
.bg-gray-50 .text-red-600,
.bg-gray-50 .text-yellow-600,
.bg-gray-50 .text-purple-600,
.bg-gray-50 .text-indigo-600,
.bg-gray-50 .text-pink-600,
.bg-gray-50 .text-orange-600,
.bg-gray-50 .text-teal-600,
.bg-gray-50 .text-cyan-600,
.bg-gray-100 .text-green-600,
.bg-gray-100 .text-blue-600,
.bg-gray-100 .text-red-600,
.bg-gray-100 .text-yellow-600,
.bg-gray-100 .text-purple-600,
.bg-gray-100 .text-indigo-600,
.bg-gray-100 .text-pink-600,
.bg-gray-100 .text-orange-600,
.bg-gray-100 .text-teal-600,
.bg-gray-100 .text-cyan-600 {
    color: white !important;
}

/* Override for icons in colored background containers */
.bg-blue-50 .text-green-600,
.bg-blue-50 .text-blue-600,
.bg-blue-50 .text-red-600,
.bg-blue-50 .text-yellow-600,
.bg-blue-50 .text-purple-600,
.bg-blue-50 .text-indigo-600,
.bg-blue-50 .text-pink-600,
.bg-blue-50 .text-orange-600,
.bg-blue-50 .text-teal-600,
.bg-blue-50 .text-cyan-600,
.bg-blue-100 .text-green-600,
.bg-blue-100 .text-blue-600,
.bg-blue-100 .text-red-600,
.bg-blue-100 .text-yellow-600,
.bg-blue-100 .text-purple-600,
.bg-blue-100 .text-indigo-600,
.bg-blue-100 .text-pink-600,
.bg-blue-100 .text-orange-600,
.bg-blue-100 .text-teal-600,
.bg-blue-100 .text-cyan-600,
.bg-green-50 .text-green-600,
.bg-green-50 .text-blue-600,
.bg-green-50 .text-red-600,
.bg-green-50 .text-yellow-600,
.bg-green-50 .text-purple-600,
.bg-green-50 .text-indigo-600,
.bg-green-50 .text-pink-600,
.bg-green-50 .text-orange-600,
.bg-green-50 .text-teal-600,
.bg-green-50 .text-cyan-600,
.bg-green-100 .text-green-600,
.bg-green-100 .text-blue-600,
.bg-green-100 .text-red-600,
.bg-green-100 .text-yellow-600,
.bg-green-100 .text-purple-600,
.bg-green-100 .text-indigo-600,
.bg-green-100 .text-pink-600,
.bg-green-100 .text-orange-600,
.bg-green-100 .text-teal-600,
.bg-green-100 .text-cyan-600,
.bg-red-50 .text-green-600,
.bg-red-50 .text-blue-600,
.bg-red-50 .text-red-600,
.bg-red-50 .text-yellow-600,
.bg-red-50 .text-purple-600,
.bg-red-50 .text-indigo-600,
.bg-red-50 .text-pink-600,
.bg-red-50 .text-orange-600,
.bg-red-50 .text-teal-600,
.bg-red-50 .text-cyan-600,
.bg-red-100 .text-green-600,
.bg-red-100 .text-blue-600,
.bg-red-100 .text-red-600,
.bg-red-100 .text-yellow-600,
.bg-red-100 .text-purple-600,
.bg-red-100 .text-indigo-600,
.bg-red-100 .text-pink-600,
.bg-red-100 .text-orange-600,
.bg-red-100 .text-teal-600,
.bg-red-100 .text-cyan-600,
.bg-yellow-50 .text-green-600,
.bg-yellow-50 .text-blue-600,
.bg-yellow-50 .text-red-600,
.bg-yellow-50 .text-yellow-600,
.bg-yellow-50 .text-purple-600,
.bg-yellow-50 .text-indigo-600,
.bg-yellow-50 .text-pink-600,
.bg-yellow-50 .text-orange-600,
.bg-yellow-50 .text-teal-600,
.bg-yellow-50 .text-cyan-600,
.bg-yellow-100 .text-green-600,
.bg-yellow-100 .text-blue-600,
.bg-yellow-100 .text-red-600,
.bg-yellow-100 .text-yellow-600,
.bg-yellow-100 .text-purple-600,
.bg-yellow-100 .text-indigo-600,
.bg-yellow-100 .text-pink-600,
.bg-yellow-100 .text-orange-600,
.bg-yellow-100 .text-teal-600,
.bg-yellow-100 .text-cyan-600,
.bg-purple-50 .text-green-600,
.bg-purple-50 .text-blue-600,
.bg-purple-50 .text-red-600,
.bg-purple-50 .text-yellow-600,
.bg-purple-50 .text-purple-600,
.bg-purple-50 .text-indigo-600,
.bg-purple-50 .text-pink-600,
.bg-purple-50 .text-orange-600,
.bg-purple-50 .text-teal-600,
.bg-purple-50 .text-cyan-600,
.bg-purple-100 .text-green-600,
.bg-purple-100 .text-blue-600,
.bg-purple-100 .text-red-600,
.bg-purple-100 .text-yellow-600,
.bg-purple-100 .text-purple-600,
.bg-purple-100 .text-indigo-600,
.bg-purple-100 .text-pink-600,
.bg-purple-100 .text-orange-600,
.bg-purple-100 .text-teal-600,
.bg-purple-100 .text-cyan-600,
.bg-indigo-50 .text-green-600,
.bg-indigo-50 .text-blue-600,
.bg-indigo-50 .text-red-600,
.bg-indigo-50 .text-yellow-600,
.bg-indigo-50 .text-purple-600,
.bg-indigo-50 .text-indigo-600,
.bg-indigo-50 .text-pink-600,
.bg-indigo-50 .text-orange-600,
.bg-indigo-50 .text-teal-600,
.bg-indigo-50 .text-cyan-600,
.bg-indigo-100 .text-green-600,
.bg-indigo-100 .text-blue-600,
.bg-indigo-100 .text-red-600,
.bg-indigo-100 .text-yellow-600,
.bg-indigo-100 .text-purple-600,
.bg-indigo-100 .text-indigo-600,
.bg-indigo-100 .text-pink-600,
.bg-indigo-100 .text-orange-600,
.bg-indigo-100 .text-teal-600,
.bg-indigo-100 .text-cyan-600,
.bg-pink-50 .text-green-600,
.bg-pink-50 .text-blue-600,
.bg-pink-50 .text-red-600,
.bg-pink-50 .text-yellow-600,
.bg-pink-50 .text-purple-600,
.bg-pink-50 .text-indigo-600,
.bg-pink-50 .text-pink-600,
.bg-pink-50 .text-orange-600,
.bg-pink-50 .text-teal-600,
.bg-pink-50 .text-cyan-600,
.bg-pink-100 .text-green-600,
.bg-pink-100 .text-blue-600,
.bg-pink-100 .text-red-600,
.bg-pink-100 .text-yellow-600,
.bg-pink-100 .text-purple-600,
.bg-pink-100 .text-indigo-600,
.bg-pink-100 .text-pink-600,
.bg-pink-100 .text-orange-600,
.bg-pink-100 .text-teal-600,
.bg-pink-100 .text-cyan-600,
.bg-orange-50 .text-green-600,
.bg-orange-50 .text-blue-600,
.bg-orange-50 .text-red-600,
.bg-orange-50 .text-yellow-600,
.bg-orange-50 .text-purple-600,
.bg-orange-50 .text-indigo-600,
.bg-orange-50 .text-pink-600,
.bg-orange-50 .text-orange-600,
.bg-orange-50 .text-teal-600,
.bg-orange-50 .text-cyan-600,
.bg-orange-100 .text-green-600,
.bg-orange-100 .text-blue-600,
.bg-orange-100 .text-red-600,
.bg-orange-100 .text-yellow-600,
.bg-orange-100 .text-purple-600,
.bg-orange-100 .text-indigo-600,
.bg-orange-100 .text-pink-600,
.bg-orange-100 .text-orange-600,
.bg-orange-100 .text-teal-600,
.bg-orange-100 .text-cyan-600,
.bg-teal-50 .text-green-600,
.bg-teal-50 .text-blue-600,
.bg-teal-50 .text-red-600,
.bg-teal-50 .text-yellow-600,
.bg-teal-50 .text-purple-600,
.bg-teal-50 .text-indigo-600,
.bg-teal-50 .text-pink-600,
.bg-teal-50 .text-orange-600,
.bg-teal-50 .text-teal-600,
.bg-teal-50 .text-cyan-600,
.bg-teal-100 .text-green-600,
.bg-teal-100 .text-blue-600,
.bg-teal-100 .text-red-600,
.bg-teal-100 .text-yellow-600,
.bg-teal-100 .text-purple-600,
.bg-teal-100 .text-indigo-600,
.bg-teal-100 .text-pink-600,
.bg-teal-100 .text-orange-600,
.bg-teal-100 .text-teal-600,
.bg-teal-100 .text-cyan-600,
.bg-cyan-50 .text-green-600,
.bg-cyan-50 .text-blue-600,
.bg-cyan-50 .text-red-600,
.bg-cyan-50 .text-yellow-600,
.bg-cyan-50 .text-purple-600,
.bg-cyan-50 .text-indigo-600,
.bg-cyan-50 .text-pink-600,
.bg-cyan-50 .text-orange-600,
.bg-cyan-50 .text-teal-600,
.bg-cyan-50 .text-cyan-600,
.bg-cyan-100 .text-green-600,
.bg-cyan-100 .text-blue-600,
.bg-cyan-100 .text-red-600,
.bg-cyan-100 .text-yellow-600,
.bg-cyan-100 .text-purple-600,
.bg-cyan-100 .text-indigo-600,
.bg-cyan-100 .text-pink-600,
.bg-cyan-100 .text-orange-600,
.bg-cyan-100 .text-teal-600,
.bg-cyan-100 .text-cyan-600 {
    color: white !important;
}

/* Special highlight for smartphone keyword */
.text-smartphone-highlight {
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

/* Enhanced keyword highlighting */
.keyword-highlight {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

/* Modern FAQ Styling - Clean & Professional */
.faq-item {
    background: #1F2937;
    border: 1px solid #374151;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    margin-bottom: 16px;
}

.faq-item:hover {
    border-color: #60A5FA;
    box-shadow: 0 10px 25px rgba(96, 165, 250, 0.15), 0 4px 10px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* Light mode override */
.light .faq-item {
    background: #FFFFFF;
    border-color: #E5E7EB;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
}

.light .faq-item:hover {
    border-color: #3B82F6;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.15), 0 4px 10px rgba(0, 0, 0, 0.1);
}

.faq-toggle {
    width: 100%;
    padding: 24px 32px;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    transition: all 0.2s ease;
    position: relative;
}

.faq-toggle:hover {
    background: rgba(96, 165, 250, 0.05);
}

/* Light mode override */
.light .faq-toggle:hover {
    background: rgba(59, 130, 246, 0.02);
}

.faq-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.dark .faq-toggle:focus {
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

.faq-question {
    font-size: 18px;
    font-weight: 600;
    color: #F9FAFB;
    line-height: 1.5;
    margin: 0;
    padding-right: 16px;
    flex: 1;
}

/* Light mode override */
.light .faq-question {
    color: #111827;
}

.faq-icon {
    width: 24px;
    height: 24px;
    color: #9CA3AF;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

/* Light mode override */
.light .faq-icon {
    color: #6B7280;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: #3B82F6;
}

.dark .faq-item.active .faq-icon {
    color: #60A5FA;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: #374151;
    border-top: 1px solid #4B5563;
}

/* Light mode override */
.light .faq-content {
    background: #F9FAFB;
    border-top-color: #F3F4F6;
}

.faq-content-inner {
    padding: 24px 32px 32px;
}

.faq-answer {
    color: #D1D5DB;
    line-height: 1.6;
    margin: 0;
    font-size: 16px;
}

/* Light mode override */
.light .faq-answer {
    color: #6B7280;
}

/* FAQ Container */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-section-title {
    font-size: 32px;
    font-weight: 700;
    color: #F9FAFB;
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}

/* Light mode override */
.light .faq-section-title {
    color: #111827;
}

.faq-section-title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #3B82F6, #60A5FA);
    border-radius: 2px;
}

.dark .faq-section-title::after {
    background: linear-gradient(90deg, #60A5FA, #93C5FD);
}

/* Dark mode compatible keyword highlights */
.dark .text-smartphone-highlight,
.dark .keyword-highlight {
    -webkit-text-fill-color: initial;
    background: none;
    color: #60A5FA !important; /* Bright blue for dark mode */
}

/* Alternative approach: Use solid colors with glow effects for better visibility */
.text-highlight-blue {
    color: #3B82F6 !important;
    font-weight: 900;
}

.text-highlight-red {
    color: #EF4444 !important;
    font-weight: 900;
}

.text-highlight-yellow {
    color: #F59E0B !important;
    font-weight: 900;
}

.text-highlight-green {
    color: #10B981 !important;
    font-weight: 900;
}

/* Dark mode overrides for solid highlights */
.dark .text-highlight-blue {
    color: #60A5FA !important;
}

.dark .text-highlight-red {
    color: #F87171 !important;
}

.dark .text-highlight-yellow {
    color: #FBBF24 !important;
}

.dark .text-highlight-green {
    color: #34D399 !important;
}

/* Enhanced visibility for all modes */
.text-highlight-blue,
.text-highlight-red,
.text-highlight-yellow,
.text-highlight-green {
    position: relative;
    z-index: 1;
}

/* Add subtle animation for better visibility */
.text-highlight-blue:hover,
.text-highlight-red:hover,
.text-highlight-yellow:hover,
.text-highlight-green:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease-in-out;
}

/* Super powerful overrides to ensure colors work */
span.text-highlight-blue,
span.text-highlight-red,
span.text-highlight-yellow,
span.text-highlight-green {
    color: inherit !important;
}

/* Force colors with maximum specificity */
h1 .text-highlight-blue,
h2 .text-highlight-blue,
h3 .text-highlight-blue,
h4 .text-highlight-blue,
h5 .text-highlight-blue,
h6 .text-highlight-blue {
    color: #3B82F6 !important;
    font-weight: 900;
}

h1 .text-highlight-red,
h2 .text-highlight-red,
h3 .text-highlight-red,
h4 .text-highlight-red,
h5 .text-highlight-red,
h6 .text-highlight-red {
    color: #EF4444 !important;
    font-weight: 900;
}

h1 .text-highlight-yellow,
h2 .text-highlight-yellow,
h3 .text-highlight-yellow,
h4 .text-highlight-yellow,
h5 .text-highlight-yellow,
h6 .text-highlight-yellow {
    color: #F59E0B !important;
    font-weight: 900;
}

h1 .text-highlight-green,
h2 .text-highlight-green,
h3 .text-highlight-green,
h4 .text-highlight-green,
h5 .text-highlight-green,
h6 .text-highlight-green {
    color: #10B981 !important;
    font-weight: 900;
}

/* Dark mode overrides with maximum specificity */
.dark h1 .text-highlight-blue,
.dark h2 .text-highlight-blue,
.dark h3 .text-highlight-blue,
.dark h4 .text-highlight-blue,
.dark h5 .text-highlight-blue,
.dark h6 .text-highlight-blue {
    color: #60A5FA !important;
}

.dark h1 .text-highlight-red,
.dark h2 .text-highlight-red,
.dark h3 .text-highlight-red,
.dark h4 .text-highlight-red,
.dark h5 .text-highlight-red,
.dark h6 .text-highlight-red {
    color: #F87171 !important;
}

.dark h1 .text-highlight-yellow,
.dark h2 .text-highlight-yellow,
.dark h3 .text-highlight-yellow,
.dark h4 .text-highlight-yellow,
.dark h5 .text-highlight-yellow,
.dark h6 .text-highlight-yellow {
    color: #FBBF24 !important;
}

.dark h1 .text-highlight-green,
.dark h2 .text-highlight-green,
.dark h3 .text-highlight-green,
.dark h4 .text-highlight-green,
.dark h5 .text-highlight-green,
.dark h6 .text-highlight-green {
    color: #34D399 !important;
}

/* Catch-all rule for any background container with icons */
[class*="bg-"] i,
[class*="bg-"] .fas,
[class*="bg-"] .fab,
[class*="bg-"] .far {
    color: white !important;
}

/* Override for any remaining color classes in background containers */
[class*="bg-"] [class*="text-"] {
    color: white !important;
}

/* Ensure icons in any container element are white */
div[class*="bg-"] i,
div[class*="bg-"] .fas,
div[class*="bg-"] .fab,
div[class*="bg-"] .far,
section[class*="bg-"] i,
section[class*="bg-"] .fas,
section[class*="bg-"] .fab,
section[class*="bg-"] .far,
article[class*="bg-"] i,
article[class*="bg-"] .fas,
article[class*="bg-"] .fab,
article[class*="bg-"] .far {
    color: white !important;
}

/* Specific override for the example case - lightbulb icon in green container */
.bg-green-100 .text-green-600,
.bg-green-100 .fas,
.bg-green-100 .fab,
.bg-green-100 .far {
    color: white !important;
}

/* Override for any icon with color classes when in specific background containers */
.bg-white .text-green-600,
.bg-white .text-blue-600,
.bg-white .text-red-600,
.bg-white .text-yellow-600,
.bg-white .text-purple-600,
.bg-white .text-indigo-600,
.bg-white .text-pink-600,
.bg-white .text-orange-600,
.bg-white .text-teal-600,
.bg-white .text-cyan-600,
.bg-gray-50 .text-green-600,
.bg-gray-50 .text-blue-600,
.bg-gray-50 .text-red-600,
.bg-gray-50 .text-yellow-600,
.bg-gray-50 .text-purple-600,
.bg-gray-50 .text-indigo-600,
.bg-gray-50 .text-pink-600,
.bg-gray-50 .text-orange-600,
.bg-gray-50 .text-teal-600,
.bg-gray-50 .text-cyan-600,
.bg-gray-100 .text-green-600,
.bg-gray-100 .text-blue-600,
.bg-gray-100 .text-red-600,
.bg-gray-100 .text-yellow-600,
.bg-gray-100 .text-purple-600,
.bg-gray-100 .text-indigo-600,
.bg-gray-100 .text-pink-600,
.bg-gray-100 .text-orange-600,
.bg-gray-100 .text-teal-600,
.bg-gray-100 .text-cyan-600 {
    color: white !important;
}

/* Override for icons in colored background containers */
.bg-blue-50 .text-green-600,
.bg-blue-50 .text-blue-600,
.bg-blue-50 .text-red-600,
.bg-blue-50 .text-yellow-600,
.bg-blue-50 .text-purple-600,
.bg-blue-50 .text-indigo-600,
.bg-blue-50 .text-pink-600,
.bg-blue-50 .text-orange-600,
.bg-blue-50 .text-teal-600,
.bg-blue-50 .text-cyan-600,
.bg-blue-100 .text-green-600,
.bg-blue-100 .text-blue-600,
.bg-blue-100 .text-red-600,
.bg-blue-100 .text-yellow-600,
.bg-blue-100 .text-purple-600,
.bg-blue-100 .text-indigo-600,
.bg-blue-100 .text-pink-600,
.bg-blue-100 .text-orange-600,
.bg-blue-100 .text-teal-600,
.bg-blue-100 .text-cyan-600,
.bg-green-50 .text-green-600,
.bg-green-50 .text-blue-600,
.bg-green-50 .text-red-600,
.bg-green-50 .text-yellow-600,
.bg-green-50 .text-purple-600,
.bg-green-50 .text-indigo-600,
.bg-green-50 .text-pink-600,
.bg-green-50 .text-orange-600,
.bg-green-50 .text-teal-600,
.bg-green-50 .text-cyan-600,
.bg-green-100 .text-green-600,
.bg-green-100 .text-blue-600,
.bg-green-100 .text-red-600,
.bg-green-100 .text-yellow-600,
.bg-green-100 .text-purple-600,
.bg-green-100 .text-indigo-600,
.bg-green-100 .text-pink-600,
.bg-green-100 .text-orange-600,
.bg-green-100 .text-teal-600,
.bg-green-100 .text-cyan-600,
.bg-red-50 .text-green-600,
.bg-red-50 .text-blue-600,
.bg-red-50 .text-red-600,
.bg-red-50 .text-yellow-600,
.bg-red-50 .text-purple-600,
.bg-red-50 .text-indigo-600,
.bg-red-50 .text-pink-600,
.bg-red-50 .text-orange-600,
.bg-red-50 .text-teal-600,
.bg-red-50 .text-cyan-600,
.bg-red-100 .text-green-600,
.bg-red-100 .text-blue-600,
.bg-red-100 .text-red-600,
.bg-red-100 .text-yellow-600,
.bg-red-100 .text-purple-600,
.bg-red-100 .text-indigo-600,
.bg-red-100 .text-pink-600,
.bg-red-100 .text-orange-600,
.bg-red-100 .text-teal-600,
.bg-red-100 .text-cyan-600,
.bg-yellow-50 .text-green-600,
.bg-yellow-50 .text-blue-600,
.bg-yellow-50 .text-red-600,
.bg-yellow-50 .text-yellow-600,
.bg-yellow-50 .text-purple-600,
.bg-yellow-50 .text-indigo-600,
.bg-yellow-50 .text-pink-600,
.bg-yellow-50 .text-orange-600,
.bg-yellow-50 .text-teal-600,
.bg-yellow-50 .text-cyan-600,
.bg-yellow-100 .text-green-600,
.bg-yellow-100 .text-blue-600,
.bg-yellow-100 .text-red-600,
.bg-yellow-100 .text-yellow-600,
.bg-yellow-100 .text-purple-600,
.bg-yellow-100 .text-indigo-600,
.bg-yellow-100 .text-pink-600,
.bg-yellow-100 .text-orange-600,
.bg-yellow-100 .text-teal-600,
.bg-yellow-100 .text-cyan-600,
.bg-purple-50 .text-green-600,
.bg-purple-50 .text-blue-600,
.bg-purple-50 .text-red-600,
.bg-purple-50 .text-yellow-600,
.bg-purple-50 .text-purple-600,
.bg-purple-50 .text-indigo-600,
.bg-purple-50 .text-pink-600,
.bg-purple-50 .text-orange-600,
.bg-purple-50 .text-teal-600,
.bg-purple-50 .text-cyan-600,
.bg-purple-100 .text-green-600,
.bg-purple-100 .text-blue-600,
.bg-purple-100 .text-red-600,
.bg-purple-100 .text-yellow-600,
.bg-purple-100 .text-purple-600,
.bg-purple-100 .text-indigo-600,
.bg-purple-100 .text-pink-600,
.bg-purple-100 .text-orange-600,
.bg-purple-100 .text-teal-600,
.bg-purple-100 .text-cyan-600,
.bg-indigo-50 .text-green-600,
.bg-indigo-50 .text-blue-600,
.bg-indigo-50 .text-red-600,
.bg-indigo-50 .text-yellow-600,
.bg-indigo-50 .text-purple-600,
.bg-indigo-50 .text-indigo-600,
.bg-indigo-50 .text-pink-600,
.bg-indigo-50 .text-orange-600,
.bg-indigo-50 .text-teal-600,
.bg-indigo-50 .text-cyan-600,
.bg-indigo-100 .text-green-600,
.bg-indigo-100 .text-blue-600,
.bg-indigo-100 .text-red-600,
.bg-indigo-100 .text-yellow-600,
.bg-indigo-100 .text-purple-600,
.bg-indigo-100 .text-indigo-600,
.bg-indigo-100 .text-pink-600,
.bg-indigo-100 .text-orange-600,
.bg-indigo-100 .text-teal-600,
.bg-indigo-100 .text-cyan-600,
.bg-pink-50 .text-green-600,
.bg-pink-50 .text-blue-600,
.bg-pink-50 .text-red-600,
.bg-pink-50 .text-yellow-600,
.bg-pink-50 .text-purple-600,
.bg-pink-50 .text-indigo-600,
.bg-pink-50 .text-pink-600,
.bg-pink-50 .text-orange-600,
.bg-pink-50 .text-teal-600,
.bg-pink-50 .text-cyan-600,
.bg-pink-100 .text-green-600,
.bg-pink-100 .text-blue-600,
.bg-pink-100 .text-red-600,
.bg-pink-100 .text-yellow-600,
.bg-pink-100 .text-purple-600,
.bg-pink-100 .text-indigo-600,
.bg-pink-100 .text-pink-600,
.bg-pink-100 .text-orange-600,
.bg-pink-100 .text-teal-600,
.bg-pink-100 .text-cyan-600,
.bg-orange-50 .text-green-600,
.bg-orange-50 .text-blue-600,
.bg-orange-50 .text-red-600,
.bg-orange-50 .text-yellow-600,
.bg-orange-50 .text-purple-600,
.bg-orange-50 .text-indigo-600,
.bg-orange-50 .text-pink-600,
.bg-orange-50 .text-orange-600,
.bg-orange-50 .text-teal-600,
.bg-orange-50 .text-cyan-600,
.bg-orange-100 .text-green-600,
.bg-orange-100 .text-blue-600,
.bg-orange-100 .text-red-600,
.bg-orange-100 .text-yellow-600,
.bg-orange-100 .text-purple-600,
.bg-orange-100 .text-indigo-600,
.bg-orange-100 .text-pink-600,
.bg-orange-100 .text-orange-600,
.bg-orange-100 .text-teal-600,
.bg-orange-100 .text-cyan-600,
.bg-teal-50 .text-green-600,
.bg-teal-50 .text-blue-600,
.bg-teal-50 .text-red-600,
.bg-teal-50 .text-yellow-600,
.bg-teal-50 .text-purple-600,
.bg-teal-50 .text-indigo-600,
.bg-teal-50 .text-pink-600,
.bg-teal-50 .text-orange-600,
.bg-teal-50 .text-teal-600,
.bg-teal-50 .text-cyan-600,
.bg-teal-100 .text-green-600,
.bg-teal-100 .text-blue-600,
.bg-teal-100 .text-red-600,
.bg-teal-100 .text-yellow-600,
.bg-teal-100 .text-purple-600,
.bg-teal-100 .text-indigo-600,
.bg-teal-100 .text-pink-600,
.bg-teal-100 .text-orange-600,
.bg-teal-100 .text-teal-600,
.bg-teal-100 .text-cyan-600,
.bg-cyan-50 .text-green-600,
.bg-cyan-50 .text-blue-600,
.bg-cyan-50 .text-red-600,
.bg-cyan-50 .text-yellow-600,
.bg-cyan-50 .text-purple-600,
.bg-cyan-50 .text-indigo-600,
.bg-cyan-50 .text-pink-600,
.bg-cyan-50 .text-orange-600,
.bg-cyan-50 .text-teal-600,
.bg-cyan-50 .text-cyan-600,
.bg-cyan-100 .text-green-600,
.bg-cyan-100 .text-blue-600,
.bg-cyan-100 .text-red-600,
.bg-cyan-100 .text-yellow-600,
.bg-cyan-100 .text-purple-600,
.bg-cyan-100 .text-indigo-600,
.bg-cyan-100 .text-pink-600,
.bg-cyan-100 .text-orange-600,
.bg-cyan-100 .text-teal-600,
.bg-cyan-100 .text-cyan-600 {
    color: white !important;
}

/* Ensure hero section and "What is Songket" section maintain dark backgrounds */
.bg-gradient-to-br.from-slate-900.via-purple-900.to-slate-900,
.bg-gradient-to-br.from-slate-900.to-purple-900 {
    background: linear-gradient(to bottom right, #0f172a, #581c87, #0f172a) !important;
}

.text-red-600,
.text-yellow-600,
.text-blue-600,
.text-green-600,
.text-purple-600,
.text-indigo-600,
.text-pink-600,
.text-orange-600,
.text-teal-600,
.text-cyan-600 {
    color: white !important;
}

.border-gray-200 {
    border-color: #334155 !important;
}

.border-gray-300 {
    border-color: #334155 !important;
}

.border-gray-400 {
    border-color: #334155 !important;
}

.border-gray-500 {
    border-color: #334155 !important;
}

.border-gray-600 {
    border-color: #334155 !important;
}

.border-gray-700 {
    border-color: #334155 !important;
}

.border-gray-800 {
    border-color: #334155 !important;
}

.border-gray-900 {
    border-color: #334155 !important;
}

.bg-white {
    background-color: #1E293B !important;
}

.bg-blue-50 {
    background-color: rgba(30, 58, 138, 0.2) !important;
}

.bg-blue-100 {
    background-color: rgba(30, 58, 138, 0.3) !important;
}

.bg-red-50 {
    background-color: rgba(185, 28, 28, 0.2) !important;
}

.bg-red-100 {
    background-color: rgba(185, 28, 28, 0.3) !important;
}

.bg-green-50 {
    background-color: rgba(21, 128, 61, 0.2) !important;
}

.bg-green-100 {
    background-color: rgba(21, 128, 61, 0.3) !important;
}

.bg-yellow-50 {
    background-color: rgba(161, 98, 7, 0.2) !important;
}

.bg-yellow-100 {
    background-color: rgba(161, 98, 7, 0.3) !important;
}

.bg-purple-50 {
    background-color: rgba(88, 28, 135, 0.2) !important;
}

.bg-purple-100 {
    background-color: rgba(88, 28, 135, 0.3) !important;
}

.bg-indigo-50 {
    background-color: rgba(49, 46, 129, 0.2) !important;
}

.bg-indigo-100 {
    background-color: rgba(49, 46, 129, 0.3) !important;
}

/* Ensure all text in colored cards is visible */
.bg-red-50,
.bg-red-100,
.bg-blue-50,
.bg-blue-100,
.bg-green-50,
.bg-green-100,
.bg-yellow-50,
.bg-yellow-100,
.bg-purple-50,
.bg-purple-100,
.bg-indigo-50,
.bg-indigo-100 {
    color: #1f2937 !important;
}

.bg-red-50 *,
.bg-red-100 *,
.bg-blue-50 *,
.bg-blue-100 *,
.bg-green-50 *,
.bg-green-100 *,
.bg-yellow-50 *,
.bg-yellow-100 *,
.bg-purple-50 *,
.bg-purple-100 *,
.bg-indigo-50 *,
.bg-indigo-100 * {
    color: inherit !important;
}

/* Form input styles for dark mode */
input::placeholder {
    color: #94A3B8 !important;
}

textarea::placeholder {
    color: #94A3B8 !important;
}

input {
    background-color: #1E293B !important;
    color: #F8FAFC !important;
    border-color: #334155 !important;
}

textarea {
    background-color: #1E293B !important;
    color: #F8FAFC !important;
    border-color: #334155 !important;
}

select {
    background-color: #1E293B !important;
    color: #F8FAFC !important;
    border-color: #334155 !important;
}

/* Feature Cards - Dark Mode Only */
.feature-card-new {
    @apply text-center p-8 rounded-2xl border transition-all duration-500 transform hover:-translate-y-2 relative overflow-hidden;
    background: linear-gradient(135deg, #1E293B 0%, #334155 100%);
    border-color: #475569;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.feature-card-new:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
    border-color: #64748B;
}

/* Card Icons */
.card-icon {
    @apply w-16 h-16 rounded-2xl flex items-center justify-center mx-auto mb-6 text-white text-2xl transition-transform duration-300;
}

.card-icon.emergency {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
}

.card-icon.safety {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
}

.card-icon.community {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.card-icon.technology {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
}

.card-icon.analytics {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
}

.card-icon.support {
    background: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
}

/* Card Content */
.card-title {
    @apply text-xl font-bold mb-3 text-gray-100;
}

.card-description {
    @apply text-gray-300 leading-relaxed;
}

/* Safety Cards */
.safety-card {
    @apply bg-gray-800 rounded-2xl p-6 shadow-lg hover:shadow-xl transition-all duration-300 border border-gray-700;
}

.safety-card:hover {
    @apply border-gray-600 transform -translate-y-1;
}

.community-card {
    @apply bg-gray-800 rounded-2xl p-6 shadow-lg hover:shadow-xl transition-all duration-300 border border-gray-700;
}

.community-card:hover {
    @apply border-gray-600 transform -translate-y-1;
}

.emergency-card {
    @apply bg-gray-800 rounded-2xl p-6 shadow-lg hover:shadow-xl transition-all duration-300 border border-gray-700;
}

.emergency-card:hover {
    @apply border-gray-600 transform -translate-y-1;
}

/* Dark Mode Section */
.dark-mode-section {
    @apply bg-gray-800 rounded-2xl p-8 shadow-xl border border-gray-700;
}

.dark-mode-title {
    @apply text-2xl font-bold mb-4 text-gray-100;
}

.dark-mode-text {
    @apply text-gray-300 leading-relaxed mb-6;
}

.dark-mode-accent {
    @apply text-blue-400 font-semibold;
}

/* Custom Font Family */
@font-face {
    font-family: 'LiAdor';
    src: url('../fonts/LiAdor.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.font-bengali {
    font-family: 'LiAdor', 'Noto Sans Bengali', 'SolaimanLipi', 'Bangla', sans-serif;
}

/* CSS Variables for Theme */
:root {
    --primary: #3B82F6;
    --primary-dark: #2563EB;
    --secondary: #10B981;
    --secondary-dark: #059669;
    --accent: #8B5CF6;
    --accent-dark: #7C3AED;
    --warning: #F59E0B;
    --warning-dark: #D97706;
    --danger: #EF4444;
    --danger-dark: #DC2626;
}

/* Footer Styles */
.footer-link {
    @apply text-gray-400 hover:text-white transition-colors duration-200 hover:translate-x-1 transform;
}

.social-link {
    @apply w-10 h-10 bg-gray-800 rounded-full flex items-center justify-center text-gray-400 hover:text-white hover:bg-blue-600 transition-all duration-200 transform hover:scale-110;
}

/* Hero Section Styles */
.hero-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-pattern {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

/* Feature Cards */
.feature-card {
    @apply bg-gray-800 rounded-2xl p-8 shadow-lg hover:shadow-2xl transform hover:-translate-y-2 transition-all duration-500 border border-gray-700;
}

.feature-icon {
    @apply w-20 h-20 rounded-2xl flex items-center justify-center mb-6 mx-auto transform hover:scale-110 transition-transform duration-300;
}

/* Stats Cards */
.stat-card {
    @apply bg-gray-800 rounded-xl p-6 shadow-lg hover:shadow-xl transform hover:-translate-y-1 transition-all duration-300 border border-gray-700;
}

.stat-number {
    @apply text-3xl font-bold bg-gradient-to-r from-blue-400 to-purple-400 bg-clip-text text-transparent;
}

/* App Showcase */
.app-showcase {
    @apply bg-gray-800 rounded-3xl p-8 shadow-2xl border border-gray-700;
}

/* Notification Styles */
.notification {
    @apply fixed top-20 right-4 z-50 p-4 rounded-xl shadow-lg transform translate-x-full transition-transform duration-300;
}

.notification.success {
    @apply bg-green-500 text-white;
}

.notification.error {
    @apply bg-red-500 text-white;
}

.notification.warning {
    @apply bg-yellow-500 text-white;
}

.notification.info {
    @apply bg-blue-500 text-white;
}

/* Animation Classes */
.animate-slide-in-up,
.animate-in {
    animation: slideInUp 0.6s ease-out forwards;
    /* Prevent flickering by ensuring opacity stays at 1 after animation */
    opacity: 1 !important;
}

/* Ensure animated elements don't flicker on scroll */
[data-animated="true"] {
    opacity: 1 !important;
    animation-fill-mode: forwards;
    /* Prevent any re-triggering of animations */
    pointer-events: auto;
}

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

/* Team Card Hover Animations */
.team-card:hover {
    transform: translateY(-4px) scale(1.01);
}

.team-card img.lazy {
    transition: transform 500ms ease, filter 400ms ease;
}

.team-card:hover img.lazy {
    transform: scale(1.08) rotate(0.25deg);
    filter: saturate(1.05) contrast(1.05);
}

.team-card .hover-tilt {
    transition: transform 300ms ease;
}

.team-card:hover .hover-tilt {
    transform: translateZ(6px);
}

/* Role pill shine animation */
.team-card .role-pill {
    position: relative;
    overflow: hidden;
}

.team-card .role-pill::before {
    content: "";
    position: absolute;
    left: -120%;
    top: 0;
    height: 100%;
    width: 40%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.45), transparent);
    transform: skewX(-20deg);
}

.team-card:hover .role-pill::before {
    animation: roleShine 0.9s ease-out forwards;
}

@keyframes roleShine {
    to {
        left: 140%;
    }
}

/* Institute pill tweaks */
.team-card .inst-pill {
    backdrop-filter: saturate(120%) blur(2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .feature-card {
        @apply p-6;
    }
    
    .stat-card {
        @apply p-4;
    }
    
    .app-showcase {
        @apply p-6;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .notification,
    .mobile-menu-btn,
    #mobile-menu {
        display: none !important;
    }
}

/* Force blue highlights on feature page titles - highest priority */
h2.text-gray-900.dark\:text-white span.text-blue-600,
h3.text-gray-900.dark\:text-white span.text-blue-600,
h2.font-black.text-gray-900.dark\:text-white span.text-blue-600,
h3.font-bold.text-gray-900.dark\:text-white span.text-blue-600,
h2.text-gray-900 span.text-blue-600,
h3.text-gray-900 span.text-blue-600 {
    color: #2563EB !important;
}

/* Contact Form Styles */
.template-btn {
    transition: all 0.3s ease;
}

.template-btn.active {
    border-color: #3B82F6 !important;
    background-color: rgba(59, 130, 246, 0.2) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.template-btn.active i,
.template-btn.active span {
    color: #60A5FA !important;
}

.template-btn:hover:not(.active) {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.template-btn i {
    transition: transform 0.3s ease;
}

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

#contactForm input,
#contactForm textarea {
    transition: all 0.3s ease;
}

#contactForm input:focus,
#contactForm textarea:focus {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

#contactForm input::placeholder,
#contactForm textarea::placeholder {
    color: rgba(147, 197, 253, 0.5);
}

/* Contact Form Snackbar Styles */
.contact-notification {
    min-width: 300px;
    max-width: 500px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: slideInRight 0.3s ease-out;
}

.contact-notification.loading-notification {
    cursor: wait;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 640px) {
    .contact-notification {
        right: 1rem;
        left: 1rem;
        min-width: auto;
        max-width: none;
    }
}
