/**
 * Brand Colors & Theme
 * Primary Red: #ed1f24
 * Primary Blue: #295b7e
 */

/* ========================================
   PRIMARY COLORS
======================================== */

:root {
    --brand-red: #ed1f24;
    --brand-red-dark: #c91a1f;
    --brand-red-light: #ff3339;
    --brand-blue: #295b7e;
    --brand-blue-dark: #1e4560;
    --brand-blue-light: #3a7ba8;
}

/* ========================================
   BUTTONS
======================================== */

.btn-brand-red,
.theme-btn,
.btn-primary {
    background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-dark) 100%) !important;
    border-color: var(--brand-red) !important;
    color: #fff !important;
    transition: all 0.3s ease;
}

.btn-brand-red:hover,
.theme-btn:hover,
.btn-primary:hover {
    background: linear-gradient(135deg, var(--brand-red-dark) 0%, var(--brand-red) 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(237, 31, 36, 0.4) !important;
}

.btn-brand-blue {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%) !important;
    border-color: var(--brand-blue) !important;
    color: #fff !important;
}

.btn-brand-blue:hover {
    background: linear-gradient(135deg, var(--brand-blue-dark) 0%, var(--brand-blue) 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(41, 91, 126, 0.4) !important;
}

/* ========================================
   LINKS
======================================== */

a {
    color: var(--brand-blue);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--brand-red);
}

/* ========================================
   HEADINGS
======================================== */

h1, h2, h3, h4, h5, h6 {
    color: var(--brand-blue-dark);
}

.section-title h6 {
    color: var(--brand-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title h2 {
    color: var(--brand-blue-dark);
}

/* ========================================
   ICONS
======================================== */

.service-icon i,
.feature-icon i {
    color: var(--brand-red);
    transition: all 0.3s ease;
}

.single-service-item:hover .service-icon i,
.feature-item:hover .feature-icon i {
    color: var(--brand-blue);
    transform: scale(1.1) rotate(5deg);
}

/* ========================================
   BADGES
======================================== */

.badge.bg-primary {
    background: var(--brand-red) !important;
}

.badge.bg-secondary {
    background: var(--brand-blue) !important;
}

/* ========================================
   BORDERS & ACCENTS
======================================== */

.border-primary {
    border-color: var(--brand-red) !important;
}

.border-secondary {
    border-color: var(--brand-blue) !important;
}

.text-primary {
    color: var(--brand-red) !important;
}

.text-secondary {
    color: var(--brand-blue) !important;
}

.bg-primary {
    background-color: var(--brand-red) !important;
}

.bg-secondary {
    background-color: var(--brand-blue) !important;
}

/* ========================================
   CARDS
======================================== */

.card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-header {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
    color: #fff;
    border: none;
}

/* ========================================
   SERVICE CARDS
======================================== */

.single-service-item {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.single-service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-red) 0%, var(--brand-blue) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.single-service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.single-service-item:hover::before {
    transform: scaleX(1);
}

.single-service-item .service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(237, 31, 36, 0.1) 0%, rgba(41, 91, 126, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.single-service-item:hover .service-icon {
    background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-blue) 100%);
    transform: scale(1.1) rotate(360deg);
}

.single-service-item:hover .service-icon i {
    color: #fff !important;
}

.single-service-item h4 a {
    color: var(--brand-blue-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.single-service-item:hover h4 a {
    color: var(--brand-red);
}

/* ========================================
   PRICING CARDS
======================================== */

.pricing-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border: 3px solid var(--brand-red);
    transform: scale(1.05);
}

.pricing-card .price {
    color: var(--brand-red);
    font-size: 48px;
    font-weight: 700;
}

/* ========================================
   FORMS
======================================== */

.form-control:focus {
    border-color: var(--brand-red);
    box-shadow: 0 0 0 0.2rem rgba(237, 31, 36, 0.15);
}

.form-check-input:checked {
    background-color: var(--brand-red);
    border-color: var(--brand-red);
}

/* ========================================
   NAVIGATION
======================================== */

.nav-link.active,
.nav-link:hover {
    color: var(--brand-red) !important;
}

.dropdown-item:hover {
    background-color: rgba(237, 31, 36, 0.1);
    color: var(--brand-red);
}

/* ========================================
   FOOTER
======================================== */

.footer-area {
    background: linear-gradient(135deg, var(--brand-blue-dark) 0%, #0d1f2d 100%);
    color: #fff;
}

.footer-area a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-area a:hover {
    color: var(--brand-red);
}

/* ========================================
   BREADCRUMB
======================================== */

.breadcrumb-area {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
}

.breadcrumb-item.active {
    color: var(--brand-red);
}

/* ========================================
   ANIMATIONS
======================================== */

@keyframes pulse-red {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(237, 31, 36, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(237, 31, 36, 0);
    }
}

@keyframes pulse-blue {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(41, 91, 126, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(41, 91, 126, 0);
    }
}

.pulse-red {
    animation: pulse-red 2s infinite;
}

.pulse-blue {
    animation: pulse-blue 2s infinite;
}

/* ========================================
   UTILITIES
======================================== */

.gradient-red {
    background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-dark) 100%);
}

.gradient-blue {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
}

.gradient-mixed {
    background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-blue) 100%);
}
