/********** AFROMART - Lively Interactive Theme **********/

/* ===== Variables ===== */
:root {
    --primary: #194926;
    --primary-light: #1e5a2f;
    --primary-dark: #0f3019;
    --secondary: #e27426;
    --secondary-light: #f0933e;
    --secondary-dark: #c45f15;
    --black: #000000;
    --white: #FFFFFF;
    --light: #F4F6F5;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a5a;
    --text-muted: #6B7280;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 35px rgba(0,0,0,0.1);
    --shadow-xl: 0 25px 50px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --font-heading: 'Jost', sans-serif;
    --font-body: 'Heebo', sans-serif;
}

/* ===== Keyframe Animations ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}
@keyframes floatSlow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(2deg); }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(226,116,38,0.4); }
    50% { box-shadow: 0 0 20px 8px rgba(226,116,38,0); }
}
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-6px); }
    50% { transform: translateY(0); }
    75% { transform: translateY(-3px); }
}
@keyframes morphBlob {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    25% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    50% { border-radius: 50% 50% 40% 60% / 40% 50% 60% 50%; }
    75% { border-radius: 40% 60% 50% 50% / 60% 40% 50% 60%; }
}
@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(3deg); }
    75% { transform: rotate(-3deg); }
}

/* ===== Global ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    background-color: var(--white) !important;
    color: var(--text-primary) !important;
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
}
::selection { background: var(--secondary); color: var(--white); }

/* ===== Bootstrap Overrides ===== */
.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-white { color: var(--white) !important; }

/* ===== Typography ===== */
h1, h2, .fw-bold {
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
}
h3, h4, .fw-semi-bold {
    font-family: var(--font-heading) !important;
    font-weight: 600 !important;
    color: var(--text-primary);
    line-height: 1.3;
}
h5, h6, .fw-medium {
    font-family: var(--font-heading) !important;
    font-weight: 500 !important;
    color: var(--text-primary);
    line-height: 1.4;
}
p { color: var(--text-secondary); line-height: 1.7; font-size: 1rem; }
a { transition: all 0.3s cubic-bezier(0.4,0,0.2,1); }

/* --- White text on dark backgrounds --- */
.bg-primary h1, .bg-primary h2, .bg-primary h3,
.bg-primary h4, .bg-primary h5, .bg-primary h6,
.bg-primary p, .bg-primary li, .bg-primary span,
.bg-primary a:not(.btn):not(.dropdown-item),
.fact h1, .fact h2, .fact h3, .fact h4, .fact h5, .fact h6,
.fact p, .fact li, .fact span,
.hero-header h1, .hero-header h2, .hero-header h3,
.hero-header h4, .hero-header h5, .hero-header h6,
.hero-header p, .hero-header li, .hero-header span,
.hero-header a:not(.btn),
.text-white,
h1.text-white, h2.text-white, h3.text-white,
h4.text-white, h5.text-white, h6.text-white,
p.text-white { color: var(--white) !important; }

.bg-primary p, .fact p, .hero-header p { color: rgba(255,255,255,0.9) !important; }
.fact i.text-secondary { color: var(--secondary) !important; }

/* ===== Buttons - Bouncy + Ripple ===== */
.btn {
    font-family: var(--font-heading);
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%,-50%);
    transition: width 0.5s, height 0.5s;
}
.btn:active::after { width: 300px; height: 300px; }
.btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: var(--shadow-lg); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn-primary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light)) !important;
    border: none !important;
    color: var(--white) !important;
    padding: 0.65rem 1.8rem;
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary)) !important;
    box-shadow: 0 8px 30px rgba(226,116,38,0.4) !important;
}
.btn-secondary {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--white) !important;
}
.btn-secondary:hover {
    background: var(--primary-light) !important;
    box-shadow: 0 8px 30px rgba(25,73,38,0.35) !important;
}
.btn-light {
    background: var(--white) !important;
    border: 2px solid var(--secondary) !important;
    color: var(--secondary) !important;
    font-weight: 600;
}
.btn-light:hover {
    background: var(--secondary) !important;
    border-color: var(--secondary) !important;
    color: var(--white) !important;
}
.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.25) !important;
    color: var(--white) !important;
}
.btn-outline-light:hover {
    background: var(--secondary) !important;
    border-color: var(--secondary) !important;
    color: var(--white) !important;
}
.btn-outline-primary {
    border: 2px solid var(--primary) !important;
    color: var(--primary) !important;
    background: transparent !important;
}
.btn-outline-primary:hover {
    background: var(--primary) !important;
    color: var(--white) !important;
}
.rounded-pill { border-radius: var(--radius-full) !important; }
.btn-square, .btn-sm-square, .btn-lg-square {
    padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-full);
}
.btn-square { width: 38px; height: 38px; }
.btn-sm-square { width: 32px; height: 32px; }
.btn-lg-square { width: 48px; height: 48px; }

/* ===== Spinner ===== */
#spinner { opacity: 0; visibility: hidden; transition: opacity .5s ease-out, visibility 0s linear .5s; z-index: 99999; background: var(--white); }
#spinner.show { transition: opacity .5s ease-out, visibility 0s linear 0s; visibility: visible; opacity: 1; }
#spinner .spinner-grow { background-color: var(--secondary) !important; }

/* ===== Back to Top - Floating ===== */
.back-to-top {
    position: fixed; display: none; right: 30px; bottom: 30px; z-index: 99;
    background: var(--secondary) !important; border: none !important;
    width: 50px; height: 50px; border-radius: var(--radius-full);
    box-shadow: 0 4px 20px rgba(226,116,38,0.4);
    animation: float 3s ease-in-out infinite;
}
.back-to-top:hover {
    background: var(--primary) !important;
    transform: translateY(-6px) scale(1.1);
    animation: none;
}

/* ===== Navbar ===== */
.navbar { transition: all 0.5s cubic-bezier(0.4,0,0.2,1); z-index: 999; }
.navbar .dropdown-toggle::after {
    border: none; content: "\f107"; font-family: "Font Awesome 5 Free";
    font-size: 10px; font-weight: bold; vertical-align: middle; margin-left: 6px;
    transition: transform 0.3s ease;
}
.navbar .dropdown-toggle[aria-expanded="true"]::after { transform: rotate(180deg); }

.navbar-light .navbar-nav .nav-link {
    position: relative; margin-right: 25px; padding: 35px 0;
    font-family: var(--font-heading); font-size: 16px; font-weight: 500;
    color: var(--white) !important; transition: all 0.3s ease;
}
.navbar-light .navbar-nav .nav-link::before {
    content: ''; position: absolute; bottom: 28px; left: 50%;
    width: 6px; height: 6px; background: var(--secondary); border-radius: 50%;
    transform: translateX(-50%) scale(0);
    transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.navbar-light .navbar-nav .nav-link::after {
    content: ''; position: absolute; bottom: 30px; left: 0;
    width: 0; height: 2px; background: var(--secondary);
    transition: width 0.4s cubic-bezier(0.4,0,0.2,1); border-radius: 2px;
}
.navbar-light .navbar-nav .nav-link:hover::after,
.navbar-light .navbar-nav .nav-link.active::after { width: 100%; }
.navbar-light .navbar-nav .nav-link:hover::before,
.navbar-light .navbar-nav .nav-link.active::before { transform: translateX(-50%) scale(1); bottom: 22px; }
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active { color: var(--secondary) !important; }

.navbar-brand .logo-img, .navbar-light .navbar-brand img {
    max-height: 80px; width: auto; transition: all 0.4s ease;
}
.navbar-light .navbar-brand img:hover { transform: scale(1.05); }
.navbar-light .btn { color: var(--white); background: var(--secondary); border: none; font-weight: 600; padding: 0.5rem 1.5rem; }

/* Sticky */
.sticky-top.navbar-light {
    background: rgba(255,255,255,0.97) !important; backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.08); border-bottom: 2px solid var(--secondary);
}
.sticky-top.navbar-light .navbar-nav .nav-link { padding: 20px 0; color: var(--text-primary) !important; font-size: 15px; }
.sticky-top.navbar-light .navbar-nav .nav-link::after { bottom: 15px; }
.sticky-top.navbar-light .navbar-nav .nav-link::before { bottom: 10px; }
.sticky-top.navbar-light .navbar-nav .nav-link:hover,
.sticky-top.navbar-light .navbar-nav .nav-link.active { color: var(--secondary) !important; }
.sticky-top.navbar-light .navbar-brand h1 { color: var(--primary); }
.sticky-top.navbar-light .navbar-brand img { max-height: 55px; }
.sticky-top.navbar-light .btn { color: var(--white); background: var(--secondary); }

/* Dropdown */
.dropdown-menu {
    border: none; box-shadow: var(--shadow-xl); border-radius: var(--radius-md);
    padding: 0.5rem; margin-top: 0.5rem;
    animation: scaleIn 0.3s cubic-bezier(0.34,1.56,0.64,1); transform-origin: top center;
}
.dropdown-item { border-radius: var(--radius-sm); padding: 0.65rem 1rem; font-weight: 500; color: var(--text-primary); transition: all 0.25s ease; }
.dropdown-item:hover { background: linear-gradient(135deg, rgba(226,116,38,0.08), rgba(25,73,38,0.05)); color: var(--secondary); padding-left: 1.3rem; }

/* Mobile */
@media (max-width: 991.98px) {
    .sticky-top.navbar-light { position: relative; background: var(--primary) !important; border-bottom: none; box-shadow: none; backdrop-filter: none; }
    .navbar-light .navbar-collapse { margin-top: 15px; border-top: 1px solid rgba(255,255,255,0.12); max-height: 70vh; overflow-y: auto; }
    .navbar-light .navbar-nav .nav-link, .sticky-top.navbar-light .navbar-nav .nav-link { padding: 12px 0; margin-left: 0; color: var(--white) !important; }
    .navbar-light .navbar-nav .nav-link::after, .navbar-light .navbar-nav .nav-link::before,
    .sticky-top.navbar-light .navbar-nav .nav-link::after, .sticky-top.navbar-light .navbar-nav .nav-link::before { display: none; }
    .navbar-light .navbar-brand h1, .sticky-top.navbar-light .navbar-brand h1 { color: var(--white); }
    .navbar-light .navbar-brand img, .sticky-top.navbar-light .navbar-brand img { max-height: 50px; }
    .navbar-toggler { border: 2px solid rgba(255,255,255,0.25); color: var(--white); padding: 0.4rem 0.8rem; border-radius: var(--radius-sm); }
    .navbar-toggler:hover { background: rgba(255,255,255,0.1); border-color: var(--secondary); }
    .navbar-toggler .fa-bars { color: var(--white); }
    .dropdown-menu { background: rgba(255,255,255,0.06); box-shadow: none; }
    .dropdown-item { color: var(--white); }
    .dropdown-item:hover { background: rgba(255,255,255,0.1); color: var(--secondary); }
}
@media (min-width: 992px) {
    .navbar-light { position: absolute; width: 100%; top: 0; left: 0; z-index: 999; }
    .sticky-top.navbar-light { position: fixed; }
    .sticky-top.navbar-light .navbar-nav .nav-link { visibility: visible !important; display: block !important; }
}

/* ===== Hero Header - Animated Gradient + Morphing Blobs ===== */
.hero-header {
    margin-bottom: 0; padding: 14rem 0 8rem;
    background: linear-gradient(-45deg, var(--primary), var(--primary-dark), #0a2310, var(--primary-light));
    background-size: 400% 400%;
    animation: gradientShift 12s ease infinite;
    position: relative; overflow: hidden;
}
.hero-header::before {
    content: ''; position: absolute; top: 10%; right: -5%;
    width: 400px; height: 400px; background: rgba(226,116,38,0.08);
    animation: morphBlob 8s ease-in-out infinite, float 6s ease-in-out infinite;
    pointer-events: none;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}
.hero-header::after {
    content: ''; position: absolute; bottom: -10%; left: -5%;
    width: 300px; height: 300px; background: rgba(255,255,255,0.03);
    animation: morphBlob 10s ease-in-out infinite reverse, floatSlow 8s ease-in-out infinite;
    pointer-events: none;
    border-radius: 40% 60% 50% 50% / 50% 40% 60% 50%;
}
.hero-header h1 { color: var(--white) !important; font-size: 3.2rem; font-weight: 700 !important; position: relative; z-index: 2; animation: slideUp 0.8s ease-out; }
.hero-header .breadcrumb { position: relative; z-index: 2; animation: slideUp 1s ease-out; }
.hero-header .breadcrumb-item a { color: rgba(255,255,255,0.8); text-decoration: none; }
.hero-header .breadcrumb-item a:hover { color: var(--secondary); }
.hero-header .breadcrumb-item.active { color: var(--secondary) !important; }
.hero-header hr { border-color: var(--secondary); opacity: 0.5; animation: slideUp 0.9s ease-out; }
@media (max-width: 991.98px) {
    .hero-header { padding: 8rem 0 5rem; }
    .hero-header h1 { font-size: 2.2rem; }
    .hero-header::before { width: 200px; height: 200px; }
    .hero-header::after { width: 150px; height: 150px; }
}

/* ===== Section Title ===== */
.section-title {
    position: relative; display: flex; align-items: center;
    font-weight: 600 !important; text-transform: uppercase;
    font-size: 0.85rem; letter-spacing: 0.12em; font-family: var(--font-heading);
}
.section-title span:first-child, .section-title span:last-child {
    position: relative; display: inline-block; margin-right: 20px; width: 40px; height: 2px; border-radius: 2px;
}
.section-title span:last-child { margin-right: 0; margin-left: 20px; }
.section-title span:first-child::after, .section-title span:last-child::after {
    position: absolute; content: ""; width: 10px; height: 2px; top: 0; right: -15px; border-radius: 2px;
}
.section-title span:last-child::after { right: auto; left: -15px; }
.section-title.text-primary span:first-child, .section-title.text-primary span:last-child,
.section-title.text-primary span:first-child::after, .section-title.text-primary span:last-child::after { background: var(--primary); }
.section-title.text-secondary span:first-child, .section-title.text-secondary span:last-child,
.section-title.text-secondary span:first-child::after, .section-title.text-secondary span:last-child::after { background: var(--secondary); }
.section-title.text-white span:first-child, .section-title.text-white span:last-child,
.section-title.text-white span:first-child::after, .section-title.text-white span:last-child::after { background: var(--white); }

/* ===== Feature Items - Bouncy + Shimmer ===== */
.feature-item {
    background: var(--white) !important; border: 1px solid var(--gray-200);
    padding: 2.5rem 2rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
    transition: all 0.45s cubic-bezier(0.34,1.56,0.64,1);
    position: relative; overflow: hidden;
}
.feature-item::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--primary), var(--secondary));
    background-size: 200% 100%;
    transform: scaleX(0); transition: transform 0.5s ease; transform-origin: left;
}
.feature-item:hover { transform: translateY(-12px) scale(1.02); box-shadow: var(--shadow-xl); border-color: transparent; }
.feature-item:hover::before { transform: scaleX(1); animation: shimmer 2s linear infinite; }
.feature-item i { color: var(--secondary) !important; transition: all 0.5s cubic-bezier(0.34,1.56,0.64,1); display: inline-block; }
.feature-item:hover i { transform: scale(1.2) rotate(-5deg); color: var(--primary) !important; animation: iconBounce 0.6s ease; }
.feature-item h5, .feature-item h4, .feature-item h3 { color: var(--text-primary); }
.feature-item p { color: var(--text-secondary); }

/* ===== Progress ===== */
.progress { height: 6px; border-radius: var(--radius-full); background: var(--gray-100); }
.progress .progress-bar { width: 0; transition: width 3s; background: linear-gradient(90deg, var(--primary), var(--secondary)); border-radius: var(--radius-full); }

/* ===== Fact / Stats - Living Background ===== */
.fact {
    margin: 0; padding: 5rem 0;
    background: linear-gradient(-45deg, var(--primary), var(--primary-dark), #0d3219, var(--primary-light));
    background-size: 300% 300%; animation: gradientShift 10s ease infinite;
    position: relative; overflow: hidden;
}
.fact::before {
    content: ''; position: absolute; top: -20%; right: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(226,116,38,0.1) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite; pointer-events: none;
}
.fact::after {
    content: ''; position: absolute; bottom: -20%; left: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    animation: floatSlow 10s ease-in-out infinite; pointer-events: none;
}
.fact .col-md-6, .fact .col-lg-3 { position: relative; z-index: 2; }
.fact h3, .fact h1, .fact h2, .fact h4 { color: var(--white) !important; }
.fact p { color: rgba(255,255,255,0.9) !important; }

/* ===== Service Items - Slide-Up Background ===== */
.service-item {
    position: relative; padding: 2.5rem 2rem; background: var(--white);
    border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
    overflow: hidden; transition: all 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
.service-item::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    transform: translateY(100%); transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); z-index: 0;
}
.service-item > * { position: relative; z-index: 1; }
.service-item:hover { transform: translateY(-10px); border-color: transparent; box-shadow: 0 20px 50px rgba(25,73,38,0.25); }
.service-item:hover::before { transform: translateY(0); }
.service-item .service-icon {
    margin: 0 auto 1.5rem; width: 80px; height: 80px; display: flex; align-items: center; justify-content: center;
    color: var(--secondary); background: linear-gradient(135deg, rgba(226,116,38,0.1), rgba(226,116,38,0.05));
    border-radius: var(--radius-lg); transition: all 0.5s cubic-bezier(0.34,1.56,0.64,1); font-size: 1.8rem;
}
.service-item:hover .service-icon { color: var(--white); background: rgba(255,255,255,0.15); transform: scale(1.1) rotate(-5deg); }
.service-item h5, .service-item p { transition: color 0.4s ease; color: var(--text-primary); }
.service-item:hover h5, .service-item:hover p { color: var(--white) !important; }
.service-item a.btn {
    position: absolute; bottom: -50px; left: 50%; transform: translateX(-50%);
    color: var(--white); background: var(--secondary); border-radius: var(--radius-full);
    transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1); z-index: 2; padding: 0.5rem 1.5rem;
}
.service-item:hover a.btn { bottom: 15px; }
.service-item a.btn:hover { background: var(--secondary-light); transform: translateX(-50%) scale(1.05); }

/* ===== Portfolio ===== */
#portfolio-flters li { display: inline-block; font-weight: 500; color: var(--text-secondary); cursor: pointer; transition: all 0.3s ease; border-bottom: 2px solid transparent; padding: 0.3rem 0; margin: 0 0.5rem; }
#portfolio-flters li:hover, #portfolio-flters li.active { color: var(--secondary); border-color: var(--secondary); }
.portfolio-item { border-radius: var(--radius-lg); overflow: hidden; }
.portfolio-item img { transition: all 0.7s ease; }
.portfolio-item:hover img { transform: scale(1.1) rotate(1deg); }
.portfolio-item .portfolio-overlay {
    position: absolute; display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%; top: 0; left: 0;
    background: linear-gradient(135deg, rgba(25,73,38,0.92), rgba(15,48,25,0.95));
    transition: all 0.4s ease; opacity: 0;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }

/* ===== Blog - Playful Cards ===== */
.blog-item {
    border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
    transition: all 0.45s cubic-bezier(0.34,1.56,0.64,1); border: 1px solid var(--gray-100); background: var(--white);
}
.blog-item:hover { transform: translateY(-10px) rotate(-0.5deg); box-shadow: var(--shadow-xl); }
.blog-item .blog-img { overflow: hidden; }
.blog-item .blog-img img { transition: all 0.6s ease; width: 100%; height: 220px; object-fit: cover; }
.blog-item:hover .blog-img img { transform: scale(1.1); filter: brightness(1.05); }
.blog-item .blog-img a { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; text-decoration: none; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--primary) !important; transition: all 0.3s ease; }
.blog-item:hover .blog-img a { background: var(--secondary) !important; }
.blog-item .p-4 h4 { font-size: 1.15rem; color: var(--text-primary); transition: color 0.3s ease; }
.blog-item:hover .p-4 h4 { color: var(--secondary) !important; }
.blog-item .p-4 p { color: var(--text-secondary); font-size: 0.92rem; }
.blog-item .text-primary { color: var(--secondary) !important; font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.blog-item .text-primary:hover { color: var(--primary) !important; letter-spacing: 0.5px; }
.blog-item .text-muted { color: var(--text-muted) !important; font-size: 0.85rem; }

/* ===== Testimonials ===== */
.testimonial-carousel .testimonial-item {
    padding: 2rem; background: var(--white); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md); border: 1px solid var(--gray-100); transition: all 0.4s ease;
}
.testimonial-carousel .testimonial-item:hover { box-shadow: var(--shadow-xl); transform: scale(1.02); }
.testimonial-carousel .testimonial-item p { color: var(--text-secondary) !important; font-style: italic; }
.testimonial-carousel .testimonial-item .fa-quote-left { color: var(--secondary) !important; opacity: 0.12; }
.testimonial-carousel .testimonial-item h5 { color: var(--text-primary) !important; }
.testimonial-carousel .testimonial-item span { color: var(--secondary); font-size: 0.85rem; font-weight: 500; }
.testimonial-carousel .owl-nav { display: flex; justify-content: center; margin-top: 1.5rem; }
.testimonial-carousel .owl-nav .owl-prev, .testimonial-carousel .owl-nav .owl-next {
    margin: 0 8px; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center;
    color: var(--white); background: var(--secondary); border-radius: var(--radius-full); font-size: 18px;
    transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1); border: none;
}
.testimonial-carousel .owl-nav .owl-prev:hover, .testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary); transform: scale(1.15); box-shadow: 0 8px 25px rgba(25,73,38,0.3);
}

/* ===== Team - Interactive ===== */
.team-item {
    background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
    overflow: hidden; transition: all 0.45s cubic-bezier(0.34,1.56,0.64,1); border: 1px solid var(--gray-100);
}
.team-item:hover { transform: translateY(-12px) scale(1.02); box-shadow: var(--shadow-xl); }
.team-item img { width: 120px; height: 120px; object-fit: cover; border: 3px solid var(--light); transition: all 0.5s ease; }
.team-item:hover img { border-color: var(--secondary); transform: scale(1.08); box-shadow: 0 0 20px rgba(226,116,38,0.2); }
.team-item h5 { color: var(--text-primary); }
.team-item .text-primary { color: var(--secondary) !important; font-weight: 500; }
.team-item p { color: var(--text-secondary); font-size: 0.92rem; }
.team-item .btn {
    color: var(--white) !important; background: var(--secondary) !important;
    width: 36px; height: 36px; border-radius: var(--radius-full);
    display: inline-flex; align-items: center; justify-content: center;
    transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1); border: none;
}
.team-item .btn:hover { background: var(--primary) !important; transform: translateY(-4px) scale(1.15) rotate(5deg); }

/* ===== Accordion - Smooth + Slide ===== */
.accordion-item {
    border: 1px solid var(--gray-200); border-radius: var(--radius-md) !important;
    margin-bottom: 0.75rem; overflow: hidden; transition: all 0.35s ease;
}
.accordion-item:hover { border-color: var(--secondary); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.accordion-button {
    font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem;
    color: var(--text-primary); padding: 1.2rem 1.5rem; background: var(--white); border: none; box-shadow: none !important;
}
.accordion-button:not(.collapsed) { color: var(--primary); background: linear-gradient(135deg, rgba(25,73,38,0.04), rgba(226,116,38,0.04)); }
.accordion-button:not(.collapsed)::after { filter: hue-rotate(120deg); }
.accordion-body { color: var(--text-secondary); line-height: 1.7; padding: 1rem 1.5rem 1.5rem; font-size: 0.95rem; animation: slideUp 0.3s ease; }

/* ===== Job Items - Side Bar Reveal ===== */
.job-item {
    background: var(--white) !important; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
    padding: 1.8rem; transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1); position: relative; overflow: hidden;
}
.job-item::before {
    content: ''; position: absolute; left: 0; top: 0; width: 4px; height: 0;
    background: linear-gradient(180deg, var(--secondary), var(--primary)); transition: height 0.4s ease;
}
.job-item:hover { border-color: var(--secondary); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.job-item:hover::before { height: 100%; }
.job-item h4 { color: var(--text-primary); font-size: 1.15rem; }
.job-item p { color: var(--text-muted); font-size: 0.9rem; }

/* ===== Forms - Lively Focus ===== */
.form-control, .form-select {
    border: 2px solid var(--gray-200); border-radius: var(--radius-sm); color: var(--text-primary);
    padding: 0.75rem 1rem; font-size: 0.95rem; transition: all 0.35s ease; background: var(--white);
}
.form-control:focus, .form-select:focus {
    border-color: var(--secondary); box-shadow: 0 0 0 4px rgba(226,116,38,0.1); transform: scale(1.01);
}
.form-control::placeholder { color: var(--gray-400); }
.form-floating > label { color: var(--text-muted); }
.form-floating > .form-control:focus ~ label { color: var(--secondary); }
.alert-success { background: rgba(25,73,38,0.08); border-color: var(--primary); color: var(--primary); border-radius: var(--radius-md); animation: slideUp 0.4s ease; }

/* ===== Footer - Breathing Gradient ===== */
.footer {
    margin-top: 0; padding-top: 5rem;
    background: linear-gradient(-45deg, var(--primary), var(--primary-dark), #0a2310, var(--primary));
    background-size: 300% 300%; animation: gradientShift 15s ease infinite;
    position: relative; overflow: hidden;
}
.footer::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-light), var(--secondary));
    background-size: 200% 100%; animation: shimmer 3s linear infinite;
}
.footer::after {
    content: ''; position: absolute; top: 10%; right: -10%; width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(226,116,38,0.06) 0%, transparent 70%);
    animation: floatSlow 12s ease-in-out infinite; pointer-events: none;
}
.footer.bg-primary {
    background: linear-gradient(-45deg, var(--primary), var(--primary-dark), #0a2310, var(--primary)) !important;
    background-size: 300% 300% !important; animation: gradientShift 15s ease infinite;
}
.footer p, .footer h1, .footer h2, .footer h3,
.footer h4, .footer h5, .footer h6, .footer span, .footer li { color: var(--white) !important; }
.footer p { color: rgba(255,255,255,0.8) !important; font-size: 0.92rem; }
.footer .section-title { color: var(--white) !important; }
.footer .btn.btn-social {
    margin-right: 8px; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
    color: var(--white); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-full);
    transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1); background: rgba(255,255,255,0.05);
}
.footer .btn.btn-social:hover {
    color: var(--white); background: var(--secondary); border-color: var(--secondary);
    transform: translateY(-5px) scale(1.15) rotate(5deg); box-shadow: 0 8px 25px rgba(226,116,38,0.35);
}
.footer .btn.btn-link {
    display: block; margin-bottom: 8px; padding: 0; text-align: left;
    color: rgba(255,255,255,0.75) !important; font-weight: 400; font-size: 0.92rem;
    transition: all 0.3s ease; text-decoration: none;
}
.footer .btn.btn-link::before {
    position: relative; content: "\f105"; font-family: "Font Awesome 5 Free"; font-weight: 900;
    margin-right: 10px; color: var(--secondary); transition: margin-right 0.3s ease;
}
.footer .btn.btn-link:hover { color: var(--secondary) !important; padding-left: 10px; box-shadow: none; }
.footer .btn.btn-link:hover::before { margin-right: 14px; }
.footer .copyright { padding: 25px 0; font-size: 0.85rem; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 2rem; position: relative; z-index: 2; }
.footer .copyright a { color: rgba(255,255,255,0.9); text-decoration: none; }
.footer .footer-menu a { margin-right: 15px; padding-right: 15px; border-right: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.85rem; transition: all 0.3s ease; }
.footer .footer-menu a:last-child { margin-right: 0; padding-right: 0; border-right: none; }
.footer .copyright a:hover, .footer .footer-menu a:hover { color: var(--secondary); }
.footer .form-control { border: none; background: rgba(255,255,255,0.1); color: var(--white); }
.footer .form-control::placeholder { color: rgba(255,255,255,0.5); }
.footer .form-control:focus { background: rgba(255,255,255,0.15); box-shadow: 0 0 0 3px rgba(226,116,38,0.2); }
.footer .fa-paper-plane { color: var(--secondary) !important; }

/* ===== Light Sections ===== */
.bg-light { background-color: var(--light) !important; }
.bg-light h1, .bg-light h2, .bg-light h3, .bg-light h4, .bg-light h5, .bg-light h6 { color: var(--text-primary); }
.bg-light p { color: var(--text-secondary); }
.container-xxl > .container p { color: var(--text-secondary); }
ul li, ol li { color: var(--text-secondary); }
ul li i, ol li i { color: var(--secondary) !important; }

/* ===== Images - Interactive ===== */
.img-fluid { transition: all 0.5s ease; }
.wow .img-fluid:hover { transform: scale(1.03); box-shadow: var(--shadow-xl); }

/* ===== Newsletter ===== */
.newsletter { margin: 0; padding: 5rem 0; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }

/* ===== Spacing ===== */
.container-xxl.py-5 { padding-top: 5rem !important; padding-bottom: 5rem !important; }

/* ===== Responsive ===== */
@media (max-width: 767.98px) {
    h1 { font-size: 1.8rem !important; }
    h2 { font-size: 1.5rem !important; }
    .hero-header { padding: 7rem 0 4rem; }
    .hero-header h1 { font-size: 2rem; }
    .feature-item, .service-item { padding: 1.5rem; }
    .container-xxl.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
    .footer { padding-top: 3rem; }
    .btn-primary { padding: 0.5rem 1.2rem; font-size: 0.9rem; }
    .team-item:hover, .blog-item:hover, .feature-item:hover { transform: translateY(-6px); }
}
@media (max-width: 575.98px) {
    .hero-header { padding: 6rem 0 3rem; }
    .section-title span:first-child, .section-title span:last-child { width: 20px; margin-right: 10px; }
    .section-title span:last-child { margin-left: 10px; }
    .section-title span:first-child::after, .section-title span:last-child::after { display: none; }
}

/* ===== Scrollbar - Gradient ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--primary), var(--secondary)); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--secondary); }

/* ===== Accessibility ===== */
a:focus-visible, button:focus-visible, .btn:focus-visible, .form-control:focus-visible {
    outline: 2px solid var(--secondary); outline-offset: 2px;
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .hero-header, .fact, .footer { animation: none !important; }
}

/* ===== Print ===== */
@media print {
    .navbar, .footer, .back-to-top, #spinner { display: none !important; }
    body { color: #000 !important; background: #fff !important; }
}