/* ==========================================================================
   Custom CSS Base & Light Theme (Orange - Bizfly Inspired)
   ========================================================================== */

:root {
    --color-orange: #f37021; /* Primary orange */
    --color-orange-hover: #d25a17;
    --color-gray-soft: #f8f9fa;
    --color-text-main: #333333;
    --color-text-light: #666666;
}

body {
    background-color: #ffffff;
    color: var(--color-text-main);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}
a {
    color: #000;
    text-decoration: none;
}
/* Custom Primary Overrides for Orange */
.text-primary {
    color: var(--color-orange) !important;
}

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

.btn-primary {
    background-color: var(--color-orange);
    border-color: var(--color-orange);
    color: white;
    font-weight: 600;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: var(--color-orange-hover) !important;
    border-color: var(--color-orange-hover) !important;
    color: white !important;
}

.btn-outline-primary {
    color: var(--color-orange);
    border-color: var(--color-orange);
}

.btn-outline-primary:hover {
    background-color: var(--color-orange);
    color: white;
}

/* Navbar */
.navbar-custom {
    background-color: #ffffff !important;
    border-bottom: 2px solid #e76f0c;
}
.navbar-custom .navbar-brand {
    color: #333;
}
.navbar-custom .nav-link {
    color: #444;
    font-weight: 500;
}
.navbar-custom .nav-link:hover {
    color: var(--color-orange);
}

/* Hero Section */
.hero-section {
    background-color: var(--color-gray-soft);
    position: relative;
    overflow: hidden;
}

/* Hero abstract background shapes */
.hero-bg-shape {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: rgba(243, 112, 33, 0.05); /* very light orange */
    border-radius: 50%;
    z-index: 0;
}

/* Service Cards */
.service-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.service-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    transform: translateY(-5px);
    border-color: rgba(243, 112, 33, 0.2);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(243, 112, 33, 0.1);
    color: var(--color-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 28px;
}

/* Typography elements */
.fw-bold {
    font-weight: 700 !important;
}
.fw-bolder {font-weight: 800 !important;}

/* News Cards Override */
.news-card {
    border-radius: 10px;
    border: 1px solid #eaeaea;
    transition: transform 0.3s ease;
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
/* ==========================================================================
   CSS3 Animations & Effects
   ========================================================================== */

/* Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(243, 112, 33, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(243, 112, 33, 0); }
    100% { box-shadow: 0 0 0 0 rgba(243, 112, 33, 0); }
}

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-slide-in-right {
    animation: slideInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-100 { animation-delay: 0.1s; opacity: 0; }
.delay-200 { animation-delay: 0.2s; opacity: 0; }
.delay-300 { animation-delay: 0.3s; opacity: 0; }

/* Enhanced Hover Effects */
.border-left-primary {
    border-left: 4px solid var(--color-orange) !important;
}

.widget-link {
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 6px;
}
.widget-link:hover {
    background-color: var(--color-gray-soft);
    color: var(--color-orange) !important;
    transform: translateX(5px);
}

.widget-news-item {
    position: relative;
    border: 1px solid transparent;
}
.widget-news-item:hover {
    background-color: var(--color-gray-soft);
    border-color: #eaeaea;
}
.widget-news-item a {
    transition: color 0.2s;
}
.widget-news-item:hover a {
    color: var(--color-orange) !important;
}

.transition-all {
    transition: all 0.3s ease;
}

.hover-slide-right:hover i {
    transform: translateX(-5px);
    transition: transform 0.3s ease;
}
.hover-slide-right i {
    transition: transform 0.3s ease;
}

/* Button pulse for primary actions */
.btn-primary.pulse-btn {
    animation: pulseGlow 2s infinite;
}
.catlink {
    --bs-bg-opacity: 1;
    background-color: rgb(165 185 195) !important;
    color: #FFF;
}

.text-secondary {
    --bs-text-opacity: 1;
    color: #fff !important;
}
.text-muted {
    --bs-text-opacity: 1;
    color: #000000 !important;
}
.form-control {
    border: 1px solid #edcdb2 !important;
}
.text-content .h2, .text-content h2 {
        font-size: 20px;
        font-weight: bold;
        line-height: 24px;
        margin-bottom: 15px;
    }
.text-content .h3, .text-content h3 {
    font-size: 18px;
}
.text-content {
    font-size: 16px;
}
.paging {
    display: inline-block;
    margin: 0px auto;
    width: auto;
    height: 35px;
}
.paging strong {
    background: none repeat scroll 0 0 #169c79;
    color: #FFF;
    display: block;
    float: left;
    margin: 0px 2px;
    padding: 2px;
    text-align: center;
    width: 32px;
}
.paging a {
    color: #000;
    border: 1px solid #999;
    background: none repeat scroll 0 0 #999;
    display: block;
    float: left;
    margin: 0px 2px;
    padding: 1px;
    text-align: center;
    width: 30px;
}
.paging a:hover {
    color: #000;
    border:1px solid #169c79;
    background: none repeat scroll 0 0 #169c79;
    display: block;
    float: left;
    margin: 0px 2px;
    text-align: center;
}
.paging a span.next {
    background: url("../images/nex.png") no-repeat scroll 4px 5px rgba(0, 0, 0, 0);
    display: block;
    height: 20px;
    width: 20px;
}
.paging a:hover span.next {
    background: url("../images/next.png") no-repeat scroll 4px 5px #169c79;
    display: block;
    height: 20px;
    width: 20px;
}
.paging a span.prev {
    background: url("../images/pre.png") no-repeat scroll 4px 5px rgba(0, 0, 0, 0);
    display: block;
    height: 20px;
    width: 20px;
}
.paging a:hover span.prev {
    background: url("../images/prev.png") no-repeat scroll 4px 5px #169c79;
    display: block;
    height: 20px;
    width: 20px;
}
@media (min-width: 1200px) {
    .display-5 {
        font-size: 26px;
    }
    .display-4 {
        font-size: 38px;
    }
}
