/* ==========================================================================
   CTDC Pro Design 2.0 — ctdcuae.com
   Targets: Header Footer Elementor (#masthead / #colophon), Elementor widgets,
   Contact Form 7, SKT blog templates. Brand blue #0096FE + deep navy.
   ========================================================================== */
:root {
	--c-blue: #0096fe;
	--c-blue-btn: #0a74dc;
	--c-blue-dark: #0759b0;
	--c-tint: #f0f7ff;
	--c-navy: #0f1b2d;
	--c-navy-2: #16294a;
	--c-ink: #1b2536;
	--c-muted: #5b6678;
	--c-line: #e4e9f0;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow-sm: 0 1px 2px rgba(15,27,45,.06), 0 2px 8px rgba(15,27,45,.05);
	--shadow-md: 0 10px 28px rgba(15,27,45,.10);
	--shadow-lg: 0 20px 48px rgba(15,27,45,.16);
	--font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
	--font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Global ---------- */
html { scroll-behavior: smooth; }
body {
	font-family: var(--font-body);
	color: var(--c-ink);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
/* one heading font + one body font everywhere (the template mixed Oswald/Poppins/Montserrat) */
h1, h2, h3, h4, h5, h6,
.elementor-heading-title,
.elementor-widget-heading .elementor-heading-title {
	font-family: var(--font-head) !important;
	letter-spacing: -.015em;
}
.elementor-widget-text-editor, .elementor-widget-text-editor p,
.elementor-icon-list-text, .elementor-widget-icon-box p, .elementor-widget-image-box p,
.elementor-button, .elementor-counter-title, p, li {
	font-family: var(--font-body) !important;
}
a { transition: color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
::selection { background: var(--c-blue); color: #fff; }
:focus-visible { outline: 3px solid rgba(0,150,254,.55); outline-offset: 2px; border-radius: 4px; }

/* ---------- Top bar ---------- */
.ctdc-topbar { background: var(--c-navy); color: #c9d4e5; font-size: 13px; font-family: var(--font-body); }
.ctdc-topbar__in { max-width: 1240px; margin: 0 auto; padding: 8px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.ctdc-topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.ctdc-topbar a:hover { color: var(--c-blue); }
@media (max-width: 640px) { .ctdc-topbar__loc { display: none; } .ctdc-topbar__in { justify-content: center; padding: 7px 12px; } }

/* ---------- Header (replaces the template header; the old one stays as a fallback) ---------- */
body:has(.ctdc-header) #masthead { display: none !important; }
[hidden] { display: none !important; }

.ctdc-header {
	position: sticky; top: 0; z-index: 1000;
	background: rgba(255,255,255,.96);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid var(--c-line);
	font-family: var(--font-body);
	transition: box-shadow .25s var(--ease);
}
body.admin-bar .ctdc-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .ctdc-header { top: 46px; } }
.ctdc-header.is-stuck { box-shadow: 0 10px 30px rgba(15,27,45,.10); }
.ctdc-header__in {
	position: relative; max-width: 1240px; margin: 0 auto; padding: 0 24px;
	height: 82px; display: flex; align-items: center; gap: 28px;
	transition: height .25s var(--ease);
}
.ctdc-header.is-stuck .ctdc-header__in { height: 68px; }
.ctdc-brand { flex: 0 0 auto; display: flex; align-items: center; text-decoration: none; }
.ctdc-logo { height: 56px; width: auto; max-width: none; display: block; transition: height .25s var(--ease); }
.ctdc-header.is-stuck .ctdc-logo { height: 46px; }
.ctdc-logo-text { font-family: var(--font-head); font-weight: 800; font-size: 28px; color: var(--c-navy); }

/* navigation */
.ctdc-nav { flex: 1 1 auto; align-self: stretch; display: flex; justify-content: center; }
.ctdc-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; gap: 2px; }
.ctdc-nav > ul > li { position: static; display: flex; align-items: center; margin: 0; }
.ctdc-nav > ul > li > a {
	position: relative; display: block; padding: 10px 16px; border-radius: 10px;
	font-size: 15.5px; font-weight: 500; color: var(--c-ink); text-decoration: none;
}
.ctdc-nav > ul > li > a::after {
	content: ""; position: absolute; left: 16px; right: 16px; bottom: 3px; height: 2px; border-radius: 2px;
	background: var(--c-blue); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.ctdc-nav > ul > li:hover > a, .ctdc-nav > ul > li:focus-within > a, .ctdc-nav > ul > li.is-current > a { color: var(--c-blue-btn); }
.ctdc-nav > ul > li:hover > a::after, .ctdc-nav > ul > li.is-current > a::after, .ctdc-nav > ul > li.is-open > a::after { transform: scaleX(1); }
.ctdc-sub-toggle {
	width: 26px; height: 26px; margin-left: -10px; display: grid; place-items: center; border: 0; background: transparent;
	color: var(--c-muted); cursor: pointer; border-radius: 50%; transition: transform .25s var(--ease), color .2s;
}
.has-sub:hover > .ctdc-sub-toggle, .has-sub.is-open > .ctdc-sub-toggle { color: var(--c-blue-btn); transform: rotate(180deg); }

/* services mega menu */
.ctdc-mega {
	position: absolute; left: 50%; top: 100%; width: min(900px, calc(100vw - 48px));
	transform: translate(-50%, 10px); opacity: 0; visibility: hidden;
	background: #fff; border: 1px solid var(--c-line); border-top: 3px solid var(--c-blue);
	border-radius: 0 0 20px 20px; box-shadow: var(--shadow-lg); padding: 18px 18px 14px;
	transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.has-sub:hover > .ctdc-mega, .has-sub:focus-within > .ctdc-mega, .has-sub.is-open > .ctdc-mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.ctdc-mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.ctdc-mega__grid a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; text-decoration: none; transition: background .2s var(--ease), transform .2s var(--ease); }
.ctdc-mega__grid a:hover, .ctdc-mega__grid a:focus-visible { background: var(--c-tint); transform: translateX(3px); }
.ctdc-mega__grid strong { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--c-navy); }
.ctdc-mega__grid a:hover strong { color: var(--c-blue-btn); }
.ctdc-mega__grid span { font-size: 13px; line-height: 1.45; color: var(--c-muted); }
.ctdc-mega__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 10px; padding: 14px 14px 2px; border-top: 1px solid var(--c-line); font-size: 13.5px; color: var(--c-muted); }
.ctdc-mega__foot a { color: var(--c-blue-btn); font-weight: 600; text-decoration: none; white-space: nowrap; }
.ctdc-mega__foot a:hover { text-decoration: underline; }

/* right-hand actions */
.ctdc-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 18px; }
.ctdc-phone { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.ctdc-phone__ico { width: 42px; height: 42px; border-radius: 50%; background: var(--c-tint); color: var(--c-blue-btn); display: grid; place-items: center; transition: background .2s, color .2s; }
.ctdc-phone:hover .ctdc-phone__ico { background: var(--c-blue-btn); color: #fff; }
.ctdc-phone__txt { display: flex; flex-direction: column; line-height: 1.2; }
.ctdc-phone__txt small { font-size: 11.5px; color: var(--c-muted); font-weight: 500; }
.ctdc-phone__txt strong { font-size: 15px; font-weight: 700; color: var(--c-navy); white-space: nowrap; }
.ctdc-hbtn {
	display: inline-block; padding: 13px 24px; border-radius: 999px; white-space: nowrap;
	background: linear-gradient(135deg, var(--c-blue), var(--c-blue-btn)); color: #fff !important;
	font-weight: 600; font-size: 15px; text-decoration: none; box-shadow: 0 6px 16px rgba(10,116,220,.32);
	transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.ctdc-hbtn:hover { background: var(--c-navy); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(15,27,45,.25); }
.ctdc-callbtn, .ctdc-burger { display: none; }

@media (max-width: 1180px) { .ctdc-phone { display: none; } .ctdc-nav > ul > li > a { padding: 10px 12px; } }

/* tablet + mobile */
@media (max-width: 1024px) {
	.ctdc-header__in { height: 68px; padding: 0 16px; gap: 12px; }
	.ctdc-header.is-stuck .ctdc-header__in { height: 60px; }
	.ctdc-logo { height: 44px; } .ctdc-header.is-stuck .ctdc-logo { height: 40px; }
	.ctdc-nav, .ctdc-phone { display: none; }
	.ctdc-actions { margin-left: auto; gap: 10px; }
	.ctdc-hbtn { padding: 11px 18px; font-size: 14px; }
	.ctdc-callbtn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--c-tint); color: var(--c-blue-btn); }
	.ctdc-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 11px; border: 1px solid var(--c-line); border-radius: 12px; background: #fff; cursor: pointer; }
	.ctdc-burger span { display: block; height: 2px; border-radius: 2px; background: var(--c-navy); }
}
@media (max-width: 520px) { .ctdc-hbtn { display: none; } }

/* mobile drawer */
.ctdc-backdrop { position: fixed; inset: 0; z-index: 1090; background: rgba(15,27,45,.55); opacity: 0; transition: opacity .3s var(--ease); }
.ctdc-backdrop.is-open { opacity: 1; }
.ctdc-drawer {
	position: fixed; top: 0; right: 0; bottom: 0; z-index: 1100; width: min(380px, 88vw);
	background: #fff; display: flex; flex-direction: column; overflow-y: auto;
	transform: translateX(100%); transition: transform .3s var(--ease); box-shadow: -20px 0 60px rgba(15,27,45,.25); font-family: var(--font-body);
}
.ctdc-drawer.is-open { transform: none; }
.ctdc-drawer__top { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--c-line); }
.ctdc-drawer__title { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--c-navy); }
.ctdc-drawer__close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--c-tint); color: var(--c-navy); font-size: 26px; line-height: 1; cursor: pointer; }
.ctdc-drawer__nav, .ctdc-drawer__sub { list-style: none; margin: 0; padding: 0; }
.ctdc-drawer__nav { padding: 10px 12px; flex: 1 1 auto; }
.ctdc-drawer__nav > li > a, .ctdc-drawer__acc {
	display: flex; justify-content: space-between; align-items: center; width: 100%; box-sizing: border-box;
	padding: 15px 12px; border: 0; background: transparent; border-radius: 12px;
	font: 600 17px var(--font-body); color: var(--c-navy); text-decoration: none; text-align: left; cursor: pointer;
}
.ctdc-drawer__nav > li > a:hover, .ctdc-drawer__acc:hover { background: var(--c-tint); }
.ctdc-drawer__acc svg { transition: transform .25s var(--ease); }
.has-sub.is-open > .ctdc-drawer__acc svg { transform: rotate(180deg); }
.ctdc-drawer__sub { display: none; padding: 2px 0 8px 10px; border-left: 2px solid var(--c-tint); margin-left: 14px; }
.has-sub.is-open > .ctdc-drawer__sub { display: block; }
.ctdc-drawer__sub a { display: block; padding: 11px 12px; border-radius: 10px; font-size: 15.5px; color: var(--c-ink); text-decoration: none; }
.ctdc-drawer__sub a:hover { background: var(--c-tint); color: var(--c-blue-btn); }
.ctdc-drawer__foot { padding: 18px 20px 26px; display: grid; gap: 12px; border-top: 1px solid var(--c-line); }
.ctdc-drawer__foot p { margin: 4px 0 0; font-size: 13px; color: var(--c-muted); text-align: center; }
.ctdc-drawer__foot .ctdc-b { display: block; text-align: center; padding: 14px 20px; border-radius: 999px; font-weight: 600; font-size: 15.5px; text-decoration: none; }
.ctdc-drawer__foot .ctdc-b--p { background: linear-gradient(135deg, var(--c-blue), var(--c-blue-btn)); color: #fff; }
.ctdc-drawer__foot .ctdc-b--g { border: 2px solid var(--c-line); color: var(--c-navy); }
html.ctdc-menu-open { overflow: hidden; }

/* ---------- Buttons ---------- */
.elementor-button {
	font-family: var(--font-body) !important;
	font-weight: 600 !important;
	letter-spacing: .02em;
	border-radius: 999px !important;
	transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease) !important;
}
.elementor-button:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.ctdc-btn-primary .elementor-button,
.ctdc-card .elementor-button {
	background: linear-gradient(135deg, var(--c-blue), var(--c-blue-btn)) !important;
	color: #fff !important;
	box-shadow: 0 6px 16px rgba(10,116,220,.30);
}
.ctdc-btn-primary .elementor-button:hover,
.ctdc-card .elementor-button:hover { background: var(--c-navy) !important; }
.ctdc-btn-ghost .elementor-button {
	background: transparent !important;
	color: #fff !important;
	border: 2px solid rgba(255,255,255,.75) !important;
}
.ctdc-btn-ghost .elementor-button:hover { background: #fff !important; color: var(--c-navy) !important; }

/* ---------- Home: hero (main header section) ---------- */
.ctdc-hero { position: relative; overflow: hidden; min-height: 640px !important; padding: 84px 24px !important; }
.ctdc-hero::before {
	content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: linear-gradient(105deg, rgba(15,27,45,.95) 0%, rgba(15,27,45,.82) 46%, rgba(8,70,140,.55) 100%);
}
.ctdc-hero::after {
	content: ""; position: absolute; right: -140px; top: -140px; width: 540px; height: 540px; border-radius: 50%; z-index: 1; pointer-events: none;
	background: radial-gradient(circle, rgba(0,150,254,.38), transparent 66%);
}
.ctdc-hero > * { position: relative; z-index: 2; }
.ctdc-hero__row { width: 100%; max-width: 1240px; margin: 0 auto; }
.ctdc-hero__left { gap: 20px; }
.ctdc-hero .ctdc-eyebrow .elementor-heading-title {
	display: inline-block; padding: 8px 16px; border-radius: 999px; font-size: 12.5px !important; font-weight: 700 !important;
	letter-spacing: .14em !important; text-transform: uppercase; color: #bfe3ff !important; line-height: 1.3 !important;
	background: rgba(0,150,254,.18); border: 1px solid rgba(0,150,254,.5); text-shadow: none;
}
.ctdc-hero .ctdc-hero-h1 .elementor-heading-title {
	color: #fff !important; font-weight: 800 !important; line-height: 1.1 !important; letter-spacing: -.025em !important;
	font-size: clamp(34px, 4.6vw, 58px) !important; text-shadow: 0 2px 24px rgba(0,0,0,.25); max-width: 700px; margin: 0;
}
.ctdc-hero .ctdc-hero-text, .ctdc-hero .ctdc-hero-text p { color: #d6e0ef !important; font-size: 18px; line-height: 1.7; max-width: 600px; margin: 0; }
.ctdc-hero__btns { gap: 14px; }
.ctdc-hero .ctdc-trust .elementor-icon-list-items { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.ctdc-hero .ctdc-trust .elementor-icon-list-text { color: #d6e0ef !important; font-size: 14.5px; font-weight: 500; }
.ctdc-hero .ctdc-trust .elementor-icon-list-icon i { color: #4cc3ff; }
.ctdc-hero .ctdc-trust .elementor-icon-list-icon svg { fill: #4cc3ff; }

/* glass card with popular services */
.ctdc-hero__card {
	background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 22px; padding: 28px !important;
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 24px 60px rgba(0,0,0,.28); gap: 6px;
}
.ctdc-hero .ctdc-card-title .elementor-heading-title { color: #fff !important; font-size: 20px !important; font-weight: 700 !important; margin: 0 0 6px; }
.ctdc-quick .elementor-icon-list-item { border-bottom: 1px solid rgba(255,255,255,.12); }
.ctdc-quick .elementor-icon-list-item:last-child { border-bottom: 0; }
.ctdc-quick .elementor-icon-list-items .elementor-icon-list-item > a { display: flex !important; align-items: center; padding: 13px 2px !important; justify-content: space-between; flex-direction: row-reverse; }
.ctdc-quick .elementor-icon-list-text { color: #fff !important; font-size: 16px; font-weight: 500; }
.ctdc-quick .elementor-icon-list-icon { color: #4cc3ff; justify-content: flex-end; }
.ctdc-quick .elementor-icon-list-item a:hover .elementor-icon-list-text { color: #4cc3ff !important; }
.ctdc-btn-block .elementor-button { width: 100%; justify-content: center; text-align: center; }
.ctdc-btn-block { width: 100%; margin-top: 12px; }
@media (max-width: 1024px) { .ctdc-hero { padding: 56px 20px !important; min-height: 0 !important; } .ctdc-hero__row { gap: 32px !important; } }

@media (max-width: 1024px) {
	.ctdc-hero__left, .ctdc-hero__card { width: 100% !important; max-width: 100% !important; flex-basis: 100% !important; }
}
@media (max-width: 640px) {
	.ctdc-hero .ctdc-eyebrow .elementor-heading-title { font-size: 11px !important; letter-spacing: .1em !important; border-radius: 14px; padding: 7px 12px; }
	.ctdc-hero__btns { flex-direction: column !important; align-items: stretch !important; }
	.ctdc-hero__btns .elementor-widget-button, .ctdc-hero__btns .elementor-button { width: 100%; text-align: center; justify-content: center; }
	.ctdc-hero .ctdc-hero-text, .ctdc-hero .ctdc-hero-text p { font-size: 16.5px; }
}

/* ---------- Home: sections ---------- */
.ctdc-soft { background-color: var(--c-tint) !important; }
.ctdc-dark { background-color: var(--c-navy) !important; }
.ctdc-dark .elementor-heading-title, .ctdc-dark .elementor-widget-text-editor, .ctdc-dark p { color: #fff !important; }
.ctdc-dark .elementor-widget-text-editor, .ctdc-dark p { color: #c9d4e5 !important; }

/* eyebrow headings ("WELCOME TO CTDC", "OUR SERVICES") */
.elementor-widget-heading h5.elementor-heading-title,
.ctdc-services .elementor-widget-heading:first-child .elementor-heading-title {
	text-transform: uppercase; letter-spacing: .14em !important; font-size: 13px !important;
	font-weight: 700 !important; color: var(--c-blue-btn) !important;
}

/* stats */
.ctdc-stat { text-align: center; }
.ctdc-stat .elementor-counter-number-wrapper { color: var(--c-blue-btn); font-family: var(--font-head); font-weight: 800; }
.ctdc-stat .elementor-heading-title { font-size: 15px !important; font-weight: 600 !important; color: var(--c-muted) !important; }

/* service cards */
.ctdc-services { background: #fff; }
.ctdc-card {
	background: #fff !important;
	border: 1px solid var(--c-line) !important;
	border-radius: var(--radius) !important;
	box-shadow: var(--shadow-sm);
	padding: 28px 24px !important;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.ctdc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(0,150,254,.45) !important; }
.ctdc-card .elementor-widget-image img { max-width: 76px; height: auto; margin: 0 auto 6px; }
.ctdc-card .elementor-heading-title { color: var(--c-navy); }
.ctdc-card .elementor-widget-heading:nth-of-type(2) .elementor-heading-title { font-size: 21px !important; font-weight: 700 !important; }
.ctdc-card .elementor-widget-heading:nth-of-type(3) .elementor-heading-title { font-size: 15px !important; font-weight: 400 !important; color: var(--c-muted) !important; line-height: 1.6 !important; }

/* closing call-to-action */
.ctdc-cta {
	background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-2) 55%, var(--c-blue-dark) 100%);
	padding: 84px 24px !important;
	text-align: center;
}
.ctdc-cta-title .elementor-heading-title { color: #fff !important; font-size: clamp(26px, 3.6vw, 40px) !important; font-weight: 800 !important; }
.ctdc-cta-text, .ctdc-cta-text p { color: #c9d4e5 !important; font-size: 17px; max-width: 640px; margin: 0 auto 8px; }

/* ---------- Other pages: cards, accordions, images ---------- */
.elementor-widget-icon-box .elementor-icon-box-wrapper,
.elementor-widget-image-box .elementor-image-box-wrapper {
	transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.elementor-widget-icon-box:hover .elementor-icon-box-wrapper,
.elementor-widget-image-box:hover .elementor-image-box-wrapper { transform: translateY(-4px); }
.elementor-widget-image img { border-radius: var(--radius-sm); }
.elementor-widget-icon-list .elementor-icon-list-icon i, .elementor-widget-icon-list .elementor-icon-list-icon svg { color: var(--c-blue); fill: var(--c-blue); }

/* ---------- Forms (Contact Form 7) ---------- */
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="url"],
.wpcf7 input[type="number"], .wpcf7 select, .wpcf7 textarea {
	width: 100%; box-sizing: border-box;
	font-family: var(--font-body); font-size: 15px; color: var(--c-ink);
	background: #fff; border: 1.5px solid var(--c-line); border-radius: var(--radius-sm); padding: 13px 16px;
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--c-blue); box-shadow: 0 0 0 4px rgba(0,150,254,.15); }
.wpcf7 label { font-weight: 500; color: var(--c-navy); font-size: 14px; display: block; }
.wpcf7 p { margin-bottom: 18px; }
.wpcf7 input[type="submit"] {
	background: linear-gradient(135deg, var(--c-blue), var(--c-blue-btn)); color: #fff; border: 0; border-radius: 999px;
	padding: 14px 36px; font-weight: 600; cursor: pointer; width: auto;
	transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.wpcf7 input[type="submit"]:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.wpcf7-not-valid-tip { color: #c62828; font-size: 13px; margin-top: 6px; }
.wpcf7 form .wpcf7-response-output { border-radius: var(--radius-sm); padding: 14px 18px; margin: 18px 0 0; }

/* ---------- Blog / theme templates ---------- */
.inner-banner-thumb {
	min-height: 240px;
	background: linear-gradient(135deg, var(--c-navy), var(--c-navy-2) 55%, var(--c-blue-dark));
}
.inner-banner-thumb::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(135deg, rgba(15,27,45,.85), rgba(0,150,254,.35)); }
.inner-banner-thumb .banner-container, .inner-banner-thumb h1 { position: relative; z-index: 2; }
.inner-banner-thumb h1 { font-family: var(--font-head); font-weight: 800; font-size: clamp(28px, 4vw, 44px); color: #fff; }
.entry-title a { color: var(--c-navy); }
.entry-title a:hover { color: var(--c-blue); }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content { font-size: 16.5px; line-height: 1.75; }

/* ---------- Footer (Header Footer Elementor) ---------- */
#colophon { background: linear-gradient(180deg, #0f1b2d 0%, #0a1322 100%); color: #b7c2d3; }
#colophon .elementor-section, #colophon .elementor-container, #colophon .elementor-column-wrap { background-color: transparent !important; }
#colophon .elementor-heading-title {
	color: #fff !important; font-size: 18px !important; font-weight: 700 !important; letter-spacing: 0 !important;
}
#colophon .elementor-widget-heading .elementor-heading-title::after {
	content: ""; display: block; width: 36px; height: 3px; margin-top: 12px; border-radius: 3px; background: var(--c-blue);
}
#colophon .elementor-widget-text-editor, #colophon .elementor-widget-text-editor p,
#colophon .elementor-icon-list-text { color: #b7c2d3 !important; font-size: 14.5px; line-height: 1.7; }
#colophon a { color: #b7c2d3; }
#colophon a:hover, #colophon .elementor-icon-list-item:hover .elementor-icon-list-text { color: #fff !important; }
#colophon .elementor-icon-list-item { transition: transform .2s var(--ease); }
#colophon .elementor-icon-list-item:hover { transform: translateX(4px); }
/* the template's newsletter box is a non-working fake form: hide it */
#colophon .elementor-inner-section:has(.elementor-widget-html input[type="text"]) { display: none !important; }
/* copyright strip */
#colophon > div > .elementor-section:last-child,
#colophon .elementor-inner-section:last-child { border-top: 1px solid rgba(255,255,255,.08); }

/* ---------- Floating helpers ---------- */
.ctdc-top {
	position: fixed; right: 22px; bottom: 22px; z-index: 998; width: 46px; height: 46px; border-radius: 50%;
	border: 0; cursor: pointer; background: var(--c-navy); color: #fff; box-shadow: var(--shadow-md);
	display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: opacity .25s var(--ease), transform .25s var(--ease), background .2s, visibility .25s;
}
.ctdc-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.ctdc-top:hover { background: var(--c-blue-btn); }
.ctdc-whatsapp {
	position: fixed; left: 22px; bottom: 22px; z-index: 998; width: 54px; height: 54px; border-radius: 50%;
	display: grid; place-items: center; background: #25d366; color: #fff !important; box-shadow: 0 8px 22px rgba(37,211,102,.45);
}
.ctdc-whatsapp:hover { transform: scale(1.07); }

/* ---------- Scroll reveal (only when JS runs) ---------- */
html.ctdc-js .ctdc-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.ctdc-js .ctdc-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
	html.ctdc-js .ctdc-reveal { opacity: 1; transform: none; }
}
@media print { .ctdc-header { position: static; } .ctdc-topbar { display: none !important; } .ctdc-top, .ctdc-whatsapp, .ctdc-topbar { display: none !important; } }
