/*!
Theme Name: Webservice247
Theme URI: https://webservice247.com
Author: Minh Pham
Author URI: https://webservice247.com
Description: Custom theme for Webservice247
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: webservice247

/*--------------------------------------------------------------
>>> 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;
}

/* Custom here ==========================================================================*/
/* Reset */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	font-family: "Lexend", sans-serif;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block
}

body {
	line-height: 150%
}

ol,
ul {
	list-style: none
}

blockquote,
q {
	quotes: none
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none
}

table {
	border-collapse: collapse;
	border-spacing: 0
}

/* Critical */

:root {
	--primary: #4550e6;
	--primary-light: #727aec;
	--secondary: #f5f6fe;
	--text-color: #7A7A7A;
	--white: #fff;
	--blue: #2271b1;
	--bg: #f0f0f1;
	--body: #5d6778;
}

::-webkit-scrollbar {
	width: 4px;
}

::-webkit-scrollbar-thumb {
	border-radius: 10px;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.container {
	max-width: 1310px;
	padding: 0 20px;
	margin: auto;
}

.text-white {
	color: var(--white);
}

.bg-white {
	background: var(--white);
}

.bg-secondary {
	background: var(--secondary);
}

.site-description,
.site-title,
.site-header,
.skip-link {
	display: none !important;
}

.p-section {
	padding-block: 4rem;
}

/* Style common */
h1,
h2,
h3,
h4,
h5,
h6 {
	color: #25293B;
	font-weight: 600;
	line-height: 150%
}

body {
	color: #5d6778
}

a {
	text-decoration: none
}

.hidden {
	display: none;
}

.base-border {
	border: 1px solid #e7e9ed
}

#site-footer {
	display: none;
}

.header {
	border-color: rgba(255, 255, 255, 0.14);
	border-color: rgba(255, 255, 255, 0.14);
	transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.25s ease;
	box-shadow: 0 1px 4px 0 var(--primary);
	padding-block: 0.75rem !important;
	position: sticky;
	top: 0;
	background-color: #fff;
	z-index: 50;
	box-shadow: 0 .125rem .25rem rgb(0 0 0 / .075)
}

.header-inner {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

.header__logo {
	display: flex;
	gap: 1.25rem;
	align-items: center;
}

.header__logo>a {
	display: flex;
	align-items: center;
	font-weight: 700;
	color: var(--primary);
	font-size: 1.5rem;
	text-decoration: none;
}

.header__logo img {
	height: 40px;
	width: 40px;
}

.nav-menu {
	display: flex;
	gap: 1.5rem;
	align-items: center;
	position: relative;
}


.nav-link {
	text-decoration: none;
	background: none;
	border: 0;
	transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
	position: relative;
	display: inline-block;
	padding: 0.5rem 0;
	border-radius: 0.375rem;
	color: var(--body);
}

.nav-link:hover {
	color: var(--primary);
}

.nav-link::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 2px;
	height: 2px;
	background: var(--primary);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 220ms cubic-bezier(.2, .9, .2, 1);
}

.nav-link:hover::after,
.nav-link:focus::after {
	transform: scaleX(1);
}

.benefits-section .item-inner {
	box-shadow: 0 .125rem .25rem rgb(0 0 0 / .075);
	border: 1px solid #f5f6fe
}

.btn-light:hover {
	background: #f5f6fe;
	box-shadow: 0 12px 24px -6px rgb(0 0 0 / .15)
}

.box-shadow {
	box-shadow: 0 .125rem .25rem rgb(0 0 0 / .075)
}

.navbar-toggler {
	display: none;
	position: absolute;
	top: 14px;
	right: 20px;

}

.navbar-toggler span {
	display: block;
	background-color: #4550E6;
	height: 3px;
	width: 24px;
	margin-top: 5px;
	margin-bottom: 5px;
	transform: rotate(0deg);
	position: relative;
	left: 0;
	opacity: 1;
	border-radius: 1px;
	transition: transform 0.3s ease, top 0.3s ease, opacity 0.3s ease
}

.navbar-toggler.expanded span:nth-child(1) {
	transform: rotate(45deg);
	top: 8px
}

.navbar-toggler.expanded span:nth-child(2) {
	opacity: 0
}

.navbar-toggler.expanded span:nth-child(3) {
	transform: rotate(-45deg);
	top: -8px
}

.footer-main {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	column-gap: 1rem;
	align-items: flex-start;
}

.footer-main_col-1 {
	grid-column: span 5;
	padding-right: 1.5rem;
}

.footer-main_col-1>a {
	display: flex;
	align-items: center;
	font-weight: 700;
	color: var(--primary);
	font-size: 1.5rem;
}

.footer-main_col-1>p {
	margin-top: 1rem;
	margin-bottom: 0.75rem;
	line-height: 1.625rem;
	font-weight: 400;
}

.footer-main_col-1 img {
	width: 40px;
	height: 40px;
}

.footer-main_col-2 {
	grid-column: span 2;
	text-align: start;
}

.footer-main_col-3 {
	grid-column: span 3;
	text-align: start;
	height: 100%;
}

.footer-main__title {
	font-size: 1rem;
	font-weight: 700;
	color: #012970;
	text-transform: uppercase;
	margin-bottom: 1.25rem;

}

.footer-main ul {
	display: flex;
	flex-direction: column;
	gap: 10px;

}

.footer-main_col-3 a {
	color: var(--body);
}

.footer-main_col-3 a:hover {
	color: var(--primary);
}

.footer-bottom {
	padding-block: 1.75rem !important;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-weight: 400;
}

.copyright {
	text-align: center;
}

.theme-bg-shapes-right {
	position: absolute;
	height: 100%;
	width: 100%;
	right: 0;
	top: 0;
	overflow: hidden
}

.theme-bg-shapes-right:before {
	content: "";
	width: 300px;
	height: 150px;
	background: rgb(255 255 255 / .1);
	position: absolute;
	right: -60px;
	top: 0;
	border-radius: 4px;
	transform: skew(25deg, -10deg);
	transform-origin: top left
}

.theme-bg-shapes-right:after {
	content: "";
	width: 150px;
	height: 600px;
	background: rgb(255 255 255 / .15);
	position: absolute;
	right: 0;
	top: 30px;
	border-radius: 6px;
	transform: skew(25deg, 10deg);
	transform-origin: top left
}

.theme-bg-shapes-left {
	position: absolute;
	height: 100%;
	width: 100%;
	right: 0;
	top: 0;
	overflow: hidden
}

.theme-bg-shapes-left:before {
	content: "";
	width: 300px;
	height: 150px;
	background: rgb(255 255 255 / .1);
	position: absolute;
	left: -90px;
	top: 0;
	border-radius: 6px;
	transform: skew(25deg, -12deg);
	transform-origin: top left
}

.theme-bg-shapes-left:after {
	content: "";
	width: 150px;
	height: 600px;
	background: rgb(255 255 255 / .15);
	position: absolute;
	left: 0;
	top: 30px;
	border-radius: 4px;
	transform: skew(-25deg, 10deg);
	transform-origin: top left
}

.ws-section__kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(100, 116, 139, 0.95);
}

.ws-section__kicker-bar {
	width: 26px;
	height: 2px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--primary), rgba(148, 163, 184, 0.0));
	flex: 0 0 auto;
}

.ws-section__kicker-label {
	color: var(--primary);
}

.ws-section__lead {
	position: relative;
	text-wrap: pretty;
	color: rgba(71, 85, 105, 0.96);
	line-height: relaxed;
	max-width: 60ch;
	margin-top: 0.5rem;
}

.ws-section__h2 {
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.5;
	color: rgba(30, 41, 59, 0.9);
	margin-bottom: 0.5rem;
	margin-top: 20px;
}

/* ========== ws-themes-card ========== */
.ws-themes-card {
	background: #fff;
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
	border: 1px solid #e2e8f0;
	transition: all 0.3s ease;
}

.ws-themes-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
	border-color: var(--primary);
}

.ws-themes-card__thumb {
	position: relative;
	height: min(320px, 28vw);
	min-height: 350px;
	overflow: hidden;
	background: #f1f5f9;
}

.ws-themes-card__thumb-scroll {
	width: 100%;
	height: 100%;
	overflow-y: auto;
	overflow-x: hidden;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.ws-themes-card__thumb-scroll::-webkit-scrollbar {
	display: none;
}

.ws-themes-card__thumb-inner {
	display: block;
	width: 100%;
}

.ws-themes-card__thumb-inner img {
	width: 100%;
	height: auto;
	display: block;
}

.ws-themes-card__thumb-scroll img {
	width: 100%;
	height: auto;
	display: block;
}

.ws-themes-card__thumb-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #94a3b8;
}

.ws-themes-card__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to top, rgba(15, 23, 42, 0.7), transparent 70%);
	opacity: 0;
	transition: opacity 0.3s ease;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 1.25rem;
	gap: 0.75rem;
	pointer-events: none;
}

.ws-themes-card__overlay .ws-themes-card__btn,
.ws-themes-card__overlay a {
	pointer-events: auto;
}

.ws-themes-card:hover .ws-themes-card__overlay {
	opacity: 1;
}

.ws-themes-card__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.625rem 1.25rem;
	border-radius: 0.5rem;
	font-size: 0.8125rem;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s ease;
	transform: translateY(10px);
	opacity: 0;
}

.ws-themes-card:hover .ws-themes-card__btn {
	transform: translateY(0);
	opacity: 1;
}

.ws-themes-card:hover .ws-themes-card__btn:nth-child(2) {
	transition-delay: 0.05s;
}

.ws-themes-card__btn--demo {
	background: var(--primary);
	color: #fff;
}

.ws-themes-card__btn--demo:hover {
	background: #4338ca;
	color: #fff;
}

.ws-themes-card__btn--detail {
	background: rgba(255, 255, 255, 0.95);
	color: #1e293b;
}

.ws-themes-card__btn--detail:hover {
	background: #fff;
	color: var(--primary);
}

.ws-themes-card__btn svg {
	width: 1rem;
	height: 1rem;
}

.ws-themes-card__content {
	padding: 1.25rem;
}

.ws-themes-card__title {
	font-size: 1.0625rem;
	font-weight: 600;
	color: #1e293b;
	margin: 0;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ws-themes-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: 0.75rem;
}

.ws-themes-card__type {
	font-size: 0.75rem;
	color: var(--primary);
	background: #f1f5f9;
	padding: 0.25rem 0.625rem;
	border-radius: 1rem;
}

.ws-themes-card__price {
	font-size: 1rem;
	font-weight: 700;
	color: var(--primary);
}

.ws-common-hero {
	background: var(--primary);
	text-align: center;
	position: relative;
	overflow: hidden;
}

.ws-common-hero__content {
	max-width: 800px;
	margin-inline: auto;
	position: relative;
}

.ws-common-hero__title {
	color: var(--white);
	font-size: 36px;
	line-height: 120%;
}

.ws-common-hero__desc {
	color: var(--white);
	font-size: 18px;
	margin-block: 24px;
}

@media (max-width: 1024px) {
	.footer-main {
		align-items: center;
		gap: 1.25rem;
	}

	.footer-main_col-1 {
		grid-column: span 12;
	}

	.footer-main_col-2 {
		grid-column: span 4;
	}

	.footer-main_col-3 {
		grid-column: span 4;
	}
}

@media (max-width: 768px) {

	.header-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.nav-menu {
		flex-direction: column;
		gap: 0;
		align-items: flex-start;
		margin-top: 0.5rem;
	}

	.nav-link {
		padding: 0.5rem 0;
	}

	.hidden_mobile {
		display: none;
	}

	.navbar-toggler {
		display: block;
	}

	.footer-main {
		display: flex;
		flex-direction: column;
	}

	.footer-main_col-1,
	.footer-main_col-2,
	.footer-main_col-3 {
		text-align: center;
	}

	.ws-themes-card__overlay {
		opacity: 1;
		background: linear-gradient(to top, rgba(15, 23, 42, 0.8), transparent 80%);
	}

	.ws-themes-card__btn {
		transform: translateY(0);
		opacity: 1;
		padding: 0.5rem 1rem;
		font-size: 0.75rem;
	}

	.ws-common-hero__title {
		font-size: 1.875rem;
	}

	.ws-common-hero__desc {
		font-size: 1rem;
	}
}