/* 
 * Professional Green Theme Overrides 
 * Created for: Friendly & Professional Recovery Services
 */

:root {
    --theme-primary: #10b981;    /* Friendly Vibrant Green */
    --theme-primary-dark: #059669; /* Deep Emerald for hovers */
    --theme-dark: #0a3622;       /* Professional Dark Forest Green */
    --theme-dark-rgb: 10, 54, 34;
    --theme-light: #ecfdf5;      /* Soft Mint background */
    --theme-text-light: #d1fae5;
}

/* Global Background & Text Overrides */
.header-area:before {
    border-top-color: var(--theme-dark) !important;
}

/* Navbar & Navigation */
.main-nav nav .navbar-nav .nav-item a:hover,
.main-nav nav .navbar-nav .nav-item a:focus,
.main-nav nav .navbar-nav .nav-item a.active {
    color: var(--theme-primary) !important;
}

.main-nav nav .navbar-nav .nav-item .dropdown-menu {
    background: var(--theme-dark) !important;
    border-top: 3px solid var(--theme-primary) !important;
}

.main-nav nav .navbar-nav .nav-item .dropdown-menu li a:hover {
    color: var(--theme-primary) !important;
}

/* Buttons */
.common-btn {
    background-color: var(--theme-primary) !important;
    border-color: var(--theme-primary) !important;
    color: #fff !important;
}

.common-btn span {
    background-color: var(--theme-dark) !important;
}

.common-btn.two {
    background-color: var(--theme-dark) !important;
}

.common-btn.two span {
    background-color: var(--theme-primary) !important;
}

/* Hero Banner & Content */
.hero-banner {
    background: linear-gradient(rgba(var(--theme-dark-rgb), 0.9), rgba(var(--theme-dark-rgb), 0.95)) !important;
}

.hero-content h1 span {
    color: var(--theme-primary) !important;
}

.hero-content .badge {
    background: rgba(16, 185, 129, 0.15) !important;
    color: var(--theme-primary) !important;
    border: 1px solid var(--theme-primary) !important;
}

/* Stats Cards */
.hero-stats-card.gold {
    background: var(--theme-primary) !important;
    color: #fff !important;
}

.hero-stats-card h2 {
    color: var(--theme-dark) !important;
}

.hero-stats-card.gold h2 {
    color: #fff !important;
}

/* Section Title Accents */
.section-title .sub-title {
    color: var(--theme-primary) !important;
}

.section-title h2 span {
    color: var(--theme-primary) !important;
}

.section-title.three h2 span:before {
    background-color: var(--theme-primary) !important;
}

/* Advantage Items & Icons */
.advantage-item i {
    color: var(--theme-primary) !important;
}

/* Forensics Cards */
.forensic-card {
    background: var(--theme-dark) !important;
}

.forensic-card h3 {
    color: var(--theme-primary) !important;
}

/* Process Steps */
.process-step .step-number {
    background: var(--theme-primary) !important;
    color: #fff !important;
}

/* Track Record Area */
.track-record-area {
    background: var(--theme-dark) !important;
}

.track-record-area .sub-title {
    color: var(--theme-primary) !important;
}

.case-highlight-card .text-primary {
    color: var(--theme-primary) !important;
}

.case-status {
    background: var(--theme-light) !important;
    color: var(--theme-primary-dark) !important;
}

/* Footer Overrides */
.footer-area {
    background-color: #051c12 !important;
}

.footer-item h3:after {
    background-color: var(--theme-primary) !important;
}

.footer-link ul li i {
    color: var(--theme-primary) !important;
}

.copyright-area {
    background-color: #03120b !important;
}

/* Scroll Top */
.go-top {
    background-color: var(--theme-primary) !important;
}

/* Mobile Specifics */
@media only screen and (max-width: 991px) {
    .mobile-nav, .mean-container .mean-bar {
        background-color: var(--theme-dark) !important;
    }
    
    .mobile-consult-btn {
        background: var(--theme-primary) !important;
    }
}

/* Video Player Play Button */
.play-icon {
    background: var(--theme-primary) !important;
}

/* Services Page Elements */
.services-btn {
    color: var(--theme-primary) !important;
}

.services-btn:hover {
    color: var(--theme-primary-dark) !important;
}

.crypto-recovery-section .btn-success {
    background-color: var(--theme-primary) !important;
    border-color: var(--theme-primary) !important;
    color: #fff !important;
}

.crypto-recovery-section .btn-success:hover {
    background-color: var(--theme-primary-dark) !important;
    border-color: var(--theme-primary-dark) !important;
}

.crypto-box, .crypto-box-alt, .crypto-step {
    border-left: 4px solid var(--theme-primary) !important;
}

/* Badge Tweaks */
.badge {
    background-color: var(--theme-primary) !important;
    color: #fff !important;
}

.hero-content .badge {
    background: rgba(16, 185, 129, 0.15) !important;
    color: var(--theme-primary) !important;
    border: 1px solid var(--theme-primary) !important;
}

/* List Icons */
.about-list li i {
    color: var(--theme-primary) !important;
}

/* NEW PREMIUM PRELOADER */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--theme-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s;
}

.loader-content {
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader-spinner {
    width: 100px;
    height: 100px;
    border: 3px solid rgba(16, 185, 129, 0.1);
    border-top: 3px solid var(--theme-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: relative;
}

.loader-icon {
    position: absolute;
    top: 30px;
    font-size: 40px;
    color: var(--theme-primary);
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-text {
    margin-top: 25px;
    color: #fff;
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    letter-spacing: 4px;
    font-weight: 600;
    opacity: 0.8;
}

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

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

/* Hide loader when page is loaded */
.loader.fade-out {
    opacity: 0;
    visibility: hidden;
}
