/**
 * N2N-AFE Homepage — modern finance / stock-market visual refresh.
 * Scoped to entire public site via body.n2n-site-modern
 */

body.n2n-site-modern {
	--n2n-navy: #0a2540;
	--n2n-navy-mid: #0f3d6b;
	--n2n-blue: #004e97;
	--n2n-blue-bright: #0066c4;
	--n2n-blue-soft: #e8f2fa;
	--n2n-gold: #c9a227;
	--n2n-gold-soft: #f5ecd4;
	--n2n-green: #00b37a;
	--n2n-green-soft: #e6f9f2;
	--n2n-red: #e03334;
	--n2n-slate: #475569;
	--n2n-text: #334155;
	--n2n-muted: #64748b;
	--n2n-bg: #f4f7fb;
	--n2n-card: #ffffff;
	--n2n-radius: 14px;
	--n2n-radius-lg: 20px;
	--n2n-shadow: 0 8px 32px rgba(10, 37, 64, 0.08);
	--n2n-shadow-hover: 0 16px 48px rgba(0, 78, 151, 0.14);
	--n2n-gradient-hero: linear-gradient(135deg, rgba(10, 37, 64, 0.92) 0%, rgba(0, 78, 151, 0.78) 55%, rgba(0, 102, 196, 0.65) 100%);
	--n2n-gradient-brand: linear-gradient(135deg, #004e97 0%, #0066c4 100%);
	--n2n-gradient-gold: linear-gradient(135deg, #c9a227 0%, #e8c547 100%);
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--n2n-text);
}

body.n2n-site-modern h1,
body.n2n-site-modern h2,
body.n2n-site-modern h3,
body.n2n-site-modern h4,
body.n2n-site-modern h5,
body.n2n-site-modern h6 {
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	letter-spacing: -0.02em;
}

/* ── Header & footer chrome: see assets/css/n2n-theme.css ── */

/* ── Hero / Banner ── */
body.n2n-site-modern .banner-area .section-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--n2n-gradient-hero);
	z-index: 1;
}

body.n2n-site-modern .banner-area .section-bg {
	background-size: cover;
	background-position: center;
}

body.n2n-site-modern .banner-area .section-content {
	position: relative;
	z-index: 2;
}

body.n2n-site-modern .banner-content p:first-child {
	background: rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(8px);
	color: var(--n2n-gold) !important;
	border: 1px solid rgba(201, 162, 39, 0.35);
	border-radius: 999px;
	padding: 0 24px 0 36px;
	height: 42px;
	line-height: 42px;
	font-size: 13px;
	letter-spacing: 0.08em;
}

body.n2n-site-modern .banner-content p:first-child::before {
	background: var(--n2n-gradient-gold);
	width: 8px;
	height: 8px;
	left: 16px;
}

body.n2n-site-modern .banner-content p:first-child::after {
	display: none;
}

body.n2n-site-modern .banner-content h3 {
	color: #ffffff;
	font-weight: 800;
	font-size: clamp(36px, 5vw, 72px);
	text-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

body.n2n-site-modern .banner-content p {
	color: rgba(255, 255, 255, 0.88);
	font-size: 18px;
	line-height: 1.7;
}

body.n2n-site-modern .banner-area .btn-contacts,
body.n2n-site-modern .btn-contacts {
	background: var(--n2n-gradient-brand) !important;
	border: none !important;
	border-radius: 999px !important;
	padding: 0 32px !important;
	font-weight: 600;
	letter-spacing: 0.02em;
	box-shadow: 0 4px 20px rgba(0, 78, 151, 0.35);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.n2n-site-modern .banner-area .btn-contacts:hover,
body.n2n-site-modern .btn-contacts:hover {
	background: var(--n2n-navy) !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 28px rgba(10, 37, 64, 0.3);
}

body.n2n-site-modern .col-play-btn .video-button-wrapper a {
	background: rgba(255, 255, 255, 0.15) !important;
	backdrop-filter: blur(8px);
	border: 2px solid rgba(255, 255, 255, 0.5) !important;
	color: #fff !important;
}

/* ── Timeline / Features ── */
body.n2n-site-modern .setion-features-title .section-bg {
	background: var(--n2n-navy) !important;
}

body.n2n-site-modern .setion-features-title .content-features p {
	color: var(--n2n-gold) !important;
}

body.n2n-site-modern .setion-features-title .content-features p::before {
	background: var(--n2n-gradient-gold);
}

body.n2n-site-modern .setion-features-title .content-features h2 {
	background: transparent !important;
	color: #ffffff !important;
	text-shadow: none;
	padding: 0;
	font-size: clamp(28px, 3vw, 42px);
	font-weight: 700;
}

body.n2n-site-modern .rw-features .box-text-bottom {
	border-radius: var(--n2n-radius);
	overflow: hidden;
	box-shadow: var(--n2n-shadow);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.n2n-site-modern .rw-features .box-text-bottom:hover {
	transform: translateY(-6px);
	box-shadow: var(--n2n-shadow-hover);
}

body.n2n-site-modern .rw-features .box-text-bottom::before {
	height: 4px;
	background: var(--n2n-gradient-brand) !important;
	border-radius: 0;
	opacity: 1;
}

body.n2n-site-modern .rw-features .box-text-bottom:hover::before {
	height: 100%;
	background: var(--n2n-gradient-brand) !important;
	opacity: 0.95;
	border-radius: var(--n2n-radius);
}

body.n2n-site-modern .rw-features .box-text-bottom:hover .icon-feature {
	background: var(--n2n-gold) !important;
}

body.n2n-site-modern .icon-feature {
	background: var(--n2n-navy) !important;
	border-color: #fff;
	box-shadow: var(--n2n-shadow);
}

body.n2n-site-modern .content-features p,
body.n2n-site-modern .content-ab-right p:first-child {
	color: var(--n2n-blue) !important;
	font-size: 14px;
	letter-spacing: 0.06em;
}

body.n2n-site-modern .content-features p::before,
body.n2n-site-modern .content-ab-right p:first-child::before {
	background: var(--n2n-gradient-brand);
}

/* ── About ── */
body.n2n-site-modern .content-ab-right h2 {
	color: var(--n2n-navy);
	font-weight: 700;
	font-size: clamp(28px, 3vw, 40px);
}

body.n2n-site-modern .rw-ab-right .about-content {
	background: var(--n2n-card);
	border-radius: var(--n2n-radius);
	box-shadow: var(--n2n-shadow);
	border: 1px solid rgba(0, 78, 151, 0.08);
	padding: 24px 28px 48px;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.n2n-site-modern .rw-ab-right .about-content:hover {
	transform: translateY(-4px);
	box-shadow: var(--n2n-shadow-hover);
}

body.n2n-site-modern .rw-ab-right .about-content a:hover h5 {
	color: var(--n2n-blue) !important;
}

body.n2n-site-modern .about-content-list li i {
	color: var(--n2n-green) !important;
}

body.n2n-site-modern .ico-link a {
	background: var(--n2n-gradient-brand) !important;
}

body.n2n-site-modern .ico-link a:hover {
	background: var(--n2n-gold) !important;
}

body.n2n-site-modern .content-exp h4 {
	color: var(--n2n-blue);
}

body.n2n-site-modern .content-exp h5 {
	background: var(--n2n-gradient-brand) !important;
	border-radius: 4px;
}

body.n2n-site-modern .content-exp h5::after {
	background: var(--n2n-blue-bright) !important;
}

body.n2n-site-modern .about-left .video-button-wrapper a {
	background: var(--n2n-navy) !important;
}

body.n2n-site-modern .about-left .video-button-wrapper a:hover {
	background: var(--n2n-blue) !important;
}

body.n2n-site-modern .img-box-ab .box-image a > div {
	border-color: var(--n2n-blue);
	border-width: 3px;
}

/* ── Stats / Counter ── */
body.n2n-site-modern .section-count .section-bg {
	background: var(--n2n-navy) !important;
	position: relative;
}

body.n2n-site-modern .section-count .section-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(0, 179, 122, 0.06) 1px, transparent 1px),
		linear-gradient(rgba(0, 179, 122, 0.06) 1px, transparent 1px);
	background-size: 40px 40px;
	opacity: 0.5;
}

body.n2n-site-modern .numbers h3 {
	color: var(--n2n-green);
	font-weight: 800;
	font-size: clamp(32px, 4vw, 48px);
}

body.n2n-site-modern .numbers p {
	color: rgba(255, 255, 255, 0.75);
	letter-spacing: 0.1em;
}

body.n2n-site-modern .rw-item-service {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--n2n-radius);
	backdrop-filter: blur(8px);
	padding: 24px 16px;
	transition: background 0.25s ease, border-color 0.25s ease;
}

body.n2n-site-modern .rw-item-service:hover {
	background: rgba(0, 179, 122, 0.12);
	border-color: rgba(0, 179, 122, 0.3);
}

body.n2n-site-modern .rw-item-service p {
	color: var(--n2n-green) !important;
	font-weight: 700;
}

/* ── Products ── */
body.n2n-site-modern .section-product {
	background: var(--n2n-bg);
}

body.n2n-site-modern .section-product .service-content h2,
body.n2n-site-modern .section-news .service-content h2 {
	color: var(--n2n-navy);
	font-weight: 700;
}

body.n2n-site-modern .product-item {
	border-radius: var(--n2n-radius);
	box-shadow: var(--n2n-shadow);
	border: 1px solid rgba(0, 78, 151, 0.06);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.n2n-site-modern .product-item:hover {
	transform: translateY(-6px);
	box-shadow: var(--n2n-shadow-hover);
}

body.n2n-site-modern .product-carousel h4 {
	color: var(--n2n-navy);
	font-weight: 600;
}

body.n2n-site-modern .product-carousel span {
	color: var(--n2n-blue);
	font-weight: 600;
}

body.n2n-site-modern .product-carousel .owl-dot.active span {
	background: var(--n2n-blue-bright);
}

/* ── Why choose us ── */
body.n2n-site-modern .section-choose {
	background-color: var(--n2n-bg);
}

body.n2n-site-modern .choose-contain-qoute {
	background: var(--n2n-card);
	border-radius: var(--n2n-radius);
	border-left: 4px solid var(--n2n-gold) !important;
	box-shadow: var(--n2n-shadow);
}

body.n2n-site-modern .col-img-choose .img-inner {
	border-color: var(--n2n-blue-soft);
	box-shadow: var(--n2n-shadow);
}

body.n2n-site-modern .btn-view {
	background: var(--n2n-gradient-brand) !important;
	border-radius: 999px !important;
	border: none !important;
	font-weight: 600;
	box-shadow: 0 4px 16px rgba(0, 78, 151, 0.25);
}

body.n2n-site-modern .section-choose .col-choose .btn-view:hover,
body.n2n-site-modern .section-cta .col-cta .btn-view:hover {
	background: var(--n2n-navy) !important;
}

/* ── CTA ── */
body.n2n-site-modern .content-cta p:first-child {
	color: var(--n2n-gold) !important;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	font-size: 14px;
}

body.n2n-site-modern .content-cta h3 {
	color: var(--n2n-navy);
	font-weight: 700;
}

body.n2n-site-modern .shape-cta span.cta-shape1::before {
	background: var(--n2n-blue) !important;
}

/* ── Testimonials ── */
body.n2n-site-modern .section-testimonial .col-testimonial {
	background: var(--n2n-card);
	border-radius: var(--n2n-radius-lg);
	box-shadow: var(--n2n-shadow);
	border: 1px solid rgba(0, 78, 151, 0.06);
}

body.n2n-site-modern .img-testimonial::before,
body.n2n-site-modern .img-testimonial::after {
	background: var(--n2n-blue) !important;
}

/* ── Blog / News ── */
body.n2n-site-modern .section-news {
	background: var(--n2n-bg);
}

body.n2n-site-modern .blog-item {
	border-radius: var(--n2n-radius);
	box-shadow: var(--n2n-shadow);
	border: 1px solid rgba(0, 78, 151, 0.06);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.n2n-site-modern .blog-item:hover {
	transform: translateY(-6px);
	box-shadow: var(--n2n-shadow-hover);
}

body.n2n-site-modern .bolg-thumb .blog-tag {
	background: var(--n2n-gradient-brand) !important;
	border-radius: 0 0 8px 8px;
}

body.n2n-site-modern .blog-item a:hover h4 {
	color: var(--n2n-blue) !important;
}

body.n2n-site-modern .blog-item a:hover .blog-view {
	color: var(--n2n-blue) !important;
}

/* ── Newsletter ── */
body.n2n-site-modern .section-newsletter .col-full-newsletter .rw-newsletter {
	background: var(--n2n-gradient-brand) !important;
	border-radius: var(--n2n-radius-lg);
	box-shadow: var(--n2n-shadow-hover);
}

body.n2n-site-modern .img-icon-newsletter .img-inner {
	background: var(--n2n-gold) !important;
	border-color: #fff;
	box-shadow: 0 4px 20px rgba(201, 162, 39, 0.4);
}

body.n2n-site-modern .rw-newsletter input.wpcf7-form-control.wpcf7-submit {
	background: var(--n2n-navy) !important;
	border-radius: 999px;
	font-weight: 600;
}

/* ── Footer chrome: see assets/css/n2n-theme.css ── */

/* ── Section spacing polish ── */
body.n2n-site-modern #main .section {
	padding-top: 72px;
	padding-bottom: 72px;
}

body.n2n-site-modern .section + .section {
	border-top: none;
}

/* ── Scroll-up button ── */
body.n2n-site-modern #scrollUp {
	background: var(--n2n-gradient-brand) !important;
	border-radius: 50%;
	box-shadow: var(--n2n-shadow);
}

@media (max-width: 849px) {
	body.n2n-site-modern .banner-content h3 {
		font-size: 36px;
	}

	body.n2n-site-modern #main .section {
		padding-top: 48px;
		padding-bottom: 48px;
	}

	body.n2n-site-modern .col-img-choose .img-inner {
		width: 100%;
		height: auto;
		aspect-ratio: 1;
	}
}

/* ══════════════════════════════════════════
   Inner pages — archives, products, blog, forms
   ══════════════════════════════════════════ */

body.n2n-site-modern {
	background: var(--n2n-bg);
}

body.n2n-site-modern .archive-page-header {
	background: var(--n2n-gradient-brand) !important;
	margin-bottom: 36px;
}

body.n2n-site-modern .archive-page-header h1 {
	color: #ffffff;
	font-weight: 700;
}

body.n2n-site-modern .page-title {
	background: var(--n2n-gradient-brand);
}

body.n2n-site-modern .page-title-inner {
	min-height: 140px;
}

body.n2n-site-modern .page-title-inner h1,
body.n2n-site-modern .shop-page-title .woocommerce-breadcrumb {
	color: #ffffff;
	font-weight: 700;
}

body.n2n-site-modern .blog-archive {
	background: transparent;
}

body.n2n-site-modern .product-list .item-product,
body.n2n-site-modern .item-product {
	background: var(--n2n-card);
	border-radius: var(--n2n-radius);
	box-shadow: var(--n2n-shadow);
	border: 1px solid rgba(0, 78, 151, 0.06);
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.n2n-site-modern .product-list .item-product:hover,
body.n2n-site-modern .item-product:hover {
	transform: translateY(-4px);
	box-shadow: var(--n2n-shadow-hover);
}

body.n2n-site-modern .product-content h4 {
	color: var(--n2n-navy);
	font-weight: 600;
}

body.n2n-site-modern .product-content span {
	color: var(--n2n-blue);
	font-weight: 600;
}

body.n2n-site-modern .contact-item .contact-item-icon {
	background: var(--n2n-gradient-brand) !important;
}

body.n2n-site-modern .contact-item-details span {
	color: #ffffff;
}

body.n2n-site-modern .button.primary,
body.n2n-site-modern button.primary,
body.n2n-site-modern input[type="submit"],
body.n2n-site-modern .wpcf7-submit,
body.n2n-site-modern .single_add_to_cart_button {
	background: var(--n2n-gradient-brand) !important;
	border: none !important;
	border-radius: 999px !important;
	font-weight: 600;
	box-shadow: 0 4px 16px rgba(0, 78, 151, 0.2);
}

body.n2n-site-modern .button.primary:hover,
body.n2n-site-modern button.primary:hover,
body.n2n-site-modern input[type="submit"]:hover,
body.n2n-site-modern .wpcf7-submit:hover {
	background: var(--n2n-navy) !important;
}

body.n2n-site-modern .button.secondary.is-outline,
body.n2n-site-modern .button.is-outline {
	border-color: var(--n2n-blue) !important;
	color: var(--n2n-blue) !important;
	border-radius: 999px !important;
}

body.n2n-site-modern .button.secondary.is-outline:hover {
	background: var(--n2n-blue-soft) !important;
}

body.n2n-site-modern input[type="text"],
body.n2n-site-modern input[type="email"],
body.n2n-site-modern input[type="tel"],
body.n2n-site-modern input[type="url"],
body.n2n-site-modern textarea,
body.n2n-site-modern select {
	border-radius: 10px;
	border-color: rgba(0, 78, 151, 0.15);
}

body.n2n-site-modern input:focus,
body.n2n-site-modern textarea:focus,
body.n2n-site-modern select:focus {
	border-color: var(--n2n-blue);
	box-shadow: 0 0 0 3px rgba(0, 78, 151, 0.12);
}

body.n2n-site-modern .box,
body.n2n-site-modern .col-inner {
	border-radius: var(--n2n-radius);
}

body.n2n-site-modern .sjb-page .sjb-listing-hero,
body.n2n-site-modern .sjb-page .sjb-detail-header {
	border-radius: var(--n2n-radius-lg);
}

body.n2n-site-modern .nav-pagination > li > .page-number,
body.n2n-site-modern .nav-pagination > li > a {
	border-radius: 8px;
}

body.n2n-site-modern .nav-pagination > li > .current {
	background: var(--n2n-blue) !important;
	border-color: var(--n2n-blue) !important;
}

body.n2n-site-modern .widget-title,
body.n2n-site-modern .entry-title {
	color: var(--n2n-navy);
}

body.n2n-site-modern .entry-content a {
	color: var(--n2n-blue);
}

body.n2n-site-modern .entry-content a:hover {
	color: var(--n2n-navy);
}

