/* Reading Progress Bar */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--primary-gradient);
    z-index: 9999;
    transition: width 0.1s ease;
}

.page-banner {
    background-color: #0f172a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: #fff;
    padding: 120px 0;
    overflow: hidden;
}

/* Background Blobs */
.blob-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.floating-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: drift 20s infinite alternate-reverse linear;
}

.blob-primary {
    width: 600px;
    height: 600px;
    background: var(--primary-gradient);
    top: -200px;
    right: -100px;
}

.blob-accent {
    width: 400px;
    height: 400px;
    background: var(--accent-gradient);
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    100% { transform: translate(100px, 50px) scale(1.1) rotate(20deg); }
}

.page-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.6));
    z-index: 1;
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.banner-title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
}

.banner-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .banner-title {
        font-size: 2rem;
    }
    .page-banner {
        padding: 60px 0;
    }
}

/* ==========================================================================
   1. Reset & Typography
   ========================================================================== */
*, *::before, *::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	font-size: 16px;
	line-height: 1.8;
	color: #334155;
	background-color: #f8fafc;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	margin-top: 0;
	margin-bottom: 0.5em;
	font-weight: 700;
	line-height: 1.3;
	color: #0f172a;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

a {
	color: var(--primary);
	text-decoration: none;
	transition: all 0.2s;
}

a:hover {
	color: var(--primary-dark);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.text-success { color: #10b981; }
.text-warning { color: #f59e0b; }
.text-danger { color: #ef4444; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.ml-10 { margin-left: 10px; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-flex-between { display: flex; justify-content: space-between; align-items: center; }
.align-items-center { align-items: center; }

/* ==========================================================================
   2. Layout & Containers
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1400px; /* Expanded for more content focus */
    margin-left: auto;
    margin-right: auto;
    padding: 0 25px; /* Increased slightly for inner breathing */
}
.container-narrow {
	max-width: 800px;
}
.container-wide {
	max-width: 1400px;
}
.bg-gray { background-color: var(--bg-gray); }
.bg-dark { background-color: var(--bg-dark); color: #fff; }
.bg-white { background-color: var(--bg); }

section {
	padding: 80px 0;
}

/* ==========================================================================
   3. Buttons
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 24px;
	font-weight: 600;
	border-radius: var(--radius);
	cursor: pointer;
	border: 2px solid transparent;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	white-space: nowrap;
}
.btn-primary {
	background-color: var(--accent);
	color: #fff;
}
.btn-primary:hover {
	background-color: #1d4ed8; /* Darker blue */
	color: #fff;
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}
.btn-outline {
	background-color: transparent;
	border-color: var(--primary);
	color: var(--primary);
}
.btn-outline:hover {
	background-color: var(--primary);
	color: #fff;
}
.btn-outline-light {
	background-color: transparent;
	border-color: #fff;
	color: #fff;
}
.btn-outline-light:hover {
	background-color: #fff;
	color: var(--bg-dark);
}
.btn-lg {
	padding: 14px 32px;
	font-size: 1.125rem;
}
.btn-sm {
	padding: 6px 16px;
	font-size: 0.875rem;
}
.btn-block {
	width: 100%;
}

/* ==========================================================================
   4. Header & Navigation
   ========================================================================== */
.announcement-bar {
	background-color: var(--primary-dark) !important; /* Override DB value for consistency */
	position: relative;
	color: #fff;
	text-align: center;
	padding: 8px 40px;
	font-size: 0.875rem;
	z-index: 101;
}
.announcement-link {
	color: #fff;
	font-weight: 500;
}
.announcement-link:hover {
	text-decoration: underline;
}
.announcement-close {
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	border: none;
	color: #fff;
	cursor: pointer;
	padding: 5px;
	opacity: 0.8;
}
.announcement-close svg {
	width: 16px;
	height: 16px;
}

.site-header {
	background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--glass-border);
	transition: var(--transition);
	z-index: 10000;
    position: sticky;
    top: 0;
}

.sticky-header.scrolled {
	box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    background-color: rgba(255, 255, 255, 0.9);
    height: 70px;
}

.sticky-header.scrolled .site-header-inner {
    height: 70px;
}
.site-header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 80px;
}
.site-branding .site-title {
	font-size: 1.5rem;
	font-weight: 800;
	margin: 0;
}
.site-branding a {
	color: var(--text);
}

/* Navigation Menu */
.main-navigation .nav-menu-container > ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
}
.main-navigation li {
	position: relative;
}
.main-navigation a {
	display: flex;
	align-items: center;
	padding: 10px 15px;
	color: var(--text);
	font-weight: 500;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a {
	color: var(--primary);
}
.icon-dropdown {
	width: 16px;
	height: 16px;
	margin-left: 4px;
}

/* Dropdown */
.main-navigation .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background: #fff;
	box-shadow: var(--shadow-md);
	border-radius: var(--radius);
	min-width: 200px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.2s ease;
	list-style: none;
	padding: 10px 0;
	border: 1px solid var(--border);
}
.main-navigation li:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.main-navigation .sub-menu a {
	padding: 8px 20px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.nav-item-desc {
	font-size: 0.75rem;
	color: var(--text-light);
	font-weight: 400;
	margin-top: 2px;
}
.nav-group-title-text {
	padding: 10px 20px 5px;
	font-size: 0.75rem;
	text-transform: uppercase;
	color: var(--text-muted);
	font-weight: 700;
	letter-spacing: 0.05em;
}

/* Header Actions */
.header-actions {
	display: flex;
	align-items: center;
	gap: 15px;
}
.search-toggle {
	background: transparent;
	border: none;
	cursor: pointer;
	color: var(--text);
	padding: 5px;
}
.search-toggle svg {
	width: 20px;
	height: 20px;
}
/* Floating Search Overlay */
.search-overlay {
	position: fixed;
	inset: 0;
	background: rgba(10, 20, 40, 0.88);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}
.search-overlay.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: all;
}
.search-overlay-inner {
	width: 100%;
	max-width: 640px;
	padding: 0 24px;
	text-align: center;
}
.search-overlay-hint {
	color: rgba(255,255,255,0.5);
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	margin-bottom: 20px;
}
.search-overlay .search-form {
	display: flex;
	align-items: center;
	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.2);
	border-radius: 50px;
	padding: 6px 6px 6px 24px;
	gap: 8px;
}
.search-overlay .search-field {
	flex: 1;
	background: transparent;
	border: none;
	color: #fff;
	font-size: 1.25rem;
	outline: none;
}
.search-overlay .search-field::placeholder {
	color: rgba(255,255,255,0.35);
}
.search-overlay .search-submit {
	background: var(--primary);
	color: #fff;
	border: none;
	border-radius: 50px;
	padding: 10px 24px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.2s;
}
.search-overlay .search-submit:hover {
	background: var(--primary-light);
}
.search-overlay-close {
	position: fixed;
	top: 24px;
	right: 24px;
	background: rgba(255,255,255,0.1);
	border: none;
	color: #fff;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s;
}
.search-overlay-close:hover {
	background: rgba(255,255,255,0.25);
}
.search-overlay-close svg {
	width: 20px;
	height: 20px;
}

.menu-toggle {
	display: none;
	background: transparent;
	border: none;
	padding: 10px;
}
.hamburger-box {
	display: block;
	width: 24px;
	height: 16px;
	position: relative;
}
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
	width: 100%;
	height: 2px;
	background: var(--text);
	position: absolute;
	left: 0;
	transition: all 0.2s;
}
.hamburger-inner { top: 7px; }
.hamburger-inner::before { content: ''; top: -7px; }
.hamburger-inner::after { content: ''; bottom: -7px; }

/* ==========================================================================
   5. Home Page Sections
   ========================================================================== */
.hero-container {
	display: flex;
	align-items: center;
	gap: 40px;
}
.hero-content {
	flex: 1;
}
.hero-title {
	font-size: 3.5rem;
	font-weight: 800;
	line-height: 1.1;
	margin-bottom: 20px;
}
.hero-subtitle {
	font-size: 1.25rem;
	color: var(--text-light);
	margin-bottom: 30px;
	max-width: 500px;
}
.hero-actions {
	display: flex;
	gap: 15px;
	margin-bottom: 40px;
}
.hero-stats {
	display: flex;
	gap: 20px;
	margin-top: 30px;
}
.stat-item {
	display: flex;
	align-items: center;
	gap: 12px;
    background: rgba(255, 255, 255, 0.4);
    padding: 10px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}
.stat-item:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.stat-icon {
	width: 44px;
    height: 44px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.25rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.stat-info {
	display: flex;
	flex-direction: column;
}
.stat-num {
	font-size: 1.15rem;
	font-weight: 800;
	line-height: 1;
    color: var(--text);
}
.stat-label {
	font-size: 0.75rem;
	color: var(--text-light);
    margin-top: 2px;
}
.hero-image-wrapper {
	flex: 1;
}
.placeholder-image {
	background: var(--bg-gray);
	border: 2px dashed var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
	height: 400px;
	border-radius: var(--radius);
	color: var(--text-muted);
}

.section-header {
	margin-bottom: 50px;
}
.section-subtitle {
	color: var(--text-light);
	font-size: 1.125rem;
}

.service-icon {
	font-size: 2.5rem;
	margin-bottom: 16px;
	width: 64px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 16px;
	background: linear-gradient(135deg, #f0f7ff 0%, #e8f0fe 100%);
	border: 1px solid rgba(37,99,235,0.08);
	transition: transform 0.3s ease;
}
.service-card:hover .service-icon {
	transform: scale(1.1) rotate(-5deg);
}
.service-title {
	font-size: 1.1rem;
	font-weight: 800;
	margin-bottom: 10px;
    color: var(--text);
}
.service-desc {
	color: var(--text-light);
	margin-bottom: 20px;
}
.service-link {
	font-weight: 600;
	color: var(--primary);
}

.trust-container {
	display: flex;
	align-items: center;
	gap: 50px;
}
.trust-content {
	flex: 1;
}
.trust-items {
	margin-top: 30px;
}
.trust-item {
	display: flex;
	gap: 15px;
	margin-bottom: 20px;
}
.trust-icon {
	font-size: 1.5rem;
	margin-top: 3px;
}
.trust-item-title {
	margin-bottom: 5px;
}
.trust-item-desc {
	color: var(--text-light);
	margin: 0;
}
.trust-image-wrapper {
	flex: 1;
}

.section-process {
    padding: 100px 0;
    position: relative;
    background-color: #f8fafc;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0; /* No gap as we use connector lines */
    position: relative;
    margin-top: 60px;
}

/* Horizontal Connector Line */
.process-steps::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: repeating-linear-gradient(to right, var(--primary) 0, var(--primary) 8px, transparent 8px, transparent 16px);
    z-index: 1;
    opacity: 0.3;
}

.process-step {
    position: relative;
    z-index: 2;
    padding: 0 15px;
    transition: all 0.4s ease;
}

.step-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.process-step:hover .step-card {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(37,99,235,0.1);
    border-color: var(--primary);
}

.step-icon-wrap {
    width: 70px;
    height: 70px;
    background: #fff;
    border: 2px solid #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -70px auto 25px; /* Pull icon up halfway */
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    background: #fff;
    transition: all 0.4s ease;
}

.process-step:hover .step-icon-wrap {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
}

.step-icon-wrap span {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    transition: all 0.4s ease;
}

.process-step:hover .step-icon-wrap span {
    color: #fff;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.step-desc {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 991px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px 30px;
    }
    .process-steps::before {
        display: none;
    }
}

@media (max-width: 640px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}
.testimonial-card {
	background: var(--bg-gray);
	padding: 30px;
	border-radius: var(--radius);
}
.testimonial-stars {
	color: #fbbf24;
	font-size: 1.25rem;
	letter-spacing: 2px;
	margin-bottom: 15px;
}
.testimonial-content {
	font-style: italic;
	margin-bottom: 20px;
}
.testimonial-author .author-name {
	font-weight: 700;
}
.testimonial-author .author-source {
	font-size: 0.875rem;
	color: var(--text-light);
}

/* ==========================================================================
   6. Pricing & Inner Pages
   ========================================================================== */
.pricing-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	margin-top: 50px;
}
.pricing-card {
	background: #fff;
	padding: 50px 30px; /* Increas padding */
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	position: relative;
	border: 1px solid var(--border);
	display: flex;
	flex-direction: column;
    overflow: visible !important; /* Ensure badge is not cut */
}
.plan-featured {
    border: 3px solid transparent;
    background-image: linear-gradient(#fff, #fff), var(--primary-gradient);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(37,99,235,0.15);
    z-index: 2;
}

.plan-featured .btn-primary {
    background: var(--accent-gradient) !important;
}
.plan-badge {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	background: var(--accent-gradient); /* Use gradient for premium look */
	color: #fff;
	padding: 6px 18px;
	border-radius: 25px;
	font-size: 0.8rem;
	font-weight: 700;
    box-shadow: 0 4px 10px rgba(249,115,22,0.3);
    z-index: 5;
    white-space: nowrap;
}
.plan-name {
	font-size: 1.5rem;
	text-align: center;
	margin-bottom: 15px;
}
.plan-price-wrapper {
	text-align: center;
	margin-bottom: 30px;
}
.plan-currency {
	font-size: 1.5rem;
	vertical-align: top;
}
.plan-price {
	font-size: 3.5rem;
	font-weight: 800;
	line-height: 1;
}
.blog-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
}
.plan-features {
	list-style: none;
	padding: 0;
	margin: 0 0 30px 0;
	flex: 1;
}
.plan-features li {
	margin-bottom: 15px;
	display: flex;
	align-items: flex-start;
}
.icon-check {
	color: #10b981;
	margin-right: 10px;
	font-weight: bold;
}
.icon-cross {
	color: var(--text-muted);
	margin-right: 10px;
}

.cases-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}
.case-card {
	background: var(--bg-gray);
	border-radius: var(--radius);
	padding: 30px;
}
.case-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 1px solid var(--border);
}
.case-name {
	font-weight: 700;
	font-size: 1.125rem;
}
.case-industry {
	font-size: 0.75rem;
	background: var(--border);
	padding: 3px 8px;
	border-radius: 10px;
}
.case-stat {
	display: flex;
	justify-content: space-between;
	margin-bottom: 10px;
}
.case-stat .stat-label {
	color: var(--text-light);
}

.accordion-item {
	background: #fff;
	border: 1px solid var(--border);
	margin-bottom: 15px;
	border-radius: var(--radius);
	overflow: hidden;
}
.accordion-header {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px;
	background: transparent;
	border: none;
	cursor: pointer;
	text-align: left;
	font-weight: 600;
	font-size: 1.125rem;
	color: var(--text);
}
.accordion-icon {
	font-size: 1.5rem;
	transition: var(--transition);
}
.accordion-item.active .accordion-icon {
	transform: rotate(45deg);
}
.accordion-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}
.accordion-inner {
	padding: 0 20px 20px 20px;
}

/* Backlinks Page Specifics */
.banner-stats {
	display: flex;
	justify-content: center;
	gap: 50px;
	margin-top: 50px;
}
.banner-stat-item {
	display: flex;
	flex-direction: column;
}
.banner-stat-num {
	font-size: 2.5rem;
	font-weight: 800;
	color: var(--accent);
}
.banner-stat-label {
	font-size: 0.875rem;
	opacity: 0.8;
}
.view-switchers {
	display: flex;
	gap: 10px;
}
.view-switch-btn {
	background: transparent;
	border: 1px solid var(--border);
	padding: 8px;
	border-radius: var(--radius);
	cursor: pointer;
	color: var(--text-light);
}
.view-switch-btn.active {
	background: var(--bg);
	color: var(--primary);
	border-color: var(--primary);
}
.view-switch-btn svg {
	width: 20px;
	height: 20px;
}
.packages-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
}
.backlink-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 24px;
	position: relative;
	display: flex;
	flex-direction: column;
	transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.backlink-card.featured-package {
	border-color: var(--primary);
	border-width: 2px;
	box-shadow: 0 10px 30px rgba(37,99,235,0.08);
}
.badge-featured {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--primary);
	color: #fff;
	padding: 4px 10px;
	font-size: 0.7rem;
	font-weight: 700;
	border-radius: 6px;
	z-index: 10;
}
.card-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 25px;
	padding-top: 15px; /* Space for absolute featured badge if present */
}
.card-head .site-name {
	font-size: 1.25rem;
	margin: 0;
	font-weight: 800;
	color: var(--primary-dark);
}
.tag-badge {
	background: #f1f5f9;
	color: #64748b;
	padding: 4px 10px;
	font-size: 0.75rem;
	font-weight: 600;
	border-radius: 8px;
	white-space: nowrap;
}
.card-metrics {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	padding: 15px 0;
	margin-bottom: 15px;
}
.metric {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	font-size: 0.875rem;
}
.metric-label {
	color: var(--text-light);
	font-size: 0.75rem;
}
.dr-high { color: #10b981; }
.dr-mid { color: #f59e0b; }
.dr-low { color: #ef4444; }

.card-foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.pkg-price {
	font-size: 1.5rem;
	font-weight: 700;
}

.packages-table-wrap {
	background: #fff;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	overflow-x: auto;
}
.packages-table {
	width: 100%;
	border-collapse: collapse;
}
.packages-table th,
.packages-table td {
	padding: 15px 20px;
	border-bottom: 1px solid var(--border);
	text-align: left;
}
.packages-table th {
	background: var(--bg-gray);
	font-weight: 600;
}
.packages-table th.sortable {
	cursor: pointer;
	user-select: none;
}
.packages-table th.sortable:hover {
	background: #e5e7eb;
}
.packages-table tr:last-child td {
	border-bottom: none;
}
.guarantee-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 30px;
	margin-top: 40px;
}
.guar-icon {
	font-size: 2.5rem;
	margin-bottom: 15px;
}

/* ==========================================================================
   7. Contact Form Customization
   ========================================================================== */
.contact-grid {
	display: grid;
	grid-template-columns: 2fr 3fr;
	gap: 60px;
	align-items: flex-start;
}
.contact-methods {
	list-style: none;
	padding: 0;
	margin: 0;
}
.contact-method-item {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	margin-bottom: 30px;
}
.icon-wrap {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bg-gray);
	border-radius: 50%;
}
.icon-wrap svg { width: 20px; height: 20px; }
.color-primary { color: var(--primary); }
.color-success { color: #10b981; }
.color-accent { color: var(--accent); }
.info-label { margin: 0 0 5px 0; font-size: 1rem; }
.info-val { margin: 0; color: var(--text-light); }

.contact-form-box {
	background: #fff;
	padding: 40px;
	border-radius: var(--radius);
	box-shadow: var(--shadow-md);
}
.contact-cta-wrapper {
	background: #fff;
	padding: 60px;
	border-radius: var(--radius);
	box-shadow: var(--shadow-md);
}
.cf7-custom-style form .wpcf7-form-control-wrap {
	display: block;
	margin-bottom: 20px;
}
.cf7-custom-style input[type="text"],
.cf7-custom-style input[type="email"],
.cf7-custom-style input[type="url"],
.cf7-custom-style input[type="tel"],
.cf7-custom-style select,
.cf7-custom-style textarea {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--bg-gray);
	font-size: 1rem;
	font-family: var(--font);
	transition: var(--transition);
}
.cf7-custom-style input:focus,
.cf7-custom-style select:focus,
.cf7-custom-style textarea:focus {
	border-color: var(--primary);
	outline: none;
	background: #fff;
}
.cf7-custom-style input[type="submit"] {
	background: var(--accent);
	color: #fff;
	border: none;
	padding: 14px 32px;
	font-size: 1.125rem;
	font-weight: 600;
	border-radius: var(--radius);
	cursor: pointer;
	transition: var(--transition);
	width: 100%;
}
.cf7-custom-style input[type="submit"]:hover {
	background: #e06511;
}

/* ==========================================================================
   8. Blog & Archive (Refined Compact Style)
   ========================================================================== */
.archive-container,
.single-container {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 50px;
}

.post-list-card {
	display: flex;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.05);
	margin-bottom: 25px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 1px solid rgba(0,0,0,0.03);
}

.post-list-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.post-card-img {
	flex: 0 0 240px; /* Reduced from 300px for compactness */
	overflow: hidden;
}

.post-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.post-list-card:hover .post-card-img img {
	transform: scale(1.05);
}

.post-card-content {
	padding: 25px 30px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.post-meta-top {
	margin-bottom: 8px;
}

.post-cat-badge {
	background: rgba(37,99,235,0.06);
	color: var(--primary);
	padding: 4px 12px;
	border-radius: 20px;
	font-weight: 600;
	font-size: 0.75rem;
	letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
}

.post-cat-badge::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -150%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.6), transparent);
    transform: rotate(45deg);
    animation: shimmer 4s infinite;
}

@keyframes shimmer {
    0% { left: -150%; }
    30% { left: 150%; }
    100% { left: 150%; }
}

.post-title {
	font-size: 1.35rem; /* Slightly smaller for compactness */
	margin: 5px 0 12px;
	line-height: 1.4;
}

.post-title a {
	color: var(--text);
}

.post-excerpt {
	font-size: 0.95rem;
	color: #6b7280;
	margin-bottom: 20px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	line-clamp: 2; /* Standard property */
	overflow: hidden;
	line-height: 1.6;
}

.post-meta-bottom {
	margin-top: auto;
	padding-top: 15px;
	border-top: 1px solid rgba(0,0,0,0.05);
	display: flex;
	align-items: center;
	font-size: 0.825rem;
	color: #9ca3af;
}

.author-avatar {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	margin-right: 8px;
}

.post-date-time {
	display: flex;
	align-items: center;
	gap: 10px;
}

/* Minimalist Blog List (Naiba Biji Style) */
.minimal-post-item {
	padding-bottom: 30px;
	border-bottom: 1px solid #f1f5f9;
	margin-bottom: 30px;
}

.minimal-post-item:last-child {
	border-bottom: none;
}

/* ==========================================================================
   8. Blog Archive - Card Layout
   ========================================================================== */
/* ==========================================================================
   8. Grid Layout System
   ========================================================================== */
.archive-container, 
.index-container, 
.single-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    /* align-items: stretch by default allows children to take full height for stickiness */
}

@media (min-width: 992px) {
    /* Standard 2-column layout */
    .archive-container, 
    .index-container,
    .single-container {
        grid-template-columns: minmax(0, 1fr) 260px; /* Narrower right sidebar */
        gap: 40px;
    }

    /* Professional 3-column layout for single posts with TOC */
    .single-container.has-toc {
        grid-template-columns: 210px minmax(0, 1fr) 260px; /* Narrower sidebars */
        gap: 32px;
    }
}

.sticky-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
    z-index: 10;
}

/* Hide left sidebar if TOC is not active to prevent empty grid cell */
.single-container:not(.has-toc) .single-sidebar-left {
    display: none;
}

.single-sidebar-left {
    order: -1;
}

@media (max-width: 991px) {
    .single-sidebar-left {
        display: none;
    }
}

.post-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 30px; /* Adjusted for better balance */
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin-bottom: 40px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(37,99,235,0.15), var(--shadow-glow);
    border-color: var(--primary-light);
}

.post-card-img {
    margin: -30px -30px 25px -30px; /* Pull out to edges */
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.post-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.post-card:hover .post-card-img img {
    transform: scale(1.08);
}

.post-card-category {
    display: inline-block;
    background: #eff6ff; /* Light blue background for badge */
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 18px;
    letter-spacing: 0.05em;
}

.post-card-category a {
    color: var(--primary);
}

.post-card-title {
    font-size: 1.75rem;
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 700;
    color: var(--primary-dark);
}

.post-card-title a {
    color: var(--primary-dark);
}

.post-card-title a:hover {
    color: var(--primary);
}

.post-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-light);
}

.post-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sidebar-ad-card {
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.sidebar-ad-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.sidebar-ad-card img {
    display: block;
    width: 100%;
    height: auto;
}

/* ==========================================================================
   9. Single Post & TOC Styling
   ========================================================================== */
.single-article {
    background: var(--bg);
    padding: 40px; 
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    position: relative;
    overflow: visible;
}

.entry-header {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border);
}

.entry-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.2;
    margin-top: 10px;
}

.toc-card {
    background: var(--bg);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06); /* Floating effect */
    border: 1px solid var(--border);
    transition: var(--transition);
}

.toc-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.toc-title {
    font-size: 0.95rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
    font-weight: 800;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.toc-title::before {
    content: "";
    display: inline-block;
    width: 3px;
    height: 15px;
    background: var(--primary);
    border-radius: 2px;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-item {
    margin-bottom: 12px;
}

.toc-h2 {
    font-weight: 700;
    font-size: 0.95rem;
}

.toc-h3 {
    padding-left: 18px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.toc-item a {
    color: var(--text-light);
    display: block;
    transition: var(--transition);
    border-left: 3px solid transparent;
    padding-left: 12px;
}

.toc-item a:hover {
    color: var(--primary);
    padding-left: 15px;
}

.toc-item a.active {
    color: var(--primary);
    font-weight: 700;
    border-left-color: var(--primary);
    background: rgba(0, 102, 204, 0.03);
}


.entry-content {
    font-size: 1.125rem;
    line-height: 1.85;
    color: var(--text);
}

.entry-content h2 {
    font-size: 2rem;
    margin: 1.8em 0 0.8em;
    color: var(--primary-dark);
    font-weight: 800;
}

.entry-content h3 {
    font-size: 1.5rem;
    margin: 1.5em 0 0.8em;
    color: var(--primary-dark);
    font-weight: 800;
}

.entry-content p {
    margin-bottom: 1.6em;
}

.entry-content img {
    border-radius: 12px;
    margin: 2.5em 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.entry-content blockquote {
	background: #f8fafc;
	border-left: 4px solid var(--primary);
	padding: 20px 25px;
	margin: 2em 0;
	color: #475569;
	font-style: normal;
}

.site-footer {
	background: #0d1526;
	color: #cbd5e1;
	padding-top: 60px;
}
.footer-widgets {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 40px;
	margin-bottom: 40px;
}
.footer-logo {
    display: inline-block;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 16px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}
.footer-about {
	color: #94a3b8;
	font-size: 0.9rem;
	line-height: 1.75;
}
.footer-social {
	display: flex;
	gap: 12px;
	margin-top: 20px;
}
.social-link {
	color: #64748b;
	transition: color 0.2s;
}
.social-link:hover {
	color: #fff;
}
.social-link svg {
	width: 22px;
	height: 22px;
}
.footer-widget .widget-title {
	color: #f1f5f9;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 18px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-widget ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.footer-widget li {
	margin-bottom: 10px;
}
.footer-widget a {
	color: #94a3b8;
	text-decoration: none;
	transition: color 0.2s;
	font-size: 0.9rem;
}
.footer-widget a:hover {
	color: #e2e8f0;
}
.contact-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #94a3b8;
	font-size: 0.9rem;
	margin-bottom: 12px;
}
.contact-list svg {
	width: 16px;
	height: 16px;
	color: var(--primary-light);
	flex-shrink: 0;
}

.site-info {
	background: rgba(0,0,0,0.3);
	border-top: 1px solid rgba(255,255,255,0.05);
	padding: 16px 0;
	font-size: 0.85rem;
	color: #64748b;
}
.site-info .container {
	display: flex;
	justify-content: space-between;
}
.site-info a {
	color: #9ca3af;
}
.site-info a:hover {
	color: #fff;
}

.back-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 40px;
	height: 40px;
	background: var(--primary-gradient);
	color: #fff;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: var(--transition);
	z-index: 90;
	display: flex;
	align-items: center;
	justify-content: center;
}
.back-to-top.visible {
	opacity: 1;
	visibility: visible;
}
.back-to-top svg {
	width: 24px;
	height: 24px;
}

/* ==========================================================================
   11. Pagination & Comments
   ========================================================================== */
.nav-links {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 40px;
}
.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	width: 40px;
	height: 40px;
	border-radius: var(--radius);
	color: var(--text);
	border: 1px solid var(--border);
	font-weight: 600;
}
.page-numbers.current,
.page-numbers:hover {
	background: var(--primary);
	color: #fff;
	border-color: var(--primary);
}

.post-featured-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
}

/* Sidebar Widgets Styling */
.widget {
    background: var(--bg);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 25px;
    border: 1px solid var(--border); /* Added border */
}

.widget-title {
    font-size: 1.125rem;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    color: var(--primary-dark);
    font-weight: 700;
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget li {
    padding: 8px 0;
    border-bottom: 1px solid var(--bg-gray);
}

.widget li:last-child {
    border-bottom: none;
}

.widget a {
    color: var(--text-light);
    transition: var(--transition);
}

.widget a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.text-xs { font-size: 0.75rem; }
.text-muted { color: var(--text-light); }
.mt-5 { margin-top: 5px; }

@media (max-width: 991px) {
    .archive-container, .single-container, .contact-grid {
        grid-template-columns: 1fr;
    }
    .single-sidebar {
        margin-top: 40px;
    }
    .footer-widgets {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
	.menu-toggle {
		display: block;
	}
	.main-navigation .nav-menu-container {
		display: none;
		position: fixed;
		top: 80px;
		left: 0;
		width: 100%;
		height: calc(100vh - 80px);
		background: #fff;
		overflow-y: auto;
		z-index: 99;
		padding: 20px;
	}
	.main-navigation .nav-menu-container.active {
		display: block;
	}
	.main-navigation .nav-menu-container > ul {
		flex-direction: column;
	}
	.main-navigation .sub-menu {
		position: relative;
		top: 0;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: none;
		border-left: 2px solid var(--border);
		padding-left: 10px;
		margin-left: 15px;
		display: none;
	}
	.main-navigation .sub-menu.open {
		display: block;
	}
	
	.hero-container, .trust-container {
		flex-direction: column;
		text-align: center;
	}
	.hero-stats {
		justify-content: center;
	}
	.process-steps {
		flex-direction: column;
		align-items: center;
		padding-left: 0;
	}
	.process-steps::before {
		display: none;
	}
	.process-step {
		margin-bottom: 30px;
	}
	
	.post-list-card {
		flex-direction: column;
	}
	.post-card-img {
		flex: none;
		height: 200px;
	}
	.footer-widgets {
		grid-template-columns: 1fr;
	}
	.hide-on-mobile {
		display: none !important;
	}
}

/* TOC refinement - Floating Sidebar Version */
.toc-card.left-toc {
    border-left: none; /* Removed line design for card design */
    padding: 20px;
}

/* Active state highlight refinement */
.toc-item a.active {
    color: var(--primary);
    font-weight: 700;
    background: rgba(var(--primary-rgb, 0, 102, 204), 0.05);
    border-radius: 6px;
}
/* ==========================================================================
   11. Related Posts & Blog Grid
   ========================================================================== */
.related-posts {
    margin-top: 80px;
    padding-top: 50px;
    border-top: 1px solid var(--border);
}

.related-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    position: relative;
    padding-left: 20px;
    margin-bottom: 40px;
}

.related-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: var(--primary);
    border-radius: 2px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.blog-card-img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-gray);
    position: relative;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.1);
}

.blog-card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-title {
    font-size: 1.15rem;
    line-height: 1.45;
    margin-bottom: 12px;
    font-weight: 700;
}

.blog-title a {
    color: var(--primary-dark);
}

.blog-title a:hover {
    color: var(--primary);
}

.blog-date {
    margin-top: auto;
    color: var(--text-light);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 1199px) {
    .blog-grid {
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}
/* ==========================================================================
   10. Contact Page Overhaul
   ========================================================================== */
.contact-hero {
    background: #0f172a;
    border-bottom: 0;
    padding-bottom: 100px; /* Increased to prevent overlap */
}

.text-gray-400 { color: #94a3b8; }

.mt-negative {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.contact-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.contact-stat-card {
    background: #fff;
    padding: 18px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(0,0,0,0.05);
}

.contact-stat-card .stat-icon {
    font-size: 1.5rem;
    min-width: 40px;
    width: 40px;
    height: 40px;
    background: var(--bg-gray);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-stat-card .stat-num {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.2;
}

.contact-stat-card .stat-label {
    font-size: 0.875rem;
    color: #64748b;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 40px;
    align-items: start;
    margin-top: 32px;
}

.contact-section-title {
    font-size: 1.5rem;
    position: relative;
    padding-left: 20px;
}

.contact-section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: var(--primary);
    border-radius: 4px;
}

.contact-method-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f8fafc;
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 10px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.contact-method-card:hover {
    border-color: var(--primary);
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.method-icon {
    width: 40px;
    height: 40px;
    background: #e8f0fe;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px;
    flex-shrink: 0;
}

.method-icon svg {
    width: 100%;
    height: 100%;
}

.method-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 4px;
}

.method-val {
    font-weight: 700;
    color: var(--primary-dark);
}

.contact-form-box {
    background: #fff;
    padding: 28px 32px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    border: 1px solid rgba(37,99,235,0.1);
}

.form-box-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: left;
    color: var(--text);
}

/* CF7 / Generic Form Field Compact Styling */
.cf7-custom-style .wpcf7-form p {
    margin-bottom: 12px;
}
.cf7-custom-style .wpcf7-form label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 4px;
}
.cf7-custom-style input[type="text"],
.cf7-custom-style input[type="email"],
.cf7-custom-style input[type="tel"],
.cf7-custom-style select,
.cf7-custom-style textarea {
    width: 100%;
    padding: 9px 12px;
    font-size: 0.9rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.cf7-custom-style input:focus,
.cf7-custom-style select:focus,
.cf7-custom-style textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.cf7-custom-style textarea {
    min-height: 100px;
    resize: vertical;
}
.cf7-custom-style input[type="submit"],
.cf7-custom-style .wpcf7-submit {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    margin-top: 4px;
}
.cf7-custom-style input[type="submit"]:hover,
.cf7-custom-style .wpcf7-submit:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Contact page section: tinted background for contrast */
.page-contact {
    background: #f1f5f9;
}
.page-contact .contact-form-box,
.page-contact .contact-method-card {
    background: #ffffff;
}
.page-contact .contact-info-col {
    background: #ffffff;
    padding: 24px;
    border-radius: 14px;
    border: 1px solid var(--border);
}

/* Colour-coded icons */
.color-primary { color: var(--primary); }
.color-success { color: #10b981; }
.color-accent  { color: var(--accent); }

.method-icon.color-primary { background: #e8f0fe; }
.method-icon.color-success { background: #d1fae5; }
.method-icon.color-accent  { background: #fff7ed; }


@media (max-width: 991px) {
    .contact-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .contact-stats-grid {
        grid-template-columns: 1fr;
    }
    .contact-hero {
        padding: 60px 0;
    }
}

/* ==========================================================================
   11. Premium Card Interactivity (Hover & Shine)
   ========================================================================== */
/* Keyframes for the light sweep effect */
@keyframes shine-sweep {
    100% {
        left: 125%;
    }
}

/* Base style for all cards that should have the shine effect */
.post-card,
.service-card,
.pricing-card,
.case-card,
.backlink-card,
.contact-stat-card,
.contact-method-card,
.testimonial-card,
.blog-card,
.sidebar-ad-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* The Shine Effect Layer */
.post-card::after,
.service-card::after,
.pricing-card::after,
.case-card::after,
.backlink-card::after,
.contact-stat-card::after,
.contact-method-card::after,
.testimonial-card::after,
.blog-card::after,
.sidebar-ad-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    z-index: 5;
    pointer-events: none;
}

/* Trigger animation on hover */
.post-card:hover::after,
.service-card:hover::after,
.pricing-card:hover::after,
.case-card:hover::after,
.backlink-card:hover::after,
.contact-stat-card:hover::after,
.contact-method-card:hover::after,
.testimonial-card:hover::after,
.blog-card:hover::after,
.sidebar-ad-card:hover::after {
    animation: shine-sweep 0.75s ease-in-out;
}

/* Enhanced Hover Transformation (Elevation) */
.post-card:hover,
.service-card:hover,
.pricing-card:hover,
.case-card:hover,
.backlink-card:hover,
.contact-stat-card:hover,
.contact-method-card:hover,
.testimonial-card:hover,
.blog-card:hover,
.sidebar-ad-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

/* Ensure specific card overrides don't conflict */
.plan-featured:hover {
    transform: translateY(-10px) scale(1.05); /* Maintain primary scale for featured */
}

/* ==========================================================================
   12. Premium Visual Enrichment (Animations & Blobs)
   ========================================================================== */

/* Base Reveal Styles */
.reveal-up, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-up { transform: translateY(50px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-scale { transform: scale(0.9); }

.reveal-active {
    opacity: 1 !important;
    transform: translate(0) scale(1) !important;
}

/* Staggered Delay Utilities */
.reveal-active:nth-child(2) { transition-delay: 0.15s; }
.reveal-active:nth-child(3) { transition-delay: 0.3s; }
.reveal-active:nth-child(4) { transition-delay: 0.45s; }

/* Background Blobs (Dynamic Ornaments) */
.blob-area {
    position: relative;
    overflow: hidden;
}

.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, rgba(37,99,235,0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    filter: blur(60px);
}

.blob-1 { top: -300px; left: -300px; background: radial-gradient(circle, rgba(99,102,241,0.07) 0%, rgba(99,102,241,0) 70%); }
.blob-2 { bottom: -300px; right: -300px; background: radial-gradient(circle, rgba(234,88,12,0.05) 0%, rgba(234,88,12,0) 70%); }

/* Text Gradient Utilities */
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-accent {
    color: var(--accent);
}

/* Button & Icon Overrides with Gradients */
.btn-primary {
    background: var(--primary-gradient) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(37,99,235,0.2);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(37,99,235,0.3);
    transform: translateY(-2px);
}

.step-icon-wrap {
    background: #fff;
    border: 3px solid #f0f7ff !important;
}

.process-step:hover .step-icon-wrap {
    background: var(--primary-gradient) !important;
    border-color: var(--primary-gradient) !important;
}
/* Breadcrumbs */
.breadcrumbs {
    font-size: 0.875rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 0;
}

.breadcrumbs a {
    color: var(--text-light);
    transition: var(--transition);
}

.breadcrumbs a:hover {
    color: var(--primary);
}

.breadcrumbs .sep {
    color: var(--text-muted);
}

.breadcrumbs .current {
    color: var(--text);
    font-weight: 500;
}

.service-icon {
    background: var(--bg-accent) !important;
    color: var(--primary) !important;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary-gradient) !important;
    color: #fff !important;
}

.stat-icon {
    color: var(--accent) !important;
    background: rgba(249, 115, 22, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-featured {
    background: var(--accent-gradient) !important;
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.2);
}

/* Sidebar CTA Widget */
.widget-cta-sidebar {
    background: var(--bg-dark) !important;
    color: #fff !important;
    padding: 30px !important;
    border-radius: var(--radius);
    text-align: center;
    border: none !important;
    margin-bottom: 30px;
}

.widget-cta-sidebar .widget-title {
    color: #fff !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    margin-bottom: 20px !important;
    padding-bottom: 15px !important;
}

.wechat-qr img {
    max-width: 150px;
    margin: 0 auto;
    border-radius: 8px;
    border: 5px solid rgba(255,255,255,0.1);
}

.qr-placeholder {
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.05);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    border: 1px dashed rgba(255,255,255,0.2);
}

/* Home Resources Grid */
.section-resources {
    padding: 100px 0;
}

.resource-grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.resource-item {
    background: #fff;
    padding: 40px 30px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.resource-item:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.resource-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
    transition: var(--transition);
}

.resource-item:hover .resource-icon {
    transform: scale(1.2) rotate(10deg);
}

/* Trust Bar */
.section-trust-bar {
    background: #fff;
    white-space: nowrap;
    overflow: hidden;
}

.trust-bar-inner {
    display: flex;
    align-items: center;
    gap: 40px;
}

.trust-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.brand-ticker {
    flex: 1;
    overflow: hidden;
}

.ticker-content {
    display: flex;
    gap: 60px;
    animation: ticker 30s linear infinite;
}

.ticker-content span {
    font-size: 1.25rem;
    font-weight: 900;
    color: #e2e8f0;
    transition: var(--transition);
}

.ticker-content span:hover {
    color: var(--primary);
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Stats Section - Premium Layout */
.section-stats {
    background: #0f172a;
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: rgba(255,255,255,0.06);
    border-radius: 20px;
    overflow: hidden;
}

.section-stats .stat-item {
    text-align: center;
    padding: 48px 30px;
    background: transparent;
    border: none;
    border-radius: 0;
    backdrop-filter: none;
    transition: background 0.3s ease;
}

.section-stats .stat-item:hover {
    background: rgba(255,255,255,0.05);
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.section-stats .stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
}

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

/* Homepage Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--bg);
    padding: 30px 24px;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.testimonial-stars {
    color: #facc15;
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.testimonial-content {
    font-style: italic;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 30px;
}

.testimonial-author {
    margin-top: auto;
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 800;
    color: var(--primary);
    font-size: 0.95rem;
}

.author-source {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Homepage Blog Cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.blog-card {
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
    height: 100%;
}

.service-card:hover, .blog-card:hover, .resource-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: var(--primary);
}

.blog-card-img img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 24px;
}

.blog-title {
    font-size: 1.15rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

/* Mobile Menu Glassmorphism */
@media (max-width: 991px) {
    .site-nav {
        background: rgba(255, 255, 255, 0.9) !important;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
}

/* Homepage Services Grid - Compact & 4 Columns */
.services-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    margin-top: 40px;
}

.service-card {
    background: #fff !important;
    padding: 30px 24px !important;
    border-radius: var(--radius) !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    display: flex !important;
    flex-direction: column;
    align-items: center;
}

/* Resources Section Styles */
.section-resources {
    padding: 100px 0;
}
.resource-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.resource-item {
    background: #fff;
    padding: 35px 25px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center;
    height: 100%;
}
.resource-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.resource-name {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text);
}

/* Card Shine Hover Effect */
.card-shine {
    position: relative;
    overflow: hidden;
}
.card-shine::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 50%;
    height: 300%;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.3) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: rotate(45deg);
    transition: none;
    pointer-events: none;
}
.card-shine:hover::after {
    top: 100%;
    left: 100%;
    transition: all 0.8s ease;
}

@media (max-width: 1200px) {
    .services-grid, .resource-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .services-grid, .resource-grid {
        grid-template-columns: 1fr !important;
    }
}
