/* =========================================================
   Extra styles for the CMS (sections not in the Lite template)
   Colour comes from --primary (Admin → Settings → General)
   ========================================================= */
:root { --primary: #2F80ED; --heading: #323450; --text: #585978; }

.mt-30 { margin-top: 30px; } .mt-50 { margin-top: 50px; } .mb-20 { margin-bottom: 20px; }
.hp-field { position: absolute !important; left: -9999px !important; height: 0; width: 0; opacity: 0; }

/* header button */
.header.header-6 .header-action .header-btn { color: #fff; padding: 0 24px; height: 44px; font-size: 16px; margin-left: 20px; white-space: nowrap; }
.header.header-6 .header-action .header-btn:hover { color: #fff; }
.header.header-6 .navbar-brand img { max-height: 48px; width: auto; }
.footer .logo img { max-height: 48px; width: auto; }

/* feature blob tint follows brand colour */
.feature-style-5 .single-feature .icon svg path.blob { fill: var(--primary); fill-opacity: .1; }
.feature-style-5 .single-feature .content h5 a { color: inherit; }

/* pricing period */
.single-pricing h3 .period { font-size: 16px; font-weight: 400; color: var(--text); margin-left: 4px; }

/* ---------- inner page banner ---------- */
.inner-wrapper { background: linear-gradient(180deg, #F5F9FF 0%, #fff 100%); }
.page-banner { padding: 140px 0 50px; text-align: center; }
@media (max-width: 991px) { .page-banner { padding-top: 120px; } }
.page-banner h1 { font-size: 40px; font-weight: 700; color: var(--heading); margin-bottom: 12px; font-family: "Fira Sans", sans-serif; }
.page-banner .crumbs { font-size: 15px; color: var(--text); }
.page-banner .crumbs a { color: var(--primary); }
.page-banner .crumbs span { margin: 0 8px; opacity: .5; }
.page-banner .crumbs em { font-style: normal; }
@media (max-width: 767px) { .page-banner h1 { font-size: 28px; } .page-banner { padding: 120px 0 40px; } }
.inner-section { padding: 50px 0 110px; }

.site-flash { padding: 14px 0; font-weight: 500; }
.site-flash-success { background: #E7F8EE; color: #17804B; }
.site-flash-error { background: #FDECEC; color: #B42318; }

/* ---------- stats ---------- */
.stats-section { padding: 90px 0 60px; background: var(--primary); color: #fff; }
.stats-section .section-title h3, .stats-section .section-title p { color: #fff; }
.single-stat { text-align: center; margin-bottom: 30px; }
.single-stat .stat-icon { width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 50%; background: rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; font-size: 30px; }
.single-stat h3 { color: #fff; font-size: 42px; font-weight: 700; margin-bottom: 6px; }
.single-stat p { color: rgba(255,255,255,.85); margin: 0; }

/* ---------- testimonials ---------- */
.testimonial-section { padding: 120px 0 90px; }
.single-testimonial { background: #fff; border-radius: 14px; padding: 35px 30px; box-shadow: 0 10px 35px rgba(50,52,80,.08); margin-bottom: 30px; height: calc(100% - 30px); display: flex; flex-direction: column; }
.single-testimonial .stars { color: #FFB800; margin-bottom: 14px; }
.single-testimonial .quote { font-size: 16px; line-height: 1.7; flex: 1; }
.single-testimonial .person { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.single-testimonial .person img, .single-testimonial .avatar { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.single-testimonial .avatar { background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; }
.single-testimonial h6 { margin: 0; color: var(--heading); font-weight: 600; }
.single-testimonial .person span { font-size: 14px; }

/* ---------- blog ---------- */
.blog-section { padding: 120px 0 110px; }
.blog-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 35px rgba(50,52,80,.08); margin-bottom: 30px; transition: transform .3s; height: calc(100% - 30px); display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-6px); }
.blog-thumb { display: block; aspect-ratio: 16/9; overflow: hidden; background: #EEF4FE; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 56px; color: var(--primary); background: linear-gradient(135deg, rgba(47,128,237,.08), rgba(47,128,237,.18)); }
.blog-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.blog-body h5 { font-size: 20px; line-height: 1.4; margin: 10px 0; font-weight: 600; }
.blog-body h5 a { color: var(--heading); }
.blog-body h5 a:hover, .read-more { color: var(--primary); }
.blog-body p { flex: 1; }
.read-more { font-weight: 500; margin-top: 8px; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 14px; align-items: center; }
.blog-meta .cat { background: var(--primary); color: #fff; padding: 3px 12px; border-radius: 30px; font-size: 13px; }
.blog-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.blog-toolbar .cats a { display: inline-block; padding: 7px 16px; border-radius: 30px; border: 1px solid #E2E8F0; color: var(--text); margin: 0 6px 6px 0; }
.blog-toolbar .cats a.active, .blog-toolbar .cats a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.blog-search { display: flex; border: 1px solid #E2E8F0; border-radius: 30px; overflow: hidden; }
.blog-search input { border: 0; padding: 9px 18px; outline: 0; min-width: 220px; }
.blog-search button { border: 0; background: var(--primary); color: #fff; padding: 0 18px; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.pager a { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid #E2E8F0; color: var(--text); }
.pager a.active, .pager a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.post-single .post-image, .post-image { width: 100%; border-radius: 14px; margin-bottom: 30px; }
.rich-content { font-size: 17px; line-height: 1.8; }
.rich-content h2, .rich-content h3, .rich-content h4 { color: var(--heading); margin: 30px 0 14px; font-weight: 600; }
.rich-content h3 { font-size: 24px; }
.rich-content p { margin-bottom: 18px; }
.rich-content ul, .rich-content ol { margin: 0 0 18px 22px; }
.rich-content ul li { list-style: disc; margin-bottom: 6px; }
.rich-content ol li { list-style: decimal; margin-bottom: 6px; }
.rich-content img { max-width: 100%; height: auto; border-radius: 10px; }
.rich-content a { color: var(--primary); text-decoration: underline; }
.rich-content blockquote { border-left: 4px solid var(--primary); padding: 8px 20px; background: #F5F9FF; margin: 20px 0; }
.share { display: flex; align-items: center; gap: 10px; margin-top: 35px; padding-top: 25px; border-top: 1px solid #EEE; }
.share a { width: 38px; height: 38px; border-radius: 50%; background: #F1F5FB; color: var(--primary); display: flex; align-items: center; justify-content: center; }
.share a:hover { background: var(--primary); color: #fff; }
.sidebar-box { background: #F7F9FC; border-radius: 14px; padding: 28px; margin-bottom: 30px; }
.sidebar-box h6 { font-weight: 600; color: var(--heading); margin-bottom: 16px; font-size: 18px; }
.recent-list li { padding: 10px 0; border-bottom: 1px solid #E8ECF2; }
.recent-list li:last-child { border: 0; }
.recent-list a { color: var(--heading); display: block; font-weight: 500; }
.recent-list a:hover { color: var(--primary); }
.recent-list small { color: #999; }
.cta-box { background: var(--primary); color: #fff; }
.cta-box h6, .cta-box p { color: #fff; }
.cta-box .button { background: #fff; color: var(--primary); }
@media (max-width: 991px) { .post-single { margin-bottom: 40px; } }

/* ---------- contact ---------- */
.contact-alert { padding: 14px 20px; border-radius: 10px; margin-bottom: 25px; font-weight: 500; }
.contact-alert-success { background: #E7F8EE; color: #17804B; }
.contact-alert-error { background: #FDECEC; color: #B42318; }
.contact-style-3 .single-item .text a { color: inherit; }
.contact-map iframe { width: 100%; height: 380px; border: 0; border-radius: 14px; }

/* ---------- clients ---------- */
.client-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px 60px; }
.client-logo-item img { max-height: 60px; max-width: 170px; opacity: .7; filter: grayscale(1); transition: all .3s; }
.client-logo-item img:hover { opacity: 1; filter: none; }
.client-logo-item.single { width: 100%; }
.client-logo-item.single img { max-height: none; max-width: 100%; width: 100%; }

.footer-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.footer-contact i { color: var(--primary); margin-top: 4px; }

/* ---------- maintenance ---------- */
.maintenance-body { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: #F5F9FF; font-family: sans-serif; }
.maintenance-box { text-align: center; max-width: 520px; padding: 40px; }
