/*
Theme Name: Thalla Lokesh Digital
Theme URI: http://thallalokesh.com
Author: Thalla Lokesh
Author URI: http://thallalokesh.com
Description: Premium dark-modern WordPress theme for Thalla Lokesh — Digital Marketing & Web Development professional with 12+ years of experience in Web Design, Development, SEO, Google Ads, Meta Ads and Social Media Marketing. Includes dedicated service pages, sidebar widget areas, built-in enquiry form and SEO schema.
Version: 2.3.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: thallalokesh
Tags: portfolio, business, one-column, custom-menu, custom-logo, featured-images, threaded-comments
*/

/* ==========================================================================
   1. CSS Variables & Reset
   ========================================================================== */
:root {
  --bg: #070b14;
  --bg-alt: #0c1220;
  --surface: #111a2e;
  --surface-2: #16213a;
  --border: rgba(148, 163, 184, 0.12);
  --text: #e8edf5;
  --muted: #94a3b8;
  --accent: #6366f1;
  --accent-2: #22d3ee;
  --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #22d3ee 100%);
  --radius: 16px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --font-head: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-2); text-decoration: none; transition: color .25s; }
a:hover { color: #67e8f9; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.grad-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ==========================================================================
   2. Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15.5px;
  font-family: var(--font-head);
  cursor: pointer;
  border: 0;
  transition: transform .25s, box-shadow .25s, background .25s;
}
.btn-primary {
  background: var(--gradient);
  color: #fff !important;
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(99, 102, 241, 0.55); }
.btn-outline {
  background: transparent;
  color: var(--text) !important;
  border: 1.5px solid rgba(148, 163, 184, 0.35);
}
.btn-outline:hover { border-color: var(--accent-2); color: var(--accent-2) !important; transform: translateY(-3px); }
.btn-whatsapp {
  background: #25d366;
  color: #06230f !important;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(37, 211, 102, 0.5); }

/* ==========================================================================
   3. Header / Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  padding: 18px 0;
  transition: background .3s, padding .3s, box-shadow .3s;
}
.site-header.scrolled {
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-logo { display: flex; align-items: center; gap: 12px; }
.site-logo img, .site-logo svg { height: 44px; width: auto; }
.main-nav > ul {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
}
.main-nav ul { list-style: none; }
.main-nav li { position: relative; }
.main-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.main-nav > ul > li > a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--gradient);
  transition: width .3s;
  border-radius: 2px;
}
.main-nav a:hover { color: #fff; }
.main-nav > ul > li > a:hover::after,
.main-nav > ul > .current-menu-item > a::after,
.main-nav > ul > .current-menu-parent > a::after,
.main-nav > ul > .current-menu-ancestor > a::after { width: 100%; }

/* --- Dropdown submenus ------------------------------------------------- */

/* Caret on items that have children */
.main-nav .menu-item-has-children > a::before {
  content: '';
  width: 7px; height: 7px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  opacity: .65;
  order: 2;
  transition: transform .25s, opacity .25s;
  flex: 0 0 auto;
}
.main-nav .menu-item-has-children:hover > a::before { opacity: 1; }

.main-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: -18px;
  min-width: 250px;
  padding: 10px;
  margin-top: 14px;
  background: rgba(17, 26, 46, 0.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 1001;
}
/* Invisible bridge so the menu doesn't close while moving the cursor down */
.main-nav .sub-menu::before {
  content: '';
  position: absolute;
  top: -16px; left: 0; right: 0;
  height: 16px;
}
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu,
.main-nav li.is-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.main-nav .sub-menu li { width: 100%; }
.main-nav .sub-menu a {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 9px;
  font-size: 14.5px;
  color: var(--muted);
  white-space: normal;
  line-height: 1.4;
}
.main-nav .sub-menu a:hover,
.main-nav .sub-menu .current-menu-item > a {
  background: rgba(99, 102, 241, 0.16);
  color: #fff;
}
.main-nav .sub-menu a::after { display: none; }

/* Third level opens to the side */
.main-nav .sub-menu .sub-menu {
  top: -10px;
  left: calc(100% + 6px);
  margin-top: 0;
}
.main-nav .sub-menu .menu-item-has-children > a::before {
  transform: rotate(-45deg);
}

/* Keep the last dropdowns inside the viewport */
.main-nav > ul > li:nth-last-child(-n+2) > .sub-menu { left: auto; right: -18px; }
.main-nav > ul > li:nth-last-child(-n+2) .sub-menu .sub-menu { left: auto; right: calc(100% + 6px); }

/* The caret button is a mobile/touch affordance only */
.main-nav .submenu-toggle { display: none; }

/* Long menus wrap instead of overflowing on mid-size screens */
@media (max-width: 1200px) and (min-width: 769px) {
  .main-nav > ul { gap: 22px; }
  .main-nav a { font-size: 14.5px; }
}
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .btn { padding: 11px 24px; font-size: 14px; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 20px;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   4. Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -300px; right: -200px;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.22) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -350px; left: -250px;
  width: 750px; height: 750px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.13) 0%, transparent 65%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #c7d2fe;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  margin-bottom: 26px;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 12px #22d3ee;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.hero h1 {
  font-size: clamp(38px, 5.2vw, 62px);
  letter-spacing: -1.5px;
  margin-bottom: 22px;
}
.hero p.lead {
  font-size: 18.5px;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 28px; color: var(--muted); font-size: 14px; }
.hero-trust span { display: flex; align-items: center; gap: 8px; }
.hero-trust b { color: #fff; }

/* Hero visual card */
.hero-visual { position: relative; }
.hero-card {
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--shadow);
  position: relative;
}
.hero-card .chart-bars { display: flex; align-items: flex-end; gap: 12px; height: 150px; margin: 22px 0; }
.hero-card .bar {
  flex: 1;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, #6366f1, #22d3ee);
  opacity: .85;
  animation: grow 1.2s ease both;
}
@keyframes grow { from { height: 0 !important; } }
.hero-card .card-row { display: flex; justify-content: space-between; align-items: center; }
.hero-card .metric { font-family: var(--font-head); font-size: 28px; font-weight: 700; color: #fff; }
.hero-card .metric small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 500; font-family: var(--font-body); }
.hero-chip {
  position: absolute;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 10px;
}
.hero-chip.chip-1 { top: -22px; right: -14px; animation: float 5s ease-in-out infinite; }
.hero-chip.chip-2 { bottom: -20px; left: -18px; animation: float 6s ease-in-out infinite reverse; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ==========================================================================
   5. Sections (generic)
   ========================================================================== */
.section { padding: 100px 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(30px, 3.6vw, 42px); letter-spacing: -1px; margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* ==========================================================================
   6. Services
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity .3s;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: var(--shadow);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 60px; height: 60px;
  border-radius: 15px;
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(99, 102, 241, 0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
}
.service-card h3 { font-size: 20px; margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: 15px; }

/* ==========================================================================
   7. Stats
   ========================================================================== */
.stats-band {
  background: var(--gradient);
  border-radius: 24px;
  padding: 54px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
  box-shadow: 0 24px 70px rgba(99, 102, 241, 0.35);
}
.stat-num { font-family: var(--font-head); font-size: 44px; font-weight: 800; color: #fff; line-height: 1.1; }
.stat-label { color: rgba(255, 255, 255, 0.85); font-size: 14.5px; font-weight: 500; margin-top: 6px; }

/* ==========================================================================
   8. About / Why
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-grid h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -1px; margin-bottom: 20px; }
.about-grid p { color: var(--muted); margin-bottom: 18px; }
.check-list { list-style: none; margin: 26px 0 34px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-weight: 500; }
.check-list .check {
  flex: 0 0 auto;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.15);
  color: var(--accent-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  margin-top: 2px;
}
.skill-bars { display: grid; gap: 22px; }
.skill-bar .skill-top { display: flex; justify-content: space-between; font-size: 14.5px; font-weight: 600; margin-bottom: 9px; }
.skill-bar .skill-top span:last-child { color: var(--accent-2); }
.skill-track { height: 9px; background: rgba(148, 163, 184, 0.15); border-radius: 6px; overflow: hidden; }
.skill-fill { height: 100%; background: var(--gradient); border-radius: 6px; width: 0; transition: width 1.4s cubic-bezier(.22,1,.36,1); }

/* ==========================================================================
   9. Testimonials
   ========================================================================== */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.testi-stars { color: #fbbf24; letter-spacing: 3px; margin-bottom: 16px; font-size: 15px; }
.testi-card blockquote { color: var(--muted); font-size: 15px; font-style: italic; margin-bottom: 22px; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff;
  font-family: var(--font-head);
}
.testi-author b { display: block; color: #fff; font-size: 15px; }
.testi-author small { color: var(--muted); font-size: 13px; }

/* ==========================================================================
   10. CTA / Contact
   ========================================================================== */
.cta-box {
  background:
    radial-gradient(circle at 85% 15%, rgba(34, 211, 238, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(99, 102, 241, 0.22) 0%, transparent 50%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 72px 48px;
  text-align: center;
}
.cta-box h2 { font-size: clamp(30px, 3.8vw, 44px); letter-spacing: -1px; margin-bottom: 18px; }
.cta-box p { color: var(--muted); font-size: 17.5px; max-width: 560px; margin: 0 auto 38px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 34px; }
.cta-contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; color: var(--muted); font-size: 15px; }
.cta-contacts a { color: var(--text); font-weight: 600; }
.cta-contacts a:hover { color: var(--accent-2); }

/* ==========================================================================
   11. Footer
   ========================================================================== */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 50px; }
.footer-grid h4 { font-size: 16px; margin-bottom: 20px; }
.footer-grid ul { list-style: none; display: grid; gap: 11px; }
.footer-grid ul a { color: var(--muted); font-size: 14.5px; }
.footer-grid ul a:hover { color: var(--accent-2); }
.footer-about p { color: var(--muted); font-size: 14.5px; margin-top: 18px; max-width: 300px; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 16px;
  transition: all .25s;
}
.footer-social a:hover { background: var(--gradient); color: #fff; border-color: transparent; transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  color: var(--muted); font-size: 13.5px;
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  bottom: 26px; right: 26px;
  z-index: 998;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  transition: transform .25s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ==========================================================================
   12. Blog / Inner pages
   ========================================================================== */
.page-hero { padding: 170px 0 70px; text-align: center; background: radial-gradient(circle at 50% -20%, rgba(99, 102, 241, 0.22) 0%, transparent 60%); }
.page-hero h1 { font-size: clamp(32px, 4.5vw, 50px); letter-spacing: -1px; }
.content-area { padding: 70px 0 100px; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}
.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(99, 102, 241, 0.4);
}

/* Featured image: fixed 16:9 window, image cropped to fill it.
   Uses the padding-top technique so the crop is identical in every browser
   regardless of the uploaded image's own dimensions. */
.post-card .thumb {
  position: relative;
  display: block;
  width: 100%;
  height: 0;
  padding-top: 56.25%; /* 16:9 */
  background: var(--surface-2);
  overflow: hidden;
  flex: 0 0 auto;
}
.post-card .thumb img,
.post-card .thumb picture,
.post-card .thumb a {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center center;
  transition: transform .5s ease;
}
.post-card:hover .thumb img { transform: scale(1.05); }
.post-card .thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 11, 20, 0.55) 100%);
  pointer-events: none;
}
.post-card .post-body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.post-card .post-meta { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.post-card .post-meta a { color: var(--accent-2); }
.post-card h3 { font-size: 18px; line-height: 1.35; margin-bottom: 10px; }
.post-card h3 a { color: #fff; }
.post-card h3 a:hover { color: var(--accent-2); }
.post-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
.post-card .read-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent-2);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13.5px;
}
.post-card:hover .read-more { gap: 11px; }

/* Placeholder when a post has no featured image */
.post-card .thumb.is-empty { background: linear-gradient(135deg, #16213a, #111a2e); }
.post-card .thumb.is-empty::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: .12;
}
.single-content { max-width: 780px; margin: 0 auto; }
.single-content h2, .single-content h3 { margin: 36px 0 16px; }
.single-content p, .single-content ul, .single-content ol { margin-bottom: 20px; color: #cbd5e1; }
.single-content ul, .single-content ol { padding-left: 24px; }
.single-content img { border-radius: var(--radius); margin: 28px 0; }
.single-content blockquote {
  border-left: 4px solid var(--accent);
  padding: 18px 26px;
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 28px 0;
  font-style: italic;
}
.wp-block-image img { border-radius: var(--radius); }
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 60px; }
.pagination .page-numbers {
  min-width: 44px; height: 44px;
  padding: 0 14px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
}
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--gradient); border-color: transparent; color: #fff; }

/* Forms & comments */
input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color .25s;
}
input:focus, textarea:focus { outline: none; border-color: var(--accent); }
input[type="submit"], button[type="submit"] {
  background: var(--gradient);
  color: #fff;
  border: 0;
  border-radius: 50px;
  padding: 14px 34px;
  font-weight: 600;
  font-family: var(--font-head);
  cursor: pointer;
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Accessibility */
.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px; height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed !important;
  top: 12px; left: 12px;
  clip: auto;
  width: auto; height: auto;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  z-index: 10000;
}
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 4px; }

/* ==========================================================================
   14. Inline SVG icons
   ========================================================================== */
.tl-icon { flex: 0 0 auto; vertical-align: middle; }
.service-icon .tl-icon { color: var(--accent-2); }
.hero-trust .tl-icon, .contact-badges .tl-icon { color: var(--accent-2); }
.testi-stars { display: flex; gap: 3px; color: #fbbf24; }
.testi-stars .tl-icon { fill: #fbbf24; stroke: #fbbf24; }
.check-list .check .tl-icon { stroke-width: 2.6; }

/* ==========================================================================
   15. Content + Sidebar layout
   ========================================================================== */
.content-area .container.with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: start;
}
.content-area .container.sidebar-left { grid-template-columns: 340px minmax(0, 1fr); }
.content-area .container.sidebar-left .content-main { order: 2; }
.content-area .container.sidebar-left .site-sidebar { order: 1; }
.content-area .container.no-sidebar .content-main { max-width: 820px; margin: 0 auto; }
.content-main { min-width: 0; }

.site-sidebar { position: sticky; top: 100px; display: grid; gap: 22px; }
.widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.widget-title {
  font-size: 16px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.widget-title::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  width: 46px; height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}
.widget ul { list-style: none; }
.widget p { color: var(--muted); font-size: 14.5px; }
.widget-note { margin-bottom: 16px; }

/* Service nav widget */
.service-nav li { border-bottom: 1px solid var(--border); }
.service-nav li:last-child { border-bottom: 0; }
.service-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 500;
  transition: color .2s, padding-left .2s;
}
.service-nav a:hover { color: var(--accent-2); padding-left: 6px; }
.service-nav .sn-icon {
  width: 34px; height: 34px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(99, 102, 241, 0.28);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-2);
}
.service-nav .is-current a { color: #fff; font-weight: 600; }
.service-nav .is-current .sn-icon { background: var(--gradient); border-color: transparent; color: #fff; }

/* Contact widget */
.btn-block { display: flex; width: 100%; justify-content: center; }
.widget .btn-block { padding: 13px 16px; font-size: 14.5px; white-space: nowrap; }
.contact-lines { margin-top: 18px; display: grid; gap: 12px; }
.contact-lines li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14.5px; }
.contact-lines .tl-icon { color: var(--accent-2); }
.contact-lines a { color: var(--text); }
.contact-lines a:hover { color: var(--accent-2); }
.contact-lines.big li { align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.contact-lines.big li:last-child { border-bottom: 0; }
.contact-lines.big a { display: block; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--muted); }
.contact-lines.big a span { display: block; color: #fff; font-size: 17px; margin-top: 2px; }

/* Trust widget */
.trust-list { display: grid; gap: 16px; }
.trust-list li { display: flex; gap: 12px; align-items: flex-start; }
.trust-list .tl-icon { color: var(--accent-2); margin-top: 2px; }
.trust-list b { display: block; color: #fff; font-size: 14.5px; }
.trust-list span { color: var(--muted); font-size: 13px; }

/* Recent posts widget */
.recent-list { display: grid; gap: 14px; }
.recent-list li { padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.recent-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.recent-list a { display: block; color: var(--text); font-size: 14.5px; font-weight: 500; line-height: 1.45; }
.recent-list a:hover { color: var(--accent-2); }
.recent-list small { color: var(--muted); font-size: 12.5px; }

/* Standard WP widgets fallback styling */
.widget_categories ul li,
.widget_archive ul li,
.widget_pages ul li,
.widget_nav_menu ul li,
.widget_meta ul li,
.widget_recent_entries ul li { padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.widget_categories ul li:last-child,
.widget_archive ul li:last-child { border-bottom: 0; }
.widget select { width: 100%; }
.widget .tagcloud a {
  display: inline-block;
  margin: 0 6px 8px 0;
  padding: 6px 13px;
  border-radius: 50px;
  border: 1px solid var(--border);
  font-size: 13px !important;
  color: var(--muted);
}
.widget .tagcloud a:hover { border-color: var(--accent); color: var(--accent-2); }

/* ==========================================================================
   16. Breadcrumbs
   ========================================================================== */
.breadcrumbs { margin-bottom: 20px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; font-size: 13.5px; }
.breadcrumbs li + li::before { content: '/'; color: var(--muted); margin-right: 8px; opacity: .6; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent-2); }
.breadcrumbs span { color: var(--text); }

/* ==========================================================================
   17. Service pages
   ========================================================================== */
.page-hero-sub { color: var(--muted); font-size: 17px; max-width: 660px; margin: 18px auto 0; }
.service-hero { padding-bottom: 60px; }
.service-hero-inner { max-width: 780px; margin: 0 auto; }
.service-hero-icon {
  width: 76px; height: 76px;
  margin: 0 auto 22px;
  border-radius: 20px;
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(99, 102, 241, 0.32);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-2);
}
.service-tagline { color: var(--muted); font-size: 19px; margin: 18px 0 32px; }
.service-hero .hero-actions { justify-content: center; }

.lead-para { font-size: 18px !important; color: #cbd5e1 !important; }

.include-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 26px 0 40px; }
.include-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 20px 22px;
}
.include-item h3 { font-size: 16px; margin: 0 0 8px !important; }
.include-item p { font-size: 14px; color: var(--muted); margin: 0 !important; }

.process-steps { display: grid; gap: 16px; margin: 26px 0 40px; }
.process-step {
  display: flex;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 24px;
}
.step-num {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.process-step h3 { font-size: 17px; margin: 0 0 6px !important; }
.process-step p { font-size: 14.5px; color: var(--muted); margin: 0 !important; }

/* FAQ accordion */
.faq-list { display: grid; gap: 12px; margin: 26px 0 40px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  background: none;
  border: 0;
  padding: 19px 22px;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15.5px;
  cursor: pointer;
}
.faq-q .tl-icon { color: var(--accent-2); transition: transform .3s; }
.faq-item.open .faq-q .tl-icon { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-a { max-height: 600px; }
.faq-a p { padding: 0 22px 20px; color: var(--muted); font-size: 14.5px; margin: 0 !important; }

/* Inline CTA inside content */
.inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(99,102,241,.16), rgba(34,211,238,.10));
  border: 1px solid rgba(99, 102, 241, 0.32);
  border-radius: 18px;
  padding: 30px 32px;
  margin: 44px 0 0;
}
.inline-cta h3 { font-size: 21px; margin: 0 0 6px !important; }
.inline-cta p { color: var(--muted); font-size: 14.5px; margin: 0 !important; }

/* Service cards as links */
a.service-card { display: block; color: inherit; }
a.service-card:hover h3 { color: var(--accent-2); }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  color: var(--accent-2);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-head);
}
a.service-card:hover .card-link { gap: 12px; }
.card-link .tl-icon { transition: transform .25s; }

.section-foot { text-align: center; margin-top: 48px; }
.related-services { margin-top: 64px; }
.related-services h2 { font-size: 26px; margin-bottom: 26px; }
.related-services .services-grid { grid-template-columns: repeat(3, 1fr); }
.related-services .service-card { padding: 26px 22px; }
.related-services .service-icon { width: 50px; height: 50px; margin-bottom: 16px; }
.related-services h3 { font-size: 17px; }
.related-services p { font-size: 14px; }

/* ==========================================================================
   18. Forms (enquiry form)
   ========================================================================== */
.tl-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 30px;
}
.widget .tl-form-card { background: none; border: 0; padding: 0; }
.tl-form-card h3 { font-size: 19px; margin-bottom: 20px; }
.widget .tl-form-card h3 {
  font-size: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.widget .tl-form-card h3::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  width: 46px; height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}
.tl-form p { margin-bottom: 15px; }
.tl-form label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
}
.tl-form label span { color: #f87171; }
.tl-form .tl-hp { position: absolute; left: -9999px; }
.form-submit { width: 100%; justify-content: center; margin-top: 6px; }
.form-foot { color: var(--muted); font-size: 12.5px; text-align: center; margin: 12px 0 0 !important; }
.form-notice {
  padding: 13px 16px;
  border-radius: 11px;
  font-size: 14px;
  margin-bottom: 18px;
}
.form-notice.success { background: rgba(34, 197, 94, 0.14); border: 1px solid rgba(34, 197, 94, 0.4); color: #86efac; }
.form-notice.error { background: rgba(248, 113, 113, 0.13); border: 1px solid rgba(248, 113, 113, 0.4); color: #fca5a5; }

/* Homepage contact split */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-info h3 { font-size: 24px; margin-bottom: 12px; }
.contact-info > p { color: var(--muted); margin-bottom: 8px; }
.contact-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.contact-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 13.5px;
}

/* ==========================================================================
   19. Misc UI
   ========================================================================== */
.to-top {
  position: fixed;
  bottom: 26px; left: 26px;
  z-index: 997;
  width: 46px; height: 46px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--gradient); border-color: transparent; color: #fff; }

.nav-toggle { flex-direction: column; gap: 5px; }
.nav-toggle .bar {
  display: block;
  width: 20px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle.is-open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open .bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.post-meta-hero { color: var(--muted); margin-bottom: 14px; font-size: 14px; }
.post-meta-hero a { color: var(--muted); }
.empty-state { text-align: center; padding: 60px 0; }
.empty-state h2 { margin-bottom: 12px; }
.empty-state p { color: var(--muted); margin-bottom: 26px; }
.error-hero { min-height: 68vh; display: flex; align-items: center; }
.err-code { font-size: clamp(72px, 12vw, 140px); line-height: 1; }
.err-text { color: var(--muted); font-size: 18px; margin: 16px 0 32px; }
.error-hero .hero-actions { justify-content: center; }
.err-search { margin-top: 40px; }
.cta-band-section { padding-top: 0; }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact .tl-icon { color: var(--accent-2); flex: 0 0 auto; }

/* Footer submenus render inline, never as floating boxes */
.site-footer ul { list-style: none; }
.site-footer .sub-menu,
.site-footer .children {
  position: static !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 8px 0 4px 14px !important;
  margin: 0 !important;
  min-width: 0 !important;
  border-left: 1px solid var(--border) !important;
}
.site-footer .sub-menu li { margin-bottom: 9px; }
.site-footer .sub-menu a { font-size: 13.5px; opacity: .85; }
.site-footer .menu-item-has-children > a { color: #fff; font-weight: 600; }

/* ==========================================================================
   20. Homepage blog section (category tabs)
   ========================================================================== */
.blog-section .blog-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.blog-section .post-card h3 { font-size: 16.5px; }
.blog-section .post-card p { font-size: 14px; }
.blog-section .post-card .post-body { padding: 20px 20px 22px; }

.tab-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}
.tab-btn {
  padding: 10px 22px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  transition: all .25s;
  white-space: nowrap;
}
.tab-btn:hover { color: #fff; border-color: rgba(99, 102, 241, 0.5); }
.tab-btn.is-active {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 22px rgba(99, 102, 241, 0.35);
}

.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: tabIn .35s ease both; }
@keyframes tabIn { from { opacity: 0; transform: translateY(10px); } }

.tab-foot { text-align: center; margin-top: 34px; }

/* Without JS, every panel simply stacks — nothing is hidden from the reader */
.no-js .tab-panel { display: block; }
.no-js .tab-nav { display: none; }

/* ==========================================================================
   21. Locations band (local SEO)
   ========================================================================== */
.locations-band { padding: 34px 0; background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.loc-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.loc-head { display: flex; align-items: center; gap: 15px; }
.loc-head .tl-icon { color: var(--accent-2); flex: 0 0 auto; }
.loc-head h3 { font-size: 18px; margin-bottom: 3px; }
.loc-head p { color: var(--muted); font-size: 14px; }
.loc-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.loc-list li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 50px;
  border: 1px solid rgba(99, 102, 241, 0.32);
  background: rgba(99, 102, 241, 0.10);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-head);
}
.loc-list li .tl-icon { color: var(--accent-2); }
.loc-list .loc-more { background: none; border-color: var(--border); color: var(--muted); font-weight: 500; }

/* ==========================================================================
   13. Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  .blog-section .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1100px) {
  .content-area .container.with-sidebar,
  .content-area .container.sidebar-left { grid-template-columns: 1fr; gap: 40px; }
  .content-area .container.sidebar-left .content-main { order: 1; }
  .content-area .container.sidebar-left .site-sidebar { order: 2; }
  .site-sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
  .related-services .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 70px; }
  .services-grid, .testi-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .include-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .site-sidebar { grid-template-columns: 1fr; }
  .related-services .services-grid { grid-template-columns: 1fr; }
  .inline-cta { flex-direction: column; align-items: flex-start; }
  .breadcrumbs ol { justify-content: flex-start; }
  .to-top { bottom: 22px; left: 22px; width: 42px; height: 42px; }
  .loc-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .blog-section .blog-grid { grid-template-columns: 1fr; }
  /* Tabs scroll horizontally rather than wrapping into a tall block */
  .tab-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    margin-left: -24px;
    margin-right: -24px;
    padding-left: 24px;
    padding-right: 24px;
  }
  .tab-nav::-webkit-scrollbar { display: none; }
  .service-hero-icon { width: 64px; height: 64px; }
  .service-tagline { font-size: 17px; }
  .main-nav {
    position: fixed;
    inset: 0;
    background: rgba(7, 11, 20, 0.98);
    backdrop-filter: blur(20px);
    display: none;
    z-index: 990;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 96px 22px 50px;
  }
  .main-nav.open { display: block; }

  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-width: 480px;
    margin: 0 auto;
  }
  .main-nav > ul > li { border-bottom: 1px solid var(--border); }
  .main-nav a {
    font-size: 17px;
    padding: 16px 4px;
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
  .main-nav > ul > li > a::after { display: none; }

  /* Submenus become inline accordions, never floating panels */
  .main-nav .sub-menu,
  .main-nav .sub-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    min-width: 0;
    margin: 0 0 10px;
    padding: 4px 0 4px 16px;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 0;
    border-left: 2px solid rgba(99, 102, 241, 0.45);
    border-radius: 0;
    box-shadow: none;
    transition: none;
  }
  .main-nav .sub-menu::before { display: none; }
  .main-nav li.is-open > .sub-menu { display: block; }
  .main-nav li:hover > .sub-menu,
  .main-nav li:focus-within > .sub-menu { display: none; }
  .main-nav li.is-open > .sub-menu { display: block; }
  .main-nav .sub-menu a { font-size: 15px; padding: 11px 12px; }

  /* Tap the caret to expand rather than following the link */
  .main-nav .submenu-toggle {
    display: flex;
    position: absolute;
    top: 6px; right: 0;
    width: 46px; height: 46px;
    background: none;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
  }
  .main-nav .sub-menu .submenu-toggle { top: 2px; width: 40px; height: 40px; }
  .main-nav .submenu-toggle::before {
    content: '';
    width: 8px; height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform .25s;
  }
  .main-nav li.is-open > .submenu-toggle::before { transform: rotate(-135deg) translate(-3px, -3px); }
  .main-nav .menu-item-has-children > a { padding-right: 56px; }
  .main-nav .menu-item-has-children > a::before { display: none; }

  .nav-toggle { display: flex; z-index: 1000; position: relative; }
  .header-cta .btn { display: none; }
  .services-grid, .testi-grid, .blog-grid { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .hero { padding: 130px 0 70px; }
  .cta-box { padding: 54px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-chip.chip-1 { right: 4px; }
  .hero-chip.chip-2 { left: 4px; }
}
@media (max-width: 480px) {
  .stats-band { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
