:root {
    --elite-green: #28a745;
    --elite-green-dark: #218838;
    --elite-green-light: #34ce57;
    --navy-blue: #1e3c72;
    --navy-dark: #162950;
    --navy-light: #2a5298;
}

.navbar {
    background-color: white !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    padding: 0.25rem 0;
}

.navbar-brand img {
    border-radius: 8px;
    object-fit: contain;
    transition: transform 0.2s ease;
    background: white;
    padding: 4px;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.texas-text {
    font-size: 1.35rem;
    font-weight: 300;
    color: #2c3e50 !important;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-family: 'Arial', sans-serif;
}

.tax-lady-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: #e91e63 !important;
    font-style: italic;
    letter-spacing: 1px;
    font-family: 'Georgia', serif;
    margin-top: -4px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.nav-link {
    color: var(--elite-green) !important;
}

.nav-link:hover {
    color: var(--elite-green-dark) !important;
}

/* Custom hamburger menu button */
.navbar-toggler {
    border: 2px solid var(--elite-green) !important;
    background-color: white !important;
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.25) !important;
}

/* Custom hamburger icon lines */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2328a745' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Enable smooth scrolling for the whole page */
html {
    scroll-behavior: smooth;
}

/* Custom styles to complement Bootstrap theme */
.hero-section {
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    background-color: white;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none; /* Allow clicks to pass through */
}

.hero-section .bg-dark {
    position: relative;
    z-index: 1; /* Ensure content stays above the overlay */
}

.card {
    transition: transform 0.3s ease;
    border-color: rgba(40, 167, 69, 0.1);
}

.card:hover {
    transform: translateY(-5px);
}

.features-section .fas {
    color: var(--bs-primary);
}

.testimonials-section {
    background-color: var(--bs-dark);
}

.contact-section {
    background-color: var(--bs-dark);
}

.footer {
    background-color: var(--bs-dark);
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 400px;
    }
    
    .navbar-brand img {
        height: 35px !important;
    }
    
    .texas-text {
        font-size: 0.9rem !important;
        letter-spacing: 2px;
    }
    
    .tax-lady-text {
        font-size: 1.1rem !important;
    }
}

.calculator-section {
    background-color: var(--bs-dark);
}

.calculator-section .card {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#estimatedCost {
    transition: color 0.3s ease;
}

#estimatedCost.highlight {
    color: var(--bs-warning);
}

.calculator-section input[type="number"] {
    text-align: right;
}

.calculator-section .form-label {
    font-weight: 500;
}

.calculator-section .card.bg-primary {
    transition: transform 0.3s ease;
}

.calculator-section .card.bg-primary:hover {
    transform: scale(1.02);
}


.tax-brackets-section {
    background-color: var(--bs-dark);
}

.tax-brackets-section .card {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tax-brackets-section canvas {
    min-height: 300px;
}

#effective_rate {
    transition: color 0.3s ease;
}

.tax-brackets-section .card.bg-primary {
    transition: transform 0.3s ease;
}

.tax-brackets-section .card.bg-primary:hover {
    transform: scale(1.02);
}

.btn-primary {
    background-color: var(--elite-green) !important;
    border-color: var(--elite-green) !important;
}

.btn-primary:hover {
    background-color: var(--elite-green-dark) !important;
    border-color: var(--elite-green-dark) !important;
}

.text-primary {
    color: var(--elite-green) !important;
}

.bg-primary {
    background-color: var(--elite-green) !important;
}
/* Achievement System Styles */
.achievement-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
    border-color: var(--elite-green);
}

.achievement-earned {
    animation: achievementEarned 0.5s ease-out;
}

.achievement-icon {
    transition: transform 0.3s ease;
}

.achievement-icon.bounce {
    animation: iconBounce 0.5s ease infinite;
}

.points-updated {
    animation: pointsUpdate 0.5s ease;
}

@keyframes achievementEarned {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Admin Dashboard Styles */
.admin-action-card {
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    cursor: pointer;
}

.admin-action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
    border-color: #d0d0d0;
}

.admin-action-card .card-title {
    color: #333;
    font-weight: 600;
}

.admin-action-card:hover .fa-phone-alt {
    animation: ring 0.5s ease;
}

.admin-action-card:hover .fa-graduation-cap {
    animation: wiggle 0.5s ease;
}

.admin-action-card:hover .fa-user-plus {
    animation: pulse 0.5s ease;
}

.admin-action-card:hover .fa-file-alt {
    animation: flip 0.5s ease;
}

@keyframes ring {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
    60% { transform: rotate(0deg); }
}

@keyframes wiggle {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    50% { transform: rotate(-5deg); }
    75% { transform: rotate(3deg); }
    100% { transform: rotate(0deg); }
}

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

@keyframes flip {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

/* Admin stats cards styling */
.admin-dashboard-stats .border {
    transition: all 0.3s ease;
}

.admin-dashboard-stats .border:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes pointsUpdate {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
        color: var(--elite-green);
    }
    100% {
        transform: scale(1);
    }
}

.achievement-details {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.achievement-card:hover .achievement-details {
    opacity: 1;
    transform: translateY(0);
}

.reward-text {
    color: var(--elite-green);
    font-size: 0.85rem;
}

/* Countdown Timer Styles */
.countdown-container {
    padding: 1.5rem;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.03);
}

.countdown-item {
    padding: 1rem;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
}

.countdown-item .display-4 {
    font-weight: 600;
    color: var(--elite-green);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: pulse 1s infinite;
}

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

.countdown-item small {
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#refundProgress {
    background-color: var(--elite-green);
    transition: width 0.5s ease-in-out;
}
/* Lead Capture Form Styling */
.hero-section {
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--navy-light) 100%);
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
}

.process-step {
    padding: 20px;
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number {
    font-weight: bold;
}

.credential-badge {
    padding: 20px;
    transition: all 0.3s ease;
}

.credential-badge:hover {
    transform: scale(1.05);
}

.modal-header.bg-primary {
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--navy-light) 100%) !important;
}

.btn-success {
    background-color: var(--elite-green);
    border-color: var(--elite-green);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-success:hover {
    background-color: var(--elite-green-dark);
    border-color: var(--elite-green-dark);
    transform: scale(1.05);
}

.bg-purple {
    background-color: #6f42c1 !important;
}

/* Trust Section Styling */
.fa-star.text-warning {
    color: #ffc107 !important;
}

/* Footer Styling */
footer {
    background-color: #212529 !important;
    color: #ffffff;
}

footer a {
    color: #ffffff;
    text-decoration: none;
}

footer a:hover {
    color: var(--elite-green);
}

/* Lead Management Admin Styling */
.consultation-leads-table {
    font-size: 14px;
}

.consultation-leads-table td {
    vertical-align: middle;
}

/* Confirmation Page Styling */
.alert-success {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    color: white;
    border: none;
}

.card-header.bg-info {
    background: linear-gradient(135deg, #17a2b8 0%, #20c3d8 100%) !important;
}

/* Mobile Responsiveness */
@media (max-width: 576px) {
    .btn-lg {
        font-size: 1rem;
        padding: 10px 20px;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
}

/* Professional Credentials Badges */
.professional-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
}

.badge-credential {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid #ffd700;
    border-radius: 25px;
    color: #ffd700;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.badge-credential:before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700);
    border-radius: 25px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.badge-credential:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    background: linear-gradient(135deg, #16213e 0%, #0f1419 100%);
}

.badge-credential:hover:before {
    opacity: 0.3;
}

.badge-credential i {
    font-size: 16px;
    color: #ffd700;
}

.badge-text {
    font-size: 12px;
    font-weight: 700;
}

.ptin-badge {
    border-color: #ffd700;
}

.efin-badge {
    border-color: #ffd700;
}

/* Mobile adjustments for badges */
@media (max-width: 576px) {
    .professional-badges {
        flex-direction: column;
        gap: 10px;
    }
    
    .badge-credential {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .badge-text {
        font-size: 11px;
    }
}
