/* Telosari additions to the Webncy template: brand lockup, theme toggle, plain prose, cards, pricing tables,
   contact card, forms, sidebar and form feedback. Template colours come from its own :root variables. */

/* Brand lockup (inline SVG mark + text). White on the orange logo box, dark in the sticky bar. */
.tw-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-family: var(--title-font2); font-weight: 700; font-size: 26px; line-height: 1; text-decoration: none; }
.tw-brand:hover { color: #fff; }
.tw-brand-mark { flex: 0 0 auto; }
.sticky-header .tw-brand { color: #fff; }
.sticky-header .tw-brand-mark { color: var(--theme-color1); }
.mobile-menu .tw-brand { color: #fff; }
.main-footer .tw-brand { color: #fff; }
.main-footer .tw-brand-mark { color: var(--theme-color1); }
.main-header .logo a.tw-brand { display: inline-flex; }

/* Light / dark toggle button */
.tw-theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-right: 14px; border: 1px solid rgba(0, 0, 0, 0.15); border-radius: 50%; background: transparent; color: var(--headings-color); cursor: pointer; font-size: 18px; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.tw-theme-toggle:hover { background: var(--theme-color1); border-color: var(--theme-color1); color: #fff; }
.tw-theme-toggle:focus-visible { outline: 3px solid var(--theme-color2); outline-offset: 2px; }
.tw-theme-toggle .tw-ico-sun { display: none; }
html[data-theme="dark"] .tw-theme-toggle { border-color: rgba(255, 255, 255, 0.25); color: #fff; }
html[data-theme="dark"] .tw-theme-toggle .tw-ico-moon { display: none; }
html[data-theme="dark"] .tw-theme-toggle .tw-ico-sun { display: inline-block; }
.sticky-header .nav-outer { display: flex; align-items: center; }
.sticky-header .tw-theme-toggle { width: 40px; height: 40px; margin: 0 0 0 20px; border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.sticky-header .tw-theme-toggle:hover { color: #fff; }
@media (max-width: 991.98px) {
	.main-header .outer-box .tw-theme-toggle { width: 40px; height: 40px; margin-right: 8px; }
	.sticky-header .tw-theme-toggle { display: none; }
}

/* Plain reading column */
.tw-section { padding: 100px 0; }
@media (max-width: 767.98px) { .tw-section { padding: 60px 0; } }
.tw-prose { max-width: 860px; margin: 0 auto; font-size: 17px; line-height: 1.75; color: var(--text-color); }
.tw-blog .tw-prose, .tw-section .row .tw-prose { margin: 0; max-width: none; }
.tw-prose h2, .tw-prose h3 { margin: 2rem 0 0.75rem; color: var(--headings-color); }
.tw-prose a { color: var(--theme-color1); text-decoration: underline; }
.tw-prose ul, .tw-prose ol { padding-left: 1.4rem; margin-bottom: 1.2rem; }
.tw-prose li { margin-bottom: 0.4rem; }
.tw-lead { max-width: 640px; margin: 0 auto 40px; font-size: 18px; }
.tw-meta { color: var(--text-color); margin-bottom: 1.5rem; }
.tw-postnav a { font-weight: 700; color: var(--headings-color); }
.tw-404 { font-family: var(--title-font2); font-size: 140px; line-height: 1; font-weight: 700; color: var(--theme-color1); margin-bottom: 10px; }

/* Cards */
.tw-card { position: relative; height: 100%; padding: 32px; background: var(--theme-color4); border: 1px solid rgba(0, 0, 0, 0.06); }
.tw-card h3, .tw-card h2 { color: var(--headings-color); }
.tw-card-num { display: block; margin-bottom: 14px; font-family: var(--title-font2); font-size: 38px; font-weight: 700; color: var(--theme-color1); }
.tw-card p:last-child { margin-bottom: 0; }
.tw-side .about-list { margin: 0 0 24px; padding: 0; list-style: none; }
.tw-side .about-list li { margin-bottom: 10px; color: var(--text-color); }
.tw-side .about-list li i { margin-right: 10px; color: var(--theme-color1); }
.tw-side h2 { margin: 0 0 12px; }
.tw-side h2:not(:first-child) { margin-top: 28px; }
.tw-industries .sec-title-two { margin-bottom: 40px; }
.tw-work { padding-bottom: 40px; }
.tw-chip { display: inline-block; padding: 6px 14px; border: 1px solid var(--theme-color1); color: var(--theme-color1); font-size: 14px; }
.tw-chip:hover { background: var(--theme-color1); color: #fff; }
.tw-search { display: flex; }
.tw-input { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid rgba(0, 0, 0, 0.15); background: #fff; color: #222; }
.tw-search-btn { padding: 0 18px; border: 0; background: var(--theme-color1); color: #fff; }

/* "Why us" list inside the progress section (no invented percentages) */
.progress-section .tw-why { margin-bottom: 22px; }
.progress-section .tw-why p { margin: 6px 0 0; }

/* Pricing tabs and tables */
.price-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 30px; padding: 0; border: 0; list-style: none; }
.price-tabs .nav-link { padding: 12px 24px; border: 1px solid var(--theme-color1); border-radius: 0; background: transparent; color: var(--theme-color1); font-weight: 600; }
.price-tabs .nav-link:hover { background: rgba(var(--theme-color1-rgb), 0.1); }
.price-tabs .nav-link.active { background: var(--theme-color1); color: #fff; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: 18px 16px; border-bottom: 1px solid rgba(0, 0, 0, 0.1); text-align: left; vertical-align: top; }
.price-table thead th { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-color); }
.price-table tbody th { color: var(--headings-color); font-weight: 700; }
.price-table .what { color: var(--text-color); }
.price-table .amt { text-align: right; white-space: nowrap; font-weight: 700; color: var(--theme-color1); }
.price-table th.text-end { text-align: right; }
.price-note { margin: 18px 0 0; font-size: 15px; color: var(--text-color); }
@media (max-width: 575.98px) {
	.price-table thead { display: none; }
	.price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; width: 100%; }
	.price-table tr { padding: 14px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
	.price-table th, .price-table td { padding: 2px 0; border: 0; text-align: left !important; }
}

/* Contact card beside the form */
.tw-contact-card { height: 100%; padding: 40px; background: var(--theme-color1); color: #fff; }
.tw-contact-card h2, .tw-contact-card h3 { margin-bottom: 24px; color: #fff; }
.tw-contact-card ul { margin: 0 0 28px; padding: 0; list-style: none; }
.tw-contact-card li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; font-size: 18px; }
.tw-contact-card li i { margin-top: 5px; }
.tw-contact-card a { color: #fff; }
.tw-contact-card .theme-btn { background: #fff; color: var(--theme-color1); border-color: #fff; }
.contact-section-two .map-column .inner-column { height: 100%; }

/* Form feedback (success and error banners from inc/forms.php) */
.tw-flash, .alert { margin-bottom: 20px; padding: 14px 18px; border: 1px solid rgba(0, 0, 0, 0.1); background: #fff; color: #222; font-size: 15px; }
.alert-success { border-color: #1a8f4d; }
.alert-danger, .alert-warning { border-color: #c0392b; }
.contact-form .row > .form-group { margin-bottom: 24px; }

/* Footer newsletter message colour and legibility */
.main-footer .alert { color: #222; }
.main-footer .subscribe-form { margin: 0; }

/* Slides 2 and 3 of the hero use h2 so the page keeps a single h1; same look as the h1 rules in style.css. */
.banner-section .banner-slider .banner-slide .outer-box .content-box h2 { font-size: 100px; position: relative; color: var(--theme-color-light); font-weight: 500; font-family: var(--title-font2); line-height: 90px; margin-bottom: 58px; }
.banner-section .banner-slider .banner-slide .outer-box .content-box h2 span { color: var(--theme-color1); }
@media (max-width: 1399.98px) { .banner-section .banner-slider .banner-slide .outer-box .content-box h2 { font-size: 58px; line-height: 70px; } }
@media (max-width: 767.98px) { .banner-section .banner-slider .banner-slide .outer-box .content-box h2 { font-size: 50px; line-height: 62px; } }
@media (max-width: 575.98px) { .banner-section .banner-slider .banner-slide .outer-box .content-box h2 { font-size: 36px; line-height: 46px; margin-bottom: 36px; } }

/* WooCommerce is not used; keep focus rings visible for keyboard users on the template's div "buttons". */
.acc-btn:focus-visible, .mobile-nav-toggler:focus-visible, .close-btn:focus-visible, .scroll-to-top:focus-visible { outline: 3px solid var(--theme-color2); outline-offset: 2px; }

/* The template's map column is a tall absolutely positioned block on wide screens; give the contact card the same presence. */
@media (min-width: 1400px) { .tw-contact-card { min-height: 700px; padding-top: 140px; } }
@media (max-width: 1399.98px) { .tw-contact-card { min-height: 0; } }

/* Reading text: restore list markers (the template's reset removes them) and keep headings in proportion. */
.tw-prose ul { list-style: disc; }
.tw-prose ol { list-style: decimal; }
.tw-prose h2 { font-size: 30px; }
.tw-prose h3 { font-size: 22px; }
.tw-prose p { margin-bottom: 1.1rem; }

/* Project cards: the template reveals title and link on hover only. Keep them visible at all times so touch
   screens and keyboard users see what each card is. */
.project-block .inner-box .image-box .content-box { opacity: 1; visibility: visible; transform: none; left: 0; right: 0; bottom: 0; padding: 60px 28px 26px; background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0)); }
.project-block .inner-box .image-box .content-box .title, .project-block .inner-box .image-box .content-box .title a { color: #fff; }
.project-block .inner-box .image-box .content-box span { color: var(--theme-color2); }

/* Sidebar recent posts */
.tw-recent { display: flex; align-items: center; margin-bottom: 16px; color: var(--headings-color); font-weight: 600; line-height: 1.35; }
.tw-recent img { width: 64px; height: 64px; object-fit: cover; margin-right: 14px; }
.tw-recent small { display: block; font-weight: 400; color: var(--text-color); }
.accordion-box .acc-content a { color: var(--theme-color1); text-decoration: underline; }

/* Links on dark bars (top bar and footer bottom bar) */
.main-header .header-top a, .main-footer .footer-bottom a { color: #fff; }
.main-header .header-top a:hover, .main-footer .footer-bottom a:hover { color: var(--theme-color2); }

/* Hero supporting copy, twin CTAs and quick points (adapted from the CodeClean hero pattern). */
.banner-section .content-box h1, .banner-section .content-box h2 { margin-bottom: 24px !important; }
.tw-hero-sub { max-width: 620px; margin: 0 0 32px; font-size: 20px; line-height: 1.55; color: rgba(255, 255, 255, 0.88); }
.tw-hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.tw-btn-outline { background: transparent !important; color: #fff !important; border: 2px solid rgba(255, 255, 255, 0.7); }
.tw-btn-outline:hover { background: #fff !important; color: var(--headings-color) !important; border-color: #fff; }
.tw-hero-points { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 0; padding: 0; list-style: none; color: rgba(255, 255, 255, 0.85); font-size: 15px; }
.tw-hero-points li { position: relative; }
.tw-hero-points li:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--theme-color1); }
.tw-hero-points a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 575.98px) { .tw-hero-sub { font-size: 17px; margin-bottom: 24px; } .tw-hero-ctas .theme-btn { padding-left: 24px; padding-right: 24px; } }
