/*!
Theme Name: KS Tech Hub
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ks-tech-hub
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

KS Tech Hub is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
/* 	margin: 0 0 1.5em 3em; */
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Outfit:wght@500;700&display=swap');

:root {
  /* Dynamic Modern Palette */
  --primary: #6B46C1; /* Deep Purple */
  --primary-hover: #553C9A;
  --secondary: #EC4899; /* Bright Pink */
  
  --bg-color: #ffffff;
  --text-color: #1f2937;
  --card-bg: rgba(255, 255, 255, 0.85);
  --border-color: rgba(0, 0, 0, 0.1);
  --heading-color: #111827;
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.3);
  
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --shadow-soft: 0 10px 40px -10px rgba(0,0,0,0.08);
  --shadow-hover: 0 20px 50px -10px rgba(107, 70, 193, 0.2);
}

/* Global Setup */
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  transition: background-color 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-logo {
  font-family: 'Outfit', sans-serif;
  color: var(--heading-color);
  font-weight: 700;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--secondary);
}

/* Button & UI Utilities */
.btn-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #ffffff;
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(107, 70, 193, 0.3);
  transition: var(--transition-smooth);
  display: inline-block;
}

.btn-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(236, 72, 153, 0.4);
  color: white;
}

/* Navbar / Sticky Glassmorphism */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}


/* Mobile Navbar Dropdown Styling */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 15px;
    margin-top: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
  }
}
/* Fix Tailwind/Bootstrap Conflict for Navbar */
.navbar-collapse.collapse:not(.show) {
  display: none;
}
.navbar-collapse.collapse.show {
  display: block;
  visibility: visible !important;
}
.navbar-collapse.collapsing {
  visibility: visible !important;
}
@media (min-width: 992px) {
  .navbar-collapse.collapse {
    display: flex !important;
    visibility: visible !important;
  }
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-link {
  color: #4b5563 !important; /* Gray-600 */
  font-weight: 500;
  margin: 0 10px;
  transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary) !important;
}

/* Theme Toggle Button */
#theme-toggle {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

#theme-toggle:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: rotate(15deg);
}

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(107, 70, 193, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  z-index: -1;
  filter: blur(60px);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  z-index: -1;
  filter: blur(60px);
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
}

/* Cards & Services */
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-soft);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(107, 70, 193, 0.1), rgba(236, 72, 153, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--primary);
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
}

/* Stats Counter */
.stats-section {
  background: #f8f9fa;
  padding: 80px 0;
  color: #111827;
  position: relative;
  z-index: 1;
}

.counter-box h3 {
  font-size: 3rem;
  color: #111827;
  margin-bottom: 5px;
}

.counter-box p {
  opacity: 0.9;
  font-size: 1.1rem;
}

/* Vibrant Services Section Styling (Monochrome) */
.services-banner {
  min-height: 500px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.glow-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.glow-tr {
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(120px);
}

.glow-bl {
  bottom: -50px;
  left: -50px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.04);
  filter: blur(100px);
}

.btn-white-pill {
  background-color: white;
  color: #000000;
  font-weight: 700;
  padding: 0.6rem 1.8rem;
  border-radius: 50rem;
  text-decoration: none;
  width: fit-content;
  transition: all 0.3s ease;
  border: none;
  display: inline-block;
}

.btn-white-pill:hover {
  background-color: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #000000;
}

/* Pricing Card Styling (Monochrome) */
.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06) !important;
  border-color: rgba(0, 0, 0, 0.15) !important;
}

.btn-black-pill {
  background-color: #000000;
  color: #ffffff !important;
  font-weight: 600;
  padding: 0.7rem 1.8rem;
  border-radius: 50rem;
  text-decoration: none;
  width: fit-content;
  transition: all 0.3s ease;
  border: none;
  display: inline-block;
}

.btn-black-pill:hover {
  background-color: #27272a;
  color: #ffffff !important;
}

/* Advantage Card (About Page) */
.advantage-card:hover {
  background-color: #f8f9fa !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Meet the Team Styling (Monochrome) */
.team-card {
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-card img {
  transition: filter 0.5s ease;
}

.team-card:hover img {
  filter: grayscale(0%);
}

.hover-opacity-100:hover {
  opacity: 1 !important;
}

.transition-opacity {
  transition: opacity 0.3s ease;
}

/* AI-Enhanced SEO Styling (Monochrome) */
.ai-read-more {
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.ai-read-more:hover {
  opacity: 0.7;
  transform: translateX(5px);
}

@media (min-width: 992px) {
  .border-start-lg {
    border-left: 1px solid #333333;
  }
}

.ai-seo-card {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}



/* Why Choose Us Hover */
.transition-transform {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.transition-transform:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

/* FAQ Accordion Styling */
.faq-icon-wrapper {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
}

.faq-icon-wrapper .h-line,
.faq-icon-wrapper .v-line {
  position: absolute;
  background-color: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.faq-icon-wrapper .h-line {
  top: 9px;
  left: 0;
  width: 20px;
  height: 2px;
}

.faq-icon-wrapper .v-line {
  top: 0;
  left: 9px;
  width: 2px;
  height: 20px;
}

/* When opened (Bootstrap removes the .collapsed class) */
.faq-toggle:not(.collapsed) .faq-icon-wrapper .v-line {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-toggle:not(.collapsed) .faq-icon-wrapper .h-line {
  transform: rotate(180deg);
}

/* Modern CTA Banner Styling */
.cta-banner {
  background-color: #09090b !important;
  min-height: 450px;
}

.cta-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: rgba(161, 161, 170, 0.15);
  filter: blur(100px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.cta-text-column {
  position: relative;
  z-index: 2;
}

.cta-mockup-tilt {
  transform: translate(50px, 60px) rotate(-12deg) scale(1.1);
  transform-origin: center;
  transition: transform 0.5s ease;
  z-index: 2;
  position: relative;
}

.mockup-window {
  width: 500px;
  border-color: rgba(0, 0, 0, 0.08) !important;
}

.hover-lift {
  transition: all 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-2px);
}

/* Footer Element */
.site-footer {
  background: #0B0F19;
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer h5 {
  color: white !important;
  margin-bottom: 20px;
  font-weight: 600;
	opacity:1;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer a:hover {
  color: var(--secondary);
}

/* Utility Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}



/* Loading overlay for AJAX */
.loader-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 0;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--border-color);
  border-left-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* Forms */
.form-control {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  padding: 15px;
  border-radius: 10px;
}

.form-control:focus {
  background: var(--card-bg);
  color: var(--text-color);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.2);
}

/* Marquee Testimonials */
.marquee-wrapper {
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
}

.marquee-edge {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15%;
  z-index: 10;
  pointer-events: none;
}

.marquee-edge-left {
  left: 0;
  background: linear-gradient(to right, var(--bg-color), transparent);
}

.marquee-edge-right {
  right: 0;
  background: linear-gradient(to left, var(--bg-color), transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.marquee-track:last-child {
  margin-bottom: 0;
}

.marquee-left {
  animation: marquee-left-anim 40s linear infinite;
}

.marquee-right {
  animation: marquee-right-anim 40s linear infinite;
}

@keyframes marquee-left-anim {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 0.75rem));
  }
}

@keyframes marquee-right-anim {
  0% {
    transform: translateX(calc(-50% - 0.75rem));
  }

  100% {
    transform: translateX(0);
  }
}

.testimonial-card-v2 {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.testimonial-card-v2 .card-header-v2 {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-card-v2 .card-header-v2 img {
  width: 44px;
  height: 44px;
  border-radius: 0.5rem;
  object-fit: cover;
  background: #f3f4f6;
}

.testimonial-card-v2 .card-header-v2 h6 {
  color: #111827 !important;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  margin-bottom: 2px !important;
}

.testimonial-card-v2 .card-header-v2 small {
  color: #6b7280;
  font-size: 0.8rem;
}

.testimonial-card-v2 .t-body {
  padding: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4b5563;
  font-weight: 400;
}

/* ================= HEADER FINAL FIX ================= */

/* Header base */
.site-header,
header {
  position: sticky !important;    /* 🔥 fixed ke jagah sticky use karo */
  top: 0;
  width: 100%;
  z-index: 9999;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

/* WordPress admin bar fix */
body.admin-bar .site-header {
  top: 32px;
}

/* ===== BLOG SINGLE PAGE FIX ===== */
body.single-post #primary {
  margin-top: 40px;   /* zyada gap mat do */
}

/* Prevent overlap issues */
.site-main {
  position: relative;
  z-index: 1;
}

/* Navbar alignment fix */
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo fix */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* REMOVE dangerous rules (IMPORTANT) */
/* ❌ NEVER USE THIS */
/*
body.single-post * {
  transform: none !important;
}
*/

/* Optional: white bg on scroll pages */
body.single-post .site-header {
  background: #fff;
}

/* =========================
   MODERN BLOG GRID
========================= */

.modern-blog-link{
    text-decoration: none;
    display: block;
    height: 100%;
}

.modern-blog-card{
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 25px;
    overflow: hidden;
    height: 100%;
    transition: all 0.4s ease;
    box-shadow: 0 10px 35px rgba(0,0,0,0.06);
    position: relative;
}

.modern-blog-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

/* =========================
   IMAGE
========================= */

.modern-blog-image{
    position: relative;
    overflow: hidden;
    background: #f3f4f6;
}

.modern-blog-img{
	object-fit: cover;
	transition: transform 0.6s ease;
	display: block;
	object-position:center;
}

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

/* =========================
   CONTENT
========================= */

.modern-blog-content{
    padding: 32px;
    display: flex;
    flex-direction: column;
    height: calc(100% - 280px);
}

/* CATEGORY */

.modern-blog-category{
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    color: #2563eb;
}

/* TITLE */

.modern-blog-title{
    font-size: 24px;
    line-height: 1.0;
    font-weight: 600;
    color: #111827;
    margin-bottom: 10px;
    transition: color 0.2s ease;
}

.modern-blog-card:hover .modern-blog-title{
    color: #2563eb;
}

/* EXCERPT */

.modern-blog-excerpt{
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    flex-grow: 1;
}

/* =========================
   FOOTER
========================= */

.modern-blog-footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

.modern-blog-date{
    color: #6b7280;
    font-size: 15px;
    font-weight: 500;
}

/* BUTTON */

.modern-blog-btn{
    background: #111827;
    color: #ffffff;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.modern-blog-card:hover .modern-blog-btn{
    background: #2563eb;
    transform: translateX(4px);
}

/* =========================
   PAGINATION
========================= */

.blog-pagination .page-numbers{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    margin: 0 6px;
    border-radius: 50%;
    background: #ffffff;
    color: #111827;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current{
    background: #111827;
    color: #ffffff;
    border-color: #111827;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 991px){

    .modern-blog-image{
        height: 240px;
    }

    .modern-blog-content{
        padding: 20px;
    }

    .modern-blog-title{
        font-size: 1.6rem;
    }

}

@media (max-width: 767px){

    .modern-blog-card{
        border-radius: 24px;
    }

    .modern-blog-image{
        height: 220px;
    }

    .modern-blog-content{
        padding: 22px;
    }

    .modern-blog-title{
        font-size: 1.4rem;
    }

    .modern-blog-excerpt{
        font-size: 0.95rem;
    }

    .modern-blog-footer{
        flex-direction: column;
        align-items: flex-start;
    }

    .modern-blog-btn{
        width: 100%;
        text-align: center;
    }

}

/* Single Post.php  File Css Start */

.modern-blog-wrapper{
    background:#fff;
}

.blog-title{
    font-size:48px;
    font-weight:800;
    line-height:1.2;
    max-width:900px;
    margin:auto;
    color:#111;
}

.blog-meta{
    color:#666;
    font-size:15px;
}

.featured-image img{
    width:100%;
    object-fit:contain;
}

.modern-blog-content{
    font-size:20px;
    line-height:1.9;
    color:#222;
}

.modern-blog-content p{
    margin-bottom:30px;
}

.modern-blog-content h2{
    margin-top:10px;
    margin-bottom:15px;
    font-size:36px;
    font-weight:700;
}

.modern-blog-content h3{
    margin-top:40px;
    margin-bottom:20px;
    font-size:28px;
    font-weight:700;
}

.modern-blog-content img{
    border-radius:20px;
    margin:40px 0;
}

.modern-blog-content blockquote{
    border-left:4px solid #000;
    padding-left:20px;
    font-size:24px;
    font-style:italic;
    margin:40px 0;
}

.author-box{
    background:#f8f9fa;
}

.post-navigation-modern{
    border-top:1px solid #eee;
    padding-top:40px;
}

.post-navigation-modern .nav-links{
    display:flex;
    justify-content:space-between;
    gap:20px;
}

.post-navigation-modern a{
    text-decoration:none;
    color:#111;
    background:#f8f9fa;
    padding:20px;
    border-radius:20px;
    display:block;
    width:100%;
    transition:0.3s;
}

.post-navigation-modern a:hover{
    transform:translateY(-5px);
}

@media(max-width:768px){

    .blog-title{
        font-size:34px;
    }

    .modern-blog-content{
        font-size:18px;
    }

    .modern-blog-content h2{
        font-size:28px;
    }
}
/* End Single Post Php css code end  */

/* ================= Nested SUBMENU ================= */

.custom-submenu {
    position: relative;
}

/* Hide submenu */
.submenu-dropdown {
    display: none;
    list-style: none;
    padding-left: 0;
    margin: 0;
}

/* Show submenu */
.custom-submenu.active .submenu-dropdown {
    display: block;
}

/* Desktop */
@media (min-width: 992px) {

    .submenu-dropdown {
        position: absolute;
        top: 0;
        left: 100%;
        min-width: 250px;
        background: white;
        border-radius: 12px;
        padding: 10px 0;
        box-shadow: 0 10px 30px rgba(0,0,0,.1);
        z-index: 9999;
    }

    .custom-submenu:hover .submenu-dropdown {
        display: block;
    }

}

/* Mobile */
@media (max-width: 991px) {

    .submenu-dropdown {
        position: static;
        width: 100%;
        padding-left: 15px;
        margin-top: 5px;
    }

}

/* Button */
.submenu-btn {
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
}

/* Arrow */
.submenu-btn::after {
    content: "›";
    float: right;
}