/* Custom CSS for Nenmara-Olippara Road Issue Tracker */

:root {
    --primary-red: #dc3545;
    --primary-yellow: #ffc107;
    --primary-blue: #0d6efd;
    --dark-blue: #0a58ca;
    --light-gray: #f8f9fa;
    --dark-gray: #6c757d;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
}

.section-title {
    font-weight: 700;
    color: var(--dark-blue);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-red), var(--primary-yellow));
    border-radius: 2px;
}

/* Header Section */
.hero-section {
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

#heroCarousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    background-color: rgba(0, 0, 0, 0.3);
}

.overlay {
    background: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease-out;
}

.hero-section .lead {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-section .alert {
    animation: fadeInUp 1s ease-out 0.6s both;
    font-weight: 600;
}

/* Countdown Section */
.countdown-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.countdown-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="a"><stop offset="0%" stop-color="%23ff6b7a" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ff6b7a" stop-opacity="0"/></radialGradient></defs><circle cx="20" cy="20" r="2" fill="url(%23a)"><animate attributeName="cy" values="20;80;20" dur="3s" repeatCount="indefinite"/></circle><circle cx="80" cy="40" r="1.5" fill="url(%23a)"><animate attributeName="cy" values="40;90;40" dur="4s" repeatCount="indefinite"/></circle><circle cx="50" cy="60" r="1" fill="url(%23a)"><animate attributeName="cy" values="60;10;60" dur="5s" repeatCount="indefinite"/></circle></svg>') repeat;
    animation: particleFloat 10s linear infinite;
    pointer-events: none;
}

.countdown-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    overflow: hidden;
    animation: cardFloat 4s ease-in-out infinite, cardGlow 3s ease-in-out infinite alternate;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.countdown-card:hover {
    transform: translateY(-10px) scale(1.05) rotate(1deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    animation: cardHover 0.6s ease-in-out infinite alternate;
}

.countdown-card.border-danger {
    border: 4px solid var(--primary-red) !important;
    box-shadow: 0 20px 50px rgba(220, 53, 69, 0.5) !important;
    animation: urgentBlink 0.8s ease-in-out infinite, urgentShake 2s ease-in-out infinite, urgentGlow 1.5s ease-in-out infinite alternate;
}

.countdown-card.border-warning {
    border: 4px solid var(--primary-yellow) !important;
    box-shadow: 0 20px 50px rgba(255, 193, 7, 0.5) !important;
    animation: warningBlink 1.2s ease-in-out infinite, warningPulse 2.5s ease-in-out infinite;
}

.countdown-card.border-dark {
    border: 4px solid #2c3e50 !important;
    box-shadow: 0 20px 50px rgba(44, 62, 80, 0.6) !important;
    animation: darkBlink 1s ease-in-out infinite, darkBreathe 3s ease-in-out infinite, darkGlow 2s ease-in-out infinite alternate;
    animation: darkPulse 2.5s ease-in-out infinite;
}

.countdown-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(220, 53, 69, 0.05) 0%, 
        rgba(255, 193, 7, 0.05) 50%, 
        rgba(13, 110, 253, 0.05) 100%);
    border-radius: 15px;
    z-index: 1;
    animation: overlayShift 8s ease-in-out infinite;
}

.countdown-card .card-body > * {
    position: relative;
    z-index: 2;
}

.countdown-icon {
    font-size: 4.5rem;
    animation: clockSpin 2s linear infinite, iconGlow 1.5s ease-in-out infinite alternate;
    display: inline-block;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

/* Continuous clock spinning animation */
@keyframes clockSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.countdown-number {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1;
    animation: numberPulse 1.5s ease-in-out infinite, numberGlow 2s ease-in-out infinite alternate;
    transition: all 0.3s ease;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.countdown-details {
    font-size: 1.1rem;
    font-weight: 600;
    color: #6c757d !important;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 5px 10px;
    display: inline-block;
}

.time-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.time-part {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    padding: 4px 8px;
    border-radius: 8px;
    font-weight: 700;
    display: inline-block;
    min-width: 35px;
    text-align: center;
}

.time-part.hours {
    background: linear-gradient(45deg, #dc3545, #c82333);
}

.time-part.minutes {
    background: linear-gradient(45deg, #ffc107, #e0a800);
    color: #000;
}

.time-part.seconds {
    background: linear-gradient(45deg, #28a745, #1e7e34);
}

.spinner-icon {
    color: #007bff;
    animation: spin 2s linear infinite;
    font-size: 1.2rem;
}

.project-details-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-item {
    padding: 15px;
    background: var(--light-gray);
    border-radius: 10px;
    border-left: 4px solid var(--primary-blue);
    margin-bottom: 15px;
}

.info-item strong {
    color: var(--dark-blue);
    display: block;
    margin-bottom: 5px;
}

/* Images Section */
.images-section .carousel-item img {
    border-radius: 15px;
    height: 400px;
    object-fit: cover;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    padding: 20px;
    bottom: 20px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 20px;
}

/* Thumbnail Gallery */
.thumbnail-gallery {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.thumbnail-img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail-img:hover {
    transform: scale(1.1);
    border-color: var(--primary-blue);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.thumbnail-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 0;
    margin: 0 -15px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-blue) #f1f1f1;
}

.thumbnail-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.thumbnail-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.thumbnail-scroll-container::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 10px;
}

.thumbnail-scroll-container::-webkit-scrollbar-thumb:hover {
    background: var(--dark-blue);
}

.thumbnail-scroll {
    display: flex;
    gap: 15px;
    padding: 0 15px;
    width: max-content;
}

.thumbnail-img-large {
    width: 200px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    flex-shrink: 0;
}

.thumbnail-img-large:hover {
    transform: scale(1.05) translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.3);
}

.group-name {
    background: linear-gradient(45deg, #25d366, #128c7e);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-block;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.group-name:hover {
    background: linear-gradient(45deg, #128c7e, #25d366);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.group-name-link {
    color: white !important;
    font-weight: 600;
}

.group-name-link:hover {
    color: white !important;
}

.group-highlight {
    background: linear-gradient(45deg, #25d366, #128c7e);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
    font-size: 1rem;
    font-weight: 700;
    animation: groupPulse 2s ease-in-out infinite alternate;
    transition: all 0.3s ease;
}

.group-highlight a {
    color: white !important;
    text-decoration: none !important;
}

.group-highlight:hover {
    background: linear-gradient(45deg, #128c7e, #075e54);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.group-highlight a:hover {
    color: white !important;
}

@keyframes groupPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(37, 211, 102, 0.4);
    }
    100% {
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(37, 211, 102, 0.6);
    }
}

/* Responsible Section */
.officer-card, .contractor-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.officer-card:hover, .contractor-card:hover {
    transform: translateY(-5px);
}

.contact-info p {
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.contact-info p:last-child {
    border-bottom: none;
}

/* Action Section */
.action-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.action-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.action-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.priority-card {
    position: relative;
    animation: priorityPulse 2s infinite;
    border: 3px solid #198754 !important;
    box-shadow: 0 15px 40px rgba(25, 135, 84, 0.3) !important;
}

.priority-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #198754, #20c997);
    border-radius: 15px;
    z-index: -1;
    animation: priorityGlow 3s ease-in-out infinite alternate;
}

.action-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.email-list .email-item {
    margin-bottom: 1rem;
}

.email-list .form-control {
    font-size: 0.9rem;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    font-family: 'Courier New', monospace;
}

.email-list .form-control:focus {
    background-color: #ffffff;
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.email-list .btn {
    border-radius: 0 0.375rem 0.375rem 0;
    padding: 0.5rem 0.75rem;
}

.email-list .btn:hover {
    transform: scale(1.05);
    transition: all 0.2s ease;
}

/* Footer */
.footer-section {
    background: linear-gradient(135deg, #212529 0%, #495057 100%) !important;
}

.social-share .btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-share .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes priorityPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes priorityGlow {
    0% {
        box-shadow: 0 0 20px rgba(25, 135, 84, 0.3);
    }
    100% {
        box-shadow: 0 0 30px rgba(25, 135, 84, 0.6);
    }
}

@keyframes countdownPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes fadeInOut {
    0% {
        opacity: 0.7;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes urgentPulse {
    0% {
        border-color: var(--primary-red);
        box-shadow: 0 15px 40px rgba(220, 53, 69, 0.3);
    }
    50% {
        border-color: #ff6b7a;
        box-shadow: 0 20px 50px rgba(220, 53, 69, 0.5);
        transform: scale(1.02);
    }
    100% {
        border-color: var(--primary-red);
        box-shadow: 0 15px 40px rgba(220, 53, 69, 0.3);
    }
}

@keyframes warningPulse {
    0% {
        border-color: var(--primary-yellow);
        box-shadow: 0 15px 40px rgba(255, 193, 7, 0.3);
    }
    50% {
        border-color: #ffd43b;
        box-shadow: 0 20px 50px rgba(255, 193, 7, 0.5);
        transform: scale(1.01);
    }
    100% {
        border-color: var(--primary-yellow);
        box-shadow: 0 15px 40px rgba(255, 193, 7, 0.3);
    }
}

@keyframes darkPulse {
    0% {
        border-color: #2c3e50;
        box-shadow: 0 15px 40px rgba(44, 62, 80, 0.4);
    }
    50% {
        border-color: #34495e;
        box-shadow: 0 20px 50px rgba(52, 73, 94, 0.6);
        transform: scale(1.01);
    }
    100% {
        border-color: #2c3e50;
        box-shadow: 0 15px 40px rgba(44, 62, 80, 0.4);
    }
}

@keyframes iconSpin {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(5deg);
    }
    75% {
        transform: rotate(-5deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

@keyframes iconGlow {
    0% {
        filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.2));
    }
    100% {
        filter: drop-shadow(0 0 15px rgba(220, 53, 69, 0.6));
    }
}

@keyframes particleFloat {
    0% {
        transform: translateX(-100px);
    }
    100% {
        transform: translateX(100vw);
    }
}

@keyframes overlayShift {
    0% {
        background: linear-gradient(45deg, 
            rgba(220, 53, 69, 0.05) 0%, 
            rgba(255, 193, 7, 0.05) 50%, 
            rgba(13, 110, 253, 0.05) 100%);
    }
    33% {
        background: linear-gradient(45deg, 
            rgba(13, 110, 253, 0.05) 0%, 
            rgba(220, 53, 69, 0.05) 50%, 
            rgba(255, 193, 7, 0.05) 100%);
    }
    66% {
        background: linear-gradient(45deg, 
            rgba(255, 193, 7, 0.05) 0%, 
            rgba(13, 110, 253, 0.05) 50%, 
            rgba(220, 53, 69, 0.05) 100%);
    }
    100% {
        background: linear-gradient(45deg, 
            rgba(220, 53, 69, 0.05) 0%, 
            rgba(255, 193, 7, 0.05) 50%, 
            rgba(13, 110, 253, 0.05) 100%);
    }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes timePulse {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }
    100% {
        transform: scale(1.05);
        opacity: 1;
    }
}

.countdown-number {
    animation: countdownPulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 400px;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .countdown-number {
        font-size: 3rem;
    }
    
    .countdown-icon {
        font-size: 3rem;
    }
    
    .carousel-caption {
        position: static;
        color: var(--dark-blue);
        background: rgba(255, 255, 255, 0.9);
        margin-top: 15px;
    }
    
    .social-share {
        text-align: center;
        margin-top: 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .countdown-number {
        font-size: 2.5rem;
    }
    
    .info-item {
        margin-bottom: 10px;
        padding: 10px;
    }
    
    .action-icon {
        font-size: 2rem;
    }
}

/* Custom Bootstrap Overrides */
.btn-danger {
    background: linear-gradient(45deg, var(--primary-red), #c82333);
    border: none;
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

.btn-warning {
    background: linear-gradient(45deg, var(--primary-yellow), #e0a800);
    border: none;
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 600;
    color: #000;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
    color: #000;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-blue), var(--dark-blue));
    border: none;
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
}

/* Additional utility classes */
.text-shadow {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.border-gradient {
    border: 2px solid;
    border-image: linear-gradient(45deg, var(--primary-red), var(--primary-yellow)) 1;
}

.bg-gradient-danger {
    background: linear-gradient(135deg, var(--primary-red), #c82333) !important;
}

.bg-gradient-warning {
    background: linear-gradient(135deg, var(--primary-yellow), #e0a800) !important;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue)) !important;
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-btn {
    background: #25D366;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.float-btn:hover {
    background: #128C7E;
    box-shadow: 0 6px 20px rgba(18, 140, 126, 0.5);
    transform: translateY(-2px);
}

.float-btn a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.float-btn i {
    font-size: 24px;
    color: white;
    min-width: 24px;
}

.float-text {
    display: none;
}

.whatsapp-join {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.whatsapp-share {
    background: linear-gradient(135deg, #25D366, #1DA851);
}

.float-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(37, 211, 102, 0.3);
}

/* Mobile responsiveness for floating buttons */
@media (max-width: 768px) {
    .floating-buttons {
        bottom: 15px;
        right: 15px;
    }
    
    .float-btn {
        width: 50px;
        height: 50px;
    }
    
    .float-btn i {
        font-size: 20px;
    }
}

/* Government Officials Cards */
.gov-official-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gov-official-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.gov-official-card .card-header {
    border-bottom: none;
    font-weight: 600;
    padding: 1.25rem 1.5rem;
}

.gov-official-card .card-body {
    padding: 1.5rem;
}

.gov-official-card .card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gov-official-card .input-group {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gov-official-card .form-control {
    border: none;
    background: #f8f9fa;
    padding: 0.75rem 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #495057;
}

.gov-official-card .btn {
    border: none;
    padding: 0.75rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.gov-official-card .btn:hover {
    transform: scale(1.05);
}

/* Copy button success animation */
.btn-success {
    animation: copySuccess 0.3s ease-in-out;
}

@keyframes copySuccess {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Crispy warning color for remaining days */
.crispy-warning {
    color: #ff6b35 !important;
    font-weight: 700;
}

/* Enhanced Attractive Timer Card Animations */

@keyframes cardGlow {
    0% {
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15), 0 0 0 rgba(13, 110, 253, 0);
    }
    100% {
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25), 0 0 30px rgba(13, 110, 253, 0.3);
    }
}

@keyframes cardHover {
    0% {
        filter: brightness(1);
    }
    100% {
        filter: brightness(1.1);
    }
}

@keyframes urgentBlink {
    0%, 50% {
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        border-color: var(--primary-red);
    }
    25%, 75% {
        background: linear-gradient(135deg, #ffe6e6 0%, #ffcccc 100%);
        border-color: #ff4757;
    }
}

@keyframes urgentShake {
    0%, 100% { transform: translateX(0px) rotate(0deg); }
    10% { transform: translateX(-2px) rotate(-0.5deg); }
    20% { transform: translateX(2px) rotate(0.5deg); }
    30% { transform: translateX(-1px) rotate(-0.2deg); }
    40% { transform: translateX(1px) rotate(0.2deg); }
    50% { transform: translateX(0px) rotate(0deg); }
}

@keyframes urgentGlow {
    0% {
        filter: drop-shadow(0 0 10px rgba(220, 53, 69, 0.3));
    }
    100% {
        filter: drop-shadow(0 0 25px rgba(220, 53, 69, 0.8));
    }
}

@keyframes warningBlink {
    0%, 60% {
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    }
    30% {
        background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    }
}

@keyframes darkBlink {
    0%, 70% {
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    }
    35% {
        background: linear-gradient(135deg, #f0f2f5 0%, #e9ecef 100%);
    }
}

@keyframes darkBreathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

@keyframes darkGlow {
    0% {
        filter: drop-shadow(0 0 5px rgba(44, 62, 80, 0.3));
    }
    100% {
        filter: drop-shadow(0 0 20px rgba(44, 62, 80, 0.7));
    }
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) rotate(2deg);
    }
    50% {
        transform: translateY(-8px) rotate(0deg);
    }
    75% {
        transform: translateY(-3px) rotate(-2deg);
    }
}

@keyframes numberPulse {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.08);
        filter: brightness(1.2);
    }
}

@keyframes numberGlow {
    0% {
        text-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    }
    100% {
        text-shadow: 0 5px 20px rgba(0, 0, 0, 0.4), 0 0 15px currentColor;
    }
}

/* Enhanced contact info styling */
.contact-info p {
    margin-bottom: 0.5rem;
}

/* Call Record Cards Styling */
.call-record-card {
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.call-record-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.call-status-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.call-record-card .btn:hover {
    transform: scale(1.05);
    transition: all 0.2s ease;
}

/* Audio Controls Styling */
.call-record-card audio {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: #f8f9fa;
}

/* Broadcast Form Styling */
.form-check-input:checked {
    background-color: #198754;
    border-color: #198754;
}

.form-check-label {
    cursor: pointer;
}

.form-check:hover .form-check-label {
    color: #198754;
}

.border.rounded.p-3.bg-light {
    background-color: #f8f9fa !important;
    border-color: #dee2e6 !important;
}

.input-group-text {
    background-color: #e9ecef;
    border-color: #ced4da;
    color: #495057;
}

#preferencesError {
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Enhanced modal styling */
.modal-content {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-radius: 15px 15px 0 0;
}

.btn {
    border-radius: 8px;
    transition: all 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

/* Audio Controls Styling */
.call-record-card audio {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: #f8f9fa;
}

.call-record-card audio::-webkit-media-controls-panel {
    background-color: #f8f9fa;
    border-radius: 8px;
}

.call-record-card audio::-webkit-media-controls-play-button,
.call-record-card audio::-webkit-media-controls-mute-button {
    background-color: transparent;
    border-radius: 50%;
}

.call-record-card audio::-webkit-media-controls-timeline {
    background-color: #dee2e6;
    border-radius: 4px;
}

.call-record-card audio::-webkit-media-controls-current-time-display,
.call-record-card audio::-webkit-media-controls-time-remaining-display {
    font-size: 12px;
    color: #6c757d;
}

/* Enhanced contact info styling */
.contact-info p {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

/* Optimized WhatsApp Action Card */
.priority-card .badge {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.priority-card .bg-white {
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.priority-card .bg-white:hover {
    border-color: #198754;
    box-shadow: 0 2px 8px rgba(25, 135, 84, 0.1);
}

.priority-card .flex-fill {
    padding: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.priority-card .flex-fill:hover {
    background-color: #f8f9fa;
}

.priority-card .flex-fill i {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

/* Enhanced Options Preview */
.options-preview {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.options-preview:hover {
    border-color: #198754;
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.1);
}

/* Smart Button Enhancement */
.priority-card .btn-success {
    background: linear-gradient(135deg, #198754 0%, #20c997 100%);
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.priority-card .btn-success:hover {
    background: linear-gradient(135deg, #157347 0%, #1aa085 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(25, 135, 84, 0.3);
}

.priority-card .btn-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.priority-card .btn-success:hover::before {
    left: 100%;
}

/* Enhanced Floating Button Animation */
.floating-buttons .float-btn {
    animation: floatBounce 3s ease-in-out infinite;
}

.floating-buttons .float-btn:nth-child(2) {
    animation-delay: 0.5s;
}

@keyframes floatBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* Modal Enhancements for WhatsApp Options */
#whatsappOptionsModal .modal-content {
    border-radius: 15px;
    border: 2px solid #198754;
    overflow: hidden;
}

#whatsappOptionsModal .modal-header {
    background: linear-gradient(135deg, #198754 0%, #20c997 100%);
    border-bottom: none;
}

#whatsappOptionsModal .btn {
    border-radius: 10px;
    padding: 12px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

#whatsappOptionsModal .btn-success:hover {
    background: linear-gradient(135deg, #157347 0%, #1aa085 100%);
    transform: translateY(-2px);
}

#whatsappOptionsModal .btn-outline-success:hover {
    background: #198754;
    border-color: #198754;
    transform: translateY(-2px);
}

/* Enhanced Animated Floating Buttons System */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 56px;
    height: 124px; /* Height for 2 buttons + gap */
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.float-btn-set {
    position: absolute;
    top: 0;
    right: 0;
    width: 56px;
    height: 124px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
}

.float-btn-set.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: all;
}

.float-btn-set.entering {
    animation: floatEnter 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.float-btn-set.exiting {
    animation: floatExit 0.6s ease-in forwards;
}

@keyframes floatEnter {
    0% {
        opacity: 0;
        transform: scale(0.8) rotate(180deg);
    }
    50% {
        transform: scale(1.1) rotate(90deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes floatExit {
    0% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.1) rotate(-90deg);
    }
    100% {
        opacity: 0;
        transform: scale(0.8) rotate(-180deg);
    }
}

.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.float-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.float-btn:hover::before {
    opacity: 1;
}

.float-btn:hover {
    transform: scale(1.15) translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.float-btn:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

/* WhatsApp Button Styles */
.whatsapp-join {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
}

.whatsapp-share {
    background: linear-gradient(135deg, #25D366 0%, #075E54 100%);
    color: white;
}

/* Social Media Button Styles */
.instagram-btn {
    background: linear-gradient(135deg, #E4405F 0%, #FF6B6B 50%, #4ECDC4 100%);
    color: white;
}

.facebook-btn {
    background: linear-gradient(135deg, #1877F2 0%, #42A5F5 100%);
    color: white;
}

.float-btn i {
    font-size: 24px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.float-btn:hover i {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.float-text {
    position: absolute;
    right: 65px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.float-btn:hover .float-text {
    opacity: 1;
    transform: translateX(0);
}

/* Floating Button Indicator */
.float-indicator {
    position: absolute;
    bottom: -25px;
    right: 50%;
    transform: translateX(50%);
    display: flex;
    gap: 8px;
    justify-content: center;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.indicator-dot.active {
    background: #25D366;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.5);
}

.indicator-dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .floating-buttons {
        bottom: 15px;
        right: 15px;
        gap: 10px;
        width: 50px;
        height: 108px; /* Adjusted for smaller buttons */
    }
    
    .float-btn-set {
        width: 50px;
        height: 108px;
        gap: 8px;
    }
    
    .float-btn {
        width: 50px;
        height: 50px;
    }
    
    .float-btn i {
        font-size: 20px;
    }
    
    .float-text {
        font-size: 11px;
        padding: 4px 8px;
        right: 58px;
    }
}

/* Pulse Animation for Attention */
.float-btn-set.whatsapp-set .float-btn:first-child {
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.4), 0 0 20px rgba(37, 211, 102, 0.2);
    }
}

/* Success Modal Social Media Buttons */
#broadcastSuccessModal .btn-outline-primary {
    border-color: #1877F2;
    color: #1877F2;
    transition: all 0.3s ease;
}

#broadcastSuccessModal .btn-outline-primary:hover {
    background-color: #1877F2;
    border-color: #1877F2;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

#broadcastSuccessModal .btn-outline-danger {
    border-color: #E4405F;
    color: #E4405F;
    transition: all 0.3s ease;
}

#broadcastSuccessModal .btn-outline-danger:hover {
    background: linear-gradient(135deg, #E4405F 0%, #FF6B6B 100%);
    border-color: #E4405F;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(228, 64, 95, 0.3);
}

#broadcastSuccessModal .d-flex.gap-2 {
    flex-wrap: wrap;
}

@media (max-width: 576px) {
    #broadcastSuccessModal .d-flex.gap-2 {
        flex-direction: column;
    }
    
    #broadcastSuccessModal .btn-sm {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}
