/*
Theme Name: BDC Custom
Theme URI: https://www.bigdatacentric.com/
Author: BigDataCentric
Author URI: https://www.bigdatacentric.com/
Description: Clean, fast, standalone Tailwind CSS v4 + ACF Pro Flexible Content WordPress theme with two-way ACF Local JSON sync and full compatibility with all live BigDataCentric custom post types and data.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bdc-custom
Tags: tailwind, acf, flexible-content, custom-logo, custom-menu, featured-images, full-width-template
*/

:root {
	--color-primary: #00b970;
	--color-navy: #040535;
	--color-blue: #078ce8;
}

/* Multi-Level Header Navigation Flyouts (Level 2 & Level 3) */
.group-nav-item:hover > .bdc-dropdown-menu,
.group-nav-item:focus-within > .bdc-dropdown-menu {
	visibility: visible !important;
	opacity: 1 !important;
	transform: translateY(0) !important;
}

.group-sub-item:hover > .bdc-sub-dropdown-menu,
.group-sub-item:focus-within > .bdc-sub-dropdown-menu {
	visibility: visible !important;
	opacity: 1 !important;
	pointer-events: auto !important;
	transform: translateX(0) scale(1) !important;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Roboto", sans-serif;
	color: #334155;
	background-color: #ffffff;
}

.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: #ffffff;
	border-radius: 0.375rem;
	box-shadow: 0 4px 12px rgba(4, 5, 53, 0.15);
	clip: auto !important;
	clip-path: none;
	color: #040535;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 1rem;
	line-height: normal;
	padding: 0.75rem 1.25rem;
	text-decoration: none;
	top: 1rem;
	width: auto;
	z-index: 100000;
}

/* Desktop navigation dropdown support (Tailwind-clean, zero Bootstrap) */
#primary-menu > li {
	position: relative;
}

#primary-menu > li.menu-item-has-children > a {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

#primary-menu > li.menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 0.45rem;
	height: 0.45rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform 0.2s ease;
}

#primary-menu > li.menu-item-has-children:hover > a::after,
#primary-menu > li.menu-item-has-children:focus-within > a::after {
	transform: rotate(-135deg) translateY(-1px);
}

#primary-menu .sub-menu {
	position: absolute;
	left: 0;
	top: 100%;
	z-index: 50;
	min-width: 260px;
	padding: 0.5rem 0;
	margin-top: 0.75rem;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 0.75rem;
	box-shadow: 0 20px 45px rgba(4, 5, 53, 0.14);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

#primary-menu > li:hover > .sub-menu,
#primary-menu > li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

#primary-menu .sub-menu li a {
	display: block;
	padding: 0.6rem 1.15rem;
	font-size: 0.9375rem;
	font-weight: 500;
	color: #1d165c;
	transition: background-color 0.15s ease, color 0.15s ease;
}

#primary-menu .sub-menu li a:hover {
	background-color: #f0fdf4;
	color: #00b970;
}

/* Mobile submenu styling */
#mobile-primary-menu .sub-menu {
	padding-left: 1rem;
	margin-bottom: 0.5rem;
	border-left: 2px solid #e2e8f0;
}

#mobile-primary-menu .sub-menu a {
	display: block;
	padding: 0.5rem 0;
	font-size: 0.9375rem;
	font-weight: 500;
	color: #334155;
}

/* Footer widget links & Brevo subscribe form clean styling */
.site-footer .footer-widget ul {
	list-style: none;
	margin: 1rem 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.site-footer .footer-widget a {
	color: #ffffff;
	transition: color 0.2s ease;
}

.site-footer .footer-navigation a {
	color: #fff9;
	transition: color 0.2s ease;
}

.site-footer .footer-widget a:hover,
.site-footer .footer-navigation a:hover {
	color: #00c98a;
}

.site-footer .sib_signup_form input[type="email"],
.site-footer .sib_signup_form input[type="text"] {
	width: 100%;
	border-radius: 0.5rem;
	border: 1px solid rgba(255, 255, 255, 0.25);
	background: rgba(255, 255, 255, 0.08);
	padding: 0.75rem 1rem;
	color: #ffffff;
	font-size: 0.875rem;
}

.site-footer .sib_signup_form input[type="submit"],
.site-footer .sib_signup_form button[type="submit"] {
	margin-top: 0.75rem;
	border: 0;
	border-radius: 0.375rem;
	background: linear-gradient(to right, #00c98a, #078ce8);
	padding: 0.75rem 1.75rem;
	font-weight: 700;
	color: #ffffff;
	cursor: pointer;
}

/* WordPress standard prose content inside articles */
/* .bdc-prose h2 {
	font-size: 1.75rem;
	font-weight: 700;
	color: #040535;
	margin-top: 2rem;
	margin-bottom: 0.75rem;
	line-height: 1.3;
}

.bdc-prose h3 {
	font-size: 1.35rem;
	font-weight: 700;
	color: #040535;
	margin-top: 1.5rem;
	margin-bottom: 0.65rem;
}

.bdc-prose p {
	margin-bottom: 1.15rem;
	line-height: 1.8;
}

.bdc-prose ul,
.bdc-prose ol {
	margin: 1rem 0 1.25rem 1.5rem;
	line-height: 1.8;
}

.bdc-prose ul {
	list-style-type: disc;
}

.bdc-prose ol {
	list-style-type: decimal;
}

.bdc-prose a {
	color: #078ce8;
	text-decoration: underline;
}

.bdc-prose img {
	border-radius: 0.75rem;
	max-width: 100%;
	height: auto;
} */

/* Modal and Popup Base Styling */
.modal {
	position: fixed;
	inset: 0;
	z-index: 1055;
	display: none;
	width: 100%;
	height: 100%;
	overflow-x: hidden;
	overflow-y: auto;
	outline: 0;
	background-color: rgba(4, 5, 53, 0.75);
}
.swiper-pagination{
	position: relative !important;
}

.modal.show,
.modal.in,
#get_a_free_quote.modal.show,
#get_a_free_quote.modal.in {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

#autopopup.show {
	display: flex !important;
}

.modal-backdrop {
	position: fixed;
	inset: 0;
	z-index: 1050;
	width: 100vw;
	height: 100vh;
	background-color: #000;
	opacity: 0.5;
}

body.modal-open {
	overflow: hidden;
}

.cls_btn_cls,
.close-btn {
	cursor: pointer;
}

.footer-widget .subscribe-widget .form-group {
    position: relative;
    max-width: 615px;
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 20px;
    margin: 0px;
    background: rgb(255, 255, 255);
    overflow: hidden;
    border-radius: 10px;
}

.footer-widget .subscribe-widget .form-group input[type="email"] {
    position: relative;
    height: 55px;
    font-size: 16px;
    max-width: 350px !important;
    width: 100% !important;
    font-weight: 500 !important;
    background: rgb(255, 255, 255);
    padding: 10px 20px;
    transition: 0.5s;
}

.footer-top .form-group input {
    width: fit-content !important;
}

.footer-widget .subscribe-widget .form-group input[type="submit"] {
    position: absolute;
    top: -12px;
    right: 0px;
    font-size: 16px;
    line-height: 20px;
    color: rgb(255, 255, 255);
    height: 100%;
    cursor: pointer;
    font-weight: 500 !important;
    border-radius: unset;
    background: -webkit-linear-gradient(-45deg, rgb(0, 187, 110), rgb(1, 95, 204) 100%);
    padding: 0px 35px;
    transition: 0.5s;
}

.footer-top .form-group input {
    width: fit-content !important;
}

.curved-corner-bottomleft {
    width: 50px;
    height: 50px;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 196px;
    transform: rotate(270deg);
}

.curved-corner-bottomleft.right_corner {
    top: auto;
    bottom: -1px;
    right: 116px;
    width: 50px;
    height: 50px;
}
.curved-corner-bottomleft.right_corner::before, .curved-corner-bottomleft:before {
    bottom: 0;
    left: 0;
    box-shadow: -50px 50px 0 0 #fff;
    content: '';
    display: block;
    width: 200%;
    height: 200%;
    position: absolute;
    border-radius: 50px;
}

.product-imagewrap {
    position: relative;
    z-index: 1;
}

.product-img {
    display: flex;
    width: 100%;
    background: #e7f4eb;
    /* padding-top: 7px; */
    cursor: pointer;
    border-radius: 30px;
    height: 360px;
    max-height: 360px;
    overflow: hidden;
}

.product-img img {
    object-fit: contain;
    object-position: center;
}

.curved-corner-bottomleft {
    width: 50px;
    height: 50px;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 196px;
    transform: rotate(270deg);
}

.curved-corner-bottomleft.right_corner::before, .curved-corner-bottomleft:before {
    bottom: 0;
    left: 0;
    box-shadow: -50px 50px 0 0 #fff;
    content: '';
    display: block;
    width: 200%;
    height: 200%;
    position: absolute;
    border-radius: 50px;
}

.curved-corner-bottomleft.right_corner {
    top: auto;
    bottom: -1px;
    right: 116px;
    width: 50px;
    height: 50px;
}
.curved-corner-bottomleft.right_corner::before, .curved-corner-bottomleft:before {
    bottom: 0;
    left: 0;
    box-shadow: -50px 50px 0 0 #fff;
    content: '';
    display: block;
    width: 200%;
    height: 200%;
    position: absolute;
    border-radius: 50px;
}

.blog_svg {
    position: absolute;
    right: -10px;
    bottom: -11px;
    object-fit: contain;
    cursor: pointer;
    background-color: #fff;
    padding: 23px;
    border-radius: 70px 0 0;
}

.sib-hp{
	overflow: hidden !important;
}

.sib-honeypot,
.sib-hp {
    left: -9999px !important
}

.sib-hp {
    position: absolute !important
}

.sib-hp {
    top: auto !important;
    width: 1px !important;
    height: 1px !important
}

.footer-widget.widget_block p:not(.sib-alert-message):not(#success-msg) {
    display: none;
}

.footer-widget.widget_block .sib_msg_disp p.sib-alert-message,
.footer-widget.widget_block #success-msg {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.footer-widget.widget_block .sib_msg_disp p.sib-alert-message-success,
.footer-widget.widget_block #success-msg {
    color: #00e289;
}

.footer-widget.widget_block .sib_msg_disp p.sib-alert-message-error,
.footer-widget.widget_block .sib_msg_disp p.sib-alert-message-warning {
    color: #ff6b6b;
}

/* Place Brevo subscribe loader & status message after the form inputs */
.site-footer .sib_signup_form {
    display: flex;
    flex-direction: column;
}

.site-footer .sib_signup_form > [class*="sib_signup_box_inside_"] {
    order: 1;
    display: flex;
    flex-direction: column;
}

.site-footer .sib_signup_form > .sib_loader {
    order: 2;
    position: static !important;
    margin-top: 10px;
}

.site-footer .sib_signup_form .form-group.subscribe-us {
    order: 1;
}

.site-footer .sib_signup_form .sib_msg_disp,
.site-footer .sib_signup_form #success-msg {
    order: 2;
}

.site-footer .sib_signup_form .sib-honeypot-error {
    order: 3;
}

@media (max-width: 567px) {
    #subTabsContainer, .blog_card_inner {
        width: 100%;
    }
}
@media (max-width: 567px) {
    .curved-corner-bottomleft {
        top: 232px;
		right: -1px;
    }
}

@media (max-width: 567px) {
    .curved-corner-bottomleft.right_corner {
        right: 80px;
    }
}
@media (max-width: 567px) {
    .blog_svg {
        background-color: #fff;
        padding: 5px;
        border-radius: 32px 0 0;
    }
}

@media screen and (max-width: 775px) {
    .blog_svg img {
        transform: scale(.75);
    }
}

/* Thank You Page (matching live design) */
.th_banner_section {
    background-color: #040535;
    padding: 160px 0 100px;
}

.th_container {
    max-width: 1378px;
    margin: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.th_banner_inner {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.th_banner_inner h1 {
    position: relative;
    margin: 0;
    font-size: 124px;
    font-weight: 700;
    line-height: 100%;
    text-transform: initial;
    color: #fff;
    letter-spacing: 0;
    text-align: center;
}

.th_banner_inner span {
    font-size: 30px;
    font-weight: 500;
    color: #fff;
    line-height: 100%;
    letter-spacing: 0.05em;
    padding-top: 12px;
    text-align: center;
}

.th_banner_inner p {
    font-size: 26px;
    font-weight: 300;
    line-height: 150%;
    color: #fff !important;
    text-align: center;
    padding-top: 30px;
    margin: 0;
}

.industries-icon{
    background: -webkit-linear-gradient(-45deg, #00bb6e, #0156d5 100%)!important;
    border-radius: 50%;
}

@media (max-width: 991px) {
    .th_banner_section {
        padding: 120px 0 80px;
    }

    .th_banner_inner h1 {
        font-size: 84px;
    }

    .th_banner_inner span {
        font-size: 24px;
    }

    .th_banner_inner p {
        font-size: 20px;
    }
}

@media (max-width: 575px) {
    .th_banner_section {
        padding: 90px 0 64px;
    }

    .th_banner_inner h1 {
        font-size: 52px;
    }

    .th_banner_inner span {
        font-size: 20px;
    }

    .th_banner_inner p {
        font-size: 17px;
        padding-top: 20px;
    }
}
