/* Jat Army Website - Colorful Custom Styles */

/* Hindi Font Support */
* {
    font-family: 'Noto Sans Devanagari', sans-serif;
}

:root {
    --primary-color: #ff6b35;
    --secondary-color: #f7931e;
    --accent-color: #4ecdc4;
    --success-color: #06d6a0;
    --warning-color: #ffd166;
    --danger-color: #ef476f;
    --info-color: #118ab2;
    --purple-color: #8338ec;
    --pink-color: #ff006e;
    --dark-color: #073b4c;
}

body {
    padding-top: 76px;
    direction: ltr;
    text-align: left;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* Hero Section - Vibrant Gradient */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 25%, #4ecdc4 50%, #118ab2 75%, #8338ec 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 40px 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/bg-banner.jfif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
    z-index: 0;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

/* Colorful Navbar */
.navbar {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #4ecdc4 100%) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.nav-link {
    transition: all 0.3s ease;
    border-radius: 5px;
    margin: 0 2px;
}

.nav-link:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.nav-link.active {
    background: rgba(255,255,255,0.3);
    font-weight: bold;
}

/* Colorful Cards */
.card {
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.hover-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255,107,53,0.3);
    border-color: var(--primary-color);
}

/* Colorful Section Headers */
section h2 {
    background: linear-gradient(135deg, #ff6b35, #f7931e, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    margin-bottom: 2rem;
}

/* Notifications Panel - Colorful */
.notifications-panel {
    background: linear-gradient(135deg, #ffd166 0%, #f7931e 100%) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.notification-text {
    color: #000;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Forms - Colorful Focus */
.form-control:focus {
    border-color: #ff6b35;
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

.form-select:focus {
    border-color: #ff6b35;
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

/* Colorful Buttons */
.btn-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e55a2b 0%, #e0821a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

.btn-success {
    background: linear-gradient(135deg, #06d6a0 0%, #4ecdc4 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(6, 214, 160, 0.4);
}

.btn-success:hover {
    background: linear-gradient(135deg, #05c490 0%, #3eb8b0 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 214, 160, 0.6);
}

.btn-info {
    background: linear-gradient(135deg, #118ab2 0%, #4ecdc4 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(17, 138, 178, 0.4);
}

.btn-info:hover {
    background: linear-gradient(135deg, #0f7a9e 0%, #3eb8b0 100%);
    transform: translateY(-2px);
}

.btn-warning {
    background: linear-gradient(135deg, #ffd166 0%, #f7931e 100%);
    border: none;
    color: #000;
}

.btn-danger {
    background: linear-gradient(135deg, #ef476f 0%, #ff006e 100%);
    border: none;
}

/* Timeline - Colorful */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border: 4px solid #fff;
    box-shadow: 0 0 0 4px #ff6b35, 0 0 20px rgba(255,107,53,0.5);
    animation: pulse 2s infinite;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 11px;
    top: 25px;
    width: 3px;
    height: calc(100% + 10px);
    background: linear-gradient(180deg, #ff6b35, #4ecdc4, #118ab2);
}

.timeline-item:last-child::after {
    display: none;
}

.timeline-item .card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-left: 4px solid #ff6b35;
}

/* Gallery - Colorful */
.gallery-item {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 15px;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    border-color: #ff6b35;
    box-shadow: 0 10px 30px rgba(255,107,53,0.4);
}

.gallery-item img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-item:hover img {
    transform: scale(1.15) rotate(2deg);
}

/* Donation Section - Vibrant */
.donation-box {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 25%, #4ecdc4 50%, #118ab2 75%, #8338ec 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: white;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    border: 3px solid rgba(255,255,255,0.3);
}

.upi-button {
    background: white;
    color: #ff6b35;
    border: none;
    padding: 18px 40px;
    font-size: 1.3rem;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.upi-button:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.4);
    background: linear-gradient(135deg, #fff, #f8f9fa);
}

/* Page Headers - Colorful */
.bg-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #4ecdc4 100%) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* Stats Section - Colorful */
.bg-primary.text-white {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 25%, #4ecdc4 50%, #118ab2 75%, #8338ec 100%) !important;
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
}

.bg-primary.text-white i {
    color: #ffd166;
    text-shadow: 0 0 10px rgba(255,209,102,0.5);
}

/* Footer - Colorful */
footer {
    background: linear-gradient(135deg, #073b4c 0%, #118ab2 100%) !important;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

footer h5 {
    color: #ffd166;
    font-weight: bold;
}

footer a {
    text-decoration: none;
    transition: all 0.3s ease;
    color: rgba(255,255,255,0.7);
}

footer a:hover {
    color: #ffd166 !important;
    transform: translateX(5px);
}

.social-links a {
    transition: all 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    transform: scale(1.3) rotate(10deg);
    color: #ffd166 !important;
}

/* Admin Panel - Colorful */
.admin-sidebar {
    min-height: calc(100vh - 76px);
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
    border-right: 3px solid #ff6b35;
}

.admin-content {
    min-height: calc(100vh - 76px);
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.admin-sidebar .nav-link {
    border-radius: 10px;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.admin-sidebar .nav-link:hover {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white !important;
    transform: translateX(5px);
}

.admin-sidebar .nav-link.active {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white !important;
}

/* Cards with Colorful Borders */
.card.shadow-sm {
    border-top: 4px solid;
    border-image: linear-gradient(135deg, #ff6b35, #f7931e, #4ecdc4) 1;
}

/* Progress Bars - Colorful */
.progress {
    height: 25px;
    border-radius: 15px;
    overflow: hidden;
    background: #e9ecef;
}

.progress-bar {
    background: linear-gradient(135deg, #ff6b35, #f7931e, #4ecdc4, #118ab2);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Alerts - Colorful */
.alert {
    border-radius: 15px;
    border-left: 5px solid;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.alert-success {
    border-left-color: #06d6a0;
    background: linear-gradient(135deg, rgba(6,214,160,0.1), rgba(78,205,196,0.1));
}

.alert-danger {
    border-left-color: #ef476f;
    background: linear-gradient(135deg, rgba(239,71,111,0.1), rgba(255,0,110,0.1));
}

.alert-warning {
    border-left-color: #ffd166;
    background: linear-gradient(135deg, rgba(255,209,102,0.1), rgba(247,147,30,0.1));
}

.alert-info {
    border-left-color: #118ab2;
    background: linear-gradient(135deg, rgba(17,138,178,0.1), rgba(78,205,196,0.1));
}

/* Badges - Colorful */
.badge {
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
}

.bg-primary {
    background: linear-gradient(135deg, #ff6b35, #f7931e) !important;
}

.bg-success {
    background: linear-gradient(135deg, #06d6a0, #4ecdc4) !important;
}

.bg-warning {
    background: linear-gradient(135deg, #ffd166, #f7931e) !important;
    color: #000;
}

.bg-info {
    background: linear-gradient(135deg, #118ab2, #4ecdc4) !important;
}

.bg-danger {
    background: linear-gradient(135deg, #ef476f, #ff006e) !important;
}

/* Icons - Colorful */
i.bi {
    transition: all 0.3s ease;
}

.card:hover i.bi {
    transform: scale(1.2) rotate(5deg);
    color: #ff6b35;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        direction: ltr;
        text-align: left;
    }
    
    .hero-section {
        min-height: 50vh !important;
        padding: 30px 0 !important;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .timeline-item {
        padding-left: 30px;
    }
    
    .donation-box {
        padding: 30px 20px;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    section {
        padding: 2rem 0 !important;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .card-img-top {
        height: 200px !important;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .display-4 {
        font-size: 1.75rem;
    }
    
    .card-body {
        padding: 0.75rem;
    }
    
    .btn-lg {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .fs-1 {
        font-size: 2rem !important;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

/* Loading Spinner - Colorful */
.spinner-border {
    width: 3rem;
    height: 3rem;
    border: 0.25em solid rgba(255,107,53,0.3);
    border-right-color: #ff6b35;
    animation: spinner-border 0.75s linear infinite;
}

/* Background Sections - Colorful */
.bg-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
}

/* Table - Colorful */
.table {
    border-radius: 10px;
    overflow: hidden;
}

.table thead {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
}

.table tbody tr:hover {
    background: linear-gradient(135deg, rgba(255,107,53,0.1), rgba(247,147,30,0.1));
    transform: scale(1.01);
    transition: all 0.3s ease;
}

/* Print Styles */
@media print {
    .navbar, .notifications-panel, footer {
        display: none;
    }
}

/* Additional Colorful Elements */
.text-primary {
    color: #ff6b35 !important;
}

.text-success {
    color: #06d6a0 !important;
}

.text-info {
    color: #118ab2 !important;
}

.text-warning {
    color: #ffd166 !important;
}

.text-danger {
    color: #ef476f !important;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: #ff6b35;
    color: white;
}

::-moz-selection {
    background: #ff6b35;
    color: white;
}
