/*
Theme Name: BrainStream
Author: BrainStream
Author URI: 
Theme URI: 
Tags: full-site-editing, block-patterns
Text Domain: brainstream
Requires at least: 6.4
Requires PHP: 7.4
Tested up to: 6.4
Version: 1.0.0

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* =========================================================
   FRONTEND ONLY STYLES
========================================================= */

/* =========================================================
   ROOT VARIABLES
========================================================= */
:root {
    --bg: #ffffff;
    --text: #101828;
    --muted: #667085;
    --line: #e6e6e6;
    --accent: #f39a2d;
    --soft: #fff6ee;
    --shadow: 0 10px 30px rgba(16, 24, 40, .12);
    --radius: 18px;
    --header-h: 74.39px;
}

/* =========================================================
   GLOBAL SPACING / LAYOUT
========================================================= */
.entry-content.has-global-padding > div,
.entry-content.has-global-padding > figure,
footer,
header{
    padding-right: 2rem;
    padding-left: 2rem;
}

.container {
    padding-top: 5rem;
    padding-bottom: 5rem;
}
.content-column a{
	color: var(--wp--preset--color--link);
	font-size: inherit;
}
.mt-0{
	margin-top: 0;
}
.mb-0{
	margin-bottom: 0;
}
.mt-small{
	margin-top: 0.625rem;
}
.mt-medium{
	margin-top: 1rem;
}
.mt-large{
	margin-top: 1.8rem;
}
.mb-small, .content-column .wp-block-list li{
	margin-bottom: 0.625rem;
}
.mb-medium {
	margin-bottom: 1rem;
}
.mb-large{
	margin-bottom: 1.8rem;
}

.hero-container {
    padding-top: 3rem;
    padding-bottom: 5rem;
}

.hero-form {
    padding: 3rem;
}

.space-top {
    margin-top: 3rem !important;
}

.space-gap {
    gap: 3rem !important;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.img-full {
    width: 100%;
}

.img-full a {
    width: 100%;
}

.img-full img {
    width: 100%;
    object-fit: cover;
}

html {
    scroll-behavior: smooth;
    font-size: 1vw;
}

body {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}
.wp-block-heading a {
 	font-size: inherit;
 	font-family:inherit;
}
pre {
    background-color: #f4f4f4;
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
    max-width: 100%;
    white-space: pre-wrap;
    word-wrap: break-word;
    color: #2c2c2c;
	font-size: var(--wp--preset--font-size--ex-small);
}
/* =========================================================
   FAQ / CTA / HERO SECTIONS
========================================================= */
.faqs-section h2.wp-block-heading {
    padding-bottom: 3rem;
}

.cta-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.home-hero-section {
    padding-top: 3rem;
    padding-bottom: 5rem;
}

.hero-description {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

/* =========================================================
   CASE STUDIES
========================================================= */
.case-studies .wp-block-post-excerpt__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.case-studies .wp-block-post-excerpt a {
    color: var(--wp--preset--color--link);
}

/* =========================================================
   TESTIMONIALS SLIDER
========================================================= */
.review-slider {
    padding: clamp(1.5rem, 4vw, 3.75rem) clamp(1rem, 3vw, 2.75rem);
	box-shadow: rgba(52, 52, 52, .1) 0px 0px 15px;
}

.review-slider .swiper-wrapper .swiper-slide {
    border-right: 1px solid var(--wp--preset--color--link);
    height: initial;
}

@media (max-width: 1024px) {
    .review-slider .swiper-wrapper .swiper-slide {
        border-right: none;
    }
}

.cb-slide > .wp-block-columns {
    background: #fff;
    border-radius: 10px;
    height: 100%;
}

.testimonials-slider .swiper-wrapper .swiper-slide {
    height: initial;
}

/* =========================
   BASE (UNCHANGED CORE)
   ========================= */

.testimonials-slider {
    position: relative;
    padding-bottom: 4rem; /* space for arrows */
}



/* Navigation buttons */
.testimonials-slider .cb-button-prev,
.testimonials-slider .cb-button-next {
    position: absolute;
    bottom: 0;
    top: auto;
    transform: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--wp--preset--color--link);
    border-radius: 50%;
    background: transparent;
    color: var(--wp--preset--color--link);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 20;
}

/* Position */
.testimonials-slider .cb-button-next {
    right: 20px;
}

.testimonials-slider .cb-button-prev {
    right: 75px;
    left: auto;
}

/* Hover */
.testimonials-slider .cb-button-prev:hover,
.testimonials-slider .cb-button-next:hover {
    background: var(--wp--preset--color--link);
    color: #fff;
}

/* =========================
   LARGE SCREENS (1440px+)
   ========================= */
@media (min-width: 1440px) {
    .testimonials-slider .cb-button-prev,
    .testimonials-slider .cb-button-next {
        width: 48px;
        height: 48px;
    }

    .testimonials-slider .cb-button-next {
        right: 30px;
    }

    .testimonials-slider .cb-button-prev {
        right: 90px;
    }
}

/* =========================
   LAPTOP / TABLET (1024px)
   ========================= */
@media (max-width: 1024px) {
    .testimonials-slider .cb-button-prev,
    .testimonials-slider .cb-button-next {
        width: 40px;
        height: 40px;
    }

    .testimonials-slider .cb-button-next {
        right: 15px;
    }

    .testimonials-slider .cb-button-prev {
        right: 65px;
    }
}

/* =========================
   TABLET (768px)
   ========================= */
@media (max-width: 768px) {
    .testimonials-slider .cb-button-prev,
    .testimonials-slider .cb-button-next {
        width: 36px;
        height: 36px;
    }

    .testimonials-slider .cb-button-next {
        right: 12px;
    }

    .testimonials-slider .cb-button-prev {
        right: 58px;
    }
}

/* =========================
   MOBILE (480px)
   ========================= */
@media (max-width: 480px) {
    .testimonials-slider {
        padding-bottom: 5rem; /* more space below */
    }

    .testimonials-slider .cb-button-prev,
    .testimonials-slider .cb-button-next {
        width: 34px;
        height: 34px;
    }

    .testimonials-slider .cb-button-next {
        right: 10px;
    }

    .testimonials-slider .cb-button-prev {
        right: 52px;
    }
}

/* =========================
   SMALL MOBILE (360px)
   ========================= */
@media (max-width: 360px) {
    .testimonials-slider .cb-button-prev,
    .testimonials-slider .cb-button-next {
        width: 32px;
        height: 32px;
        bottom: -50px;
    }

    .testimonials-slider .cb-button-prev {
        right: 48px;
    }

    .testimonials-slider .cb-button-next {
        right: 8px;
    }
}


/* .testimonials .slick-slide{
	padding: 0 2rem;
	//margin: 0 -0.5px;	
}
.testimonials .slick-slide.slick-current{
	//padding-left: 0;
}
.testimonials .slick-slide.slick-active:last-child{
	//padding-right: 0;
}

.testimonials .slick-list{
	padding-bottom: 130px; 
}
.testimonials .slick-next, .testimonials .slick-prev{
	bottom: 0;
	top: 100%;
	right: 0;
	left: auto;
	border: 0.0625rem solid var(--wp--preset--color--contrast);
  	width: 2.5rem;	
	height: 2.5rem;
	border-radius: 50%;
}
.testimonials .slick-next:hover, .testimonials .slick-prev:hover{
	border-color: var(--wp--preset--color--link);
	background: var(--wp--preset--color--link);	
}
.testimonials .slick-prev{
	right: 60px;
}
.slick-prev::before{
	content: "\f104";
	font-family: "Font Awesome 6 Free";
	font-weight: 700;
}
.slick-next::before{
	content: "\f105";
	font-family: "Font Awesome 6 Free";
	font-weight: 700;
}
.testimonials .slick-next:hover:before, .testimonials .slick-prev:hover:before{
	color: #fff;
} */

/* =========================================================
   ORBIT SECTION
========================================================= */
.consultation-orbit-wrapper *,
.consultation-orbit-wrapper *:after,
.consultation-orbit-wrapper *:before {
    box-sizing: border-box;
}

.consultation-orbit-wrapper {
    margin: 0;
    padding: 0;
/* 	overflow: hidden; */
}


.orbit-container {
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    transform-origin: center center;
}

.orbit {
    border-radius: 50%;
    border: 2px solid rgba(247, 141, 30, 0.25);
    box-shadow: 0 0 20px rgba(243, 112, 35, 0.08);
    position: relative;
}

.orbit-heart {
    width: 200px;
    height: 200px;
    margin: 50px;
    box-shadow: 0 0 25px rgba(247, 141, 30, 0.4), 0 0 80px rgba(247, 141, 30, 0.15);
    background: radial-gradient(circle at center, #F78D1E 0%, #F78D1E 100%);
    border: 2px solid radial-gradient(circle at center, #F78D1E 0%, #F78D1E 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.orbit-heart:hover {
    box-shadow: 0 0 35px rgba(243, 112, 35, 0.5), 0 0 200px rgba(243, 112, 35, 0.25);
    transform: scale(1.05);
}

.orbit-heart__logo {
    width: 80px;
    height: 80px;
    fill: #fff;
    position: relative;
    z-index: 2;
}

.orbit-heart__text {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotate 20s linear infinite;
}

.orbit-heart__text text {
    fill: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.orbit-inner {
    width: 300px;
    height: 300px;
    margin: 50px;
}

.orbit-middle {
    width: 400px;
    height: 400px;
    margin: 50px;
}

.orbit-outer {
    width: 500px;
    height: 500px;
    position: relative;
}

.center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.pivot {
    position: absolute;
    width: 0;
    height: 0;
}

.pivot-inner {
    top: -150px;
}

.pivot-middle {
    top: -200px;
}

.pivot-outer {
    top: -250px;
}

.node {
    position: absolute;
    width: 70px;
    height: 70px;
    left: -35px;
    top: -35px;
    border: 2px solid rgba(247, 141, 30, 0.4);
    border-radius: 50%;
    background: rgba(247, 141, 30, 0.08);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.node:hover {
    background: rgba(247, 141, 30, 0.15);
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(247, 141, 30, 0.3);
}

.node i {
    font-size: 32px;
    color: #F78D1E;
    transition: all 0.3s ease;
}

.node:hover i {
    color: #d55a0f;
    transform: scale(1.1);
}

.node svg {
    width: 100%;
    height: 100%;
    fill: #F78D1E;
    transition: all 0.3s ease;
}

.node:hover svg {
    fill: #d55a0f;
}

/* =========================================================
   POPUP MODAL
========================================================= */
.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 20, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.popup-overlay.active {
    display: flex;
}



.popup-split-modal {
    display: flex;
    width: 100%;
    max-width: 1400px;
    height: 90vh;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.45);
    position: relative;
}

@keyframes popupSlideUp {
    from { transform: translateY(40px) scale(0.96); opacity: 0; }
    to   { transform: translateY(0) scale(1); opacity: 1; }
}

.popup-split-image {
    flex: 0 0 50%;
    position: relative;
    overflow: hidden;
    min-height: 520px;
}

.popup-split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.popup-split-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(247, 141, 30, 0.25) 0%,
        rgba(0,0,0,0.35) 100%
    );
}

.popup-split-image__badge {
    position: absolute;
    bottom: 28px;
    left: 24px;
    z-index: 2;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    border-radius: 50px;
}

.popup-split-image__badge span {
    color: #F78D1E;
    margin-right: 4px;
}

.popup-split-form {
    flex: 1;
    background: #ffffff;
    position: relative;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.popup-split-form__inner {
    padding: 48px 44px 44px;
    display: flex;
    flex-direction: column;
    flex: 1;
	justify-content: center;
}

.popup-split-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f5f5f5;
    border: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    z-index: 10;
}

.popup-split-close:hover {
    background: #F78D1E;
    color: #fff;
    transform: rotate(90deg);
}

.popup-split-form__eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #F78D1E;
    margin: 0 0 12px;
}

.popup-split-form__title {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
    color: #1a1a2e;
    margin: 0 0 14px;
}

.popup-split-form__title span {
    color: #F78D1E;
}

.popup-split-form__subtitle {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 28px;
}



/* =========================================================
   POPUP CF7 FORM STYLING
========================================================= */
.popup-split-form__cf7 .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}



.popup-split-form__cf7 input[type="text"]:focus,
.popup-split-form__cf7 input[type="email"]:focus,
.popup-split-form__cf7 input[type="tel"]:focus,
.popup-split-form__cf7 textarea:focus {
    border-bottom-color: #F78D1E !important;
}

.popup-split-form__cf7 input::placeholder,
.popup-split-form__cf7 textarea::placeholder {
    color: #aaa !important;
}

.popup-split-form__cf7 textarea {
    min-height: 90px !important;
    resize: none !important;
}

.popup-split-form__cf7 input[type="submit"],
.popup-split-form__cf7 .wpcf7-submit {
    background: #F78D1E !important;
    color: #fff !important;
    border: none !important;
    padding: 14px 36px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s !important;
    width: 100% !important;
    margin-top: 8px !important;
    font-family: inherit !important;
}

.popup-split-form__cf7 input[type="submit"]:hover,
.popup-split-form__cf7 .wpcf7-submit:hover {
    background: #d97113 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(247, 141, 30, 0.35) !important;
}

.popup-split-form__cf7 .wpcf7-not-valid-tip {
    font-size: 11px !important;
    color: #e74c3c !important;
    margin-bottom: 10px !important;
    display: block !important;
}

.popup-split-form__cf7 .wpcf7-response-output {
    border-radius: 8px !important;
    padding: 10px 16px !important;
    font-size: 13px !important;
    margin: 10px 0 0 !important;
}

.popup-split-form__cf7 .wpcf7-mail-sent-ok {
    background: #e8f8f0 !important;
    border-color: #27ae60 !important;
    color: #27ae60 !important;
}

.popup-split-form__cf7 .wpcf7-mail-sent-ng,
.popup-split-form__cf7 .wpcf7-aborted {
    background: #fdf0ee !important;
    border-color: #e74c3c !important;
    color: #e74c3c !important;
}

.popup-split-form__cf7 .wpcf7-spinner {
    display: none !important;
}

/* =========================================================
   DISCOVER SECTION
========================================================= */
/*.discover-content{
  position: sticky;
  top: 20%;
  transform: translateY(0) !important;
}
*/

.discover-num-heading {
    opacity: 60%;
}
.discover-num-heading-old {
    opacity: 30%;
}
/* =========================================================
   FAQ SECTION
========================================================= */
.faq-section .faq-group details {
    border-bottom: 1px solid #d9d9d9;
    padding: 12px 0;
}

.faq-section .faq-group summary {
    list-style: none;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.25s ease;
}

.faq-section .faq-group summary::-webkit-details-marker {
    display: none;
}

.faq-section .faq-group summary::after {
    content: "";
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='currentColor' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat center;
    transition: transform 0.35s ease;
}

.faq-section .faq-group details[open] summary::after {
    transform: rotate(180deg);
}

.faq-section .faq-group details > *:not(summary) {
    margin-top: 14px;
    color: inherit;
}



.spacer {
    border-top: 1px solid grey;
}

/* =========================================================
   FORM STYLING
========================================================= */
.form-control.lined,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="file"],
.wpcf7-form textarea {
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid black;
    background-color: transparent;
    padding: 0.75rem 0;
    display: block;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-bottom: 1px solid black;
    box-shadow: none;
}

.wpcf7-form input:hover,
.wpcf7-form textarea:hover {
    border-bottom: 1px solid black;
}

.contact-us__form-main {
    display: flex;
    width: 100%;
    gap: 25px;
}

.contact-us__form--btn p {
    padding: 0;
    display: flex;
    align-items: center;
	margin-bottom: 0;
}

.wpcf7-form input[type="submit"],
.wpcf7-form input[type="file"],
.wpcf7-form input[type="hidden"] {
    box-shadow: none !important;
}

.contact-us__form-main .form-field {
    flex: 1;
}

.contact-us__form-main p {
    flex: 1;
    margin: 20px 0px;
}

.contact-us__form-num p,
.contact-us__form-main p {
    margin: 0px 0 25px 0px;
}

.choose-file > p {
    margin-top: 0px;
}

.wpcf7-spinner {
    flex-shrink: 0;
}

.wpcf7-submit {
    background-color: var(--wp--preset--color--link) ;
    border-radius: 0px;
    border-color: var(--wp--preset--color--link) !important;
    border-width: 1px !important;
    border-style: solid !important;
    color: var(--wp--preset--color--base);
    font-family: inherit;
    font-size: var(--wp--preset--font-size--small);
    font-style: inherit;
    font-weight: bold !important;
    letter-spacing: inherit;
    line-height: inherit;
    padding-top: var(--wp--preset--spacing--20);
    padding-right: var(--wp--preset--spacing--30);
    padding-bottom: var(--wp--preset--spacing--20);
    padding-left: var(--wp--preset--spacing--30);
    text-decoration: none;
    text-transform: uppercase !important;
    min-width: 10rem;
    min-height: 3rem;
    padding: 0.625rem 1.875rem;
    cursor: pointer;
}

.wpcf7-submit:hover {
	background-color: #fff;
	border-color: var(--wp--preset--color--link) !important;
	color: var(--wp--preset--color--link) !important;
}

.choose-file .text,
.choose-file .icon {
    font-size: 1rem;
}

.attach-file {
    border-bottom: none !important;
}

.inside-div p {
    margin: 0px;
}

textarea {
    resize: none;
}

/* =========================================================
   CONTENT / BLOCK STYLING
========================================================= */
.cb-slide > .wp-block-columns .wp-block-column .testimonials-profile {
    flex-grow: 1;
}

.cb-slide > .wp-block-columns > .wp-block-column {
    display: flex;
    flex-direction: column;
}

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

.toc-column ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: none;
}

.has-link-background-color .wp-element-button:hover,
.has-link-background-color .wp-block-button__link:hover {
    background-color: #ffffff;
    color: #f78d1e;
    border-color: #f78d1e;
}

/* =========================================================
   RESPONSIVE MEDIA QUERIES
========================================================= */

/* Reduced motion */
@media screen and (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Max width: 1400px */
@media (max-width: 1400px) {
    .orbit-container {
        transform: scale(0.85);
    }
}

/* Max width: 1200px */
@media (max-width: 1200px) {
    .orbit-container {
        transform: scale(0.75);
    }
}

/* Max width: 991px */
@media (max-width: 991px) {
    .orbit-container {
        transform: scale(0.65);
    }
}

/* Max width: 82.5rem */
@media (max-width: 82.5rem) {
    html,
    body {
        font-size: 1rem;
    }

	body .has-small-font-size {
		font-size: 1rem !important;
	}

    .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
    .is-layout-constrained > .alignwide {
        max-width: 100vw;
    }
}

/* Max width: 781px */
@media (max-width: 781px) {
    .entry-content.has-global-padding > div,
    .entry-content.has-global-padding > figure,
    footer,
	header{
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .container {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .hero-container {
        padding-top: 2rem;
        padding-bottom: 3rem;
    }

    .hero-form {
        padding: 1rem;
    }

    .space-top {
        margin-top: 1.5rem !important;
    }

    .space-gap {
        gap: 1.5rem !important;
    }
	

    .flex-col-rev {
        flex-direction: column-reverse;
    }

    .flex-col-rev > div {
        width: 100%;
    }

    .faqs-section h2.wp-block-heading {
        padding-bottom: 2rem;
    }

    .cta-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .home-hero-section {
        padding-top: 1.5rem;
        padding-bottom: 3rem;
    }

    .hero-description {
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

/* Min width: 768px */

@media only screen and (min-width: 1024px) { 
.discover-content {
        position: sticky;
        top: 40%;
        transform: translateY(0) !important;
    }
}
@media only screen and (min-width: 768px) {
    

    .blog-content {
        position: sticky;
        top: calc(var(--header-h) + 20px);
        align-self: flex-start;
        height: fit-content;
    }
}

/* Max width: 768px */
/* @media (max-width: 1330px) {
    .contact-us__form--btn {
        padding-bottom: 40px;
    }
} */
@media (max-width: 768px) {
    .orbit-container {
        transform: scale(0.85);
        min-height: 300px;
    }
	.consultation-orbit-wrapper {
	overflow: hidden;
}


    .popup-split-modal {
        flex-direction: column;
        max-width: 480px;
        max-height: 92vh;
        border-radius: 16px;
    }

    .popup-split-image {
        flex: 0 0 200px;
        min-height: 200px;
    }

    .popup-split-form__inner {
        padding: 32px 28px 32px;
    }

    .popup-split-form__title {
        font-size: 24px;
    }
}

/* Max width: 767px */
/* @media (max-width: 767px) {
    .contact-us__form--btn {
        padding-bottom: 40px;
    }
} */

/* Max width: 576px */
@media (max-width: 576px) {
    .orbit-container {
        transform: scale(0.65);
        min-height: 250px;
    }
}

/* Max width: 480px */
@media (max-width: 480px) {
    .section-title {
        font-size: 14px;
    }

    .item {
        font-size: 13px;
    }

    .popup-overlay {
        padding: 12px;
    }

    .popup-split-modal {
        flex-direction: column;
        max-width: 100%;
        border-radius: 14px;
    }

    .popup-split-image {
        display: none;
    }

    .popup-split-form__inner {
        padding: 28px 22px 28px;
    }

    .popup-split-form__title {
        font-size: 22px;
    }

    .popup-split-close {
        top: 12px;
        right: 12px;
    }
}

/* Max width: 400px */
@media (max-width: 400px) {
    .orbit-container {
        transform: scale(0.55);
        min-height: 200px;
    }
}


 #services-menu {
      border-left: 0;
      border-right: 0;
      width: 100%;
    }

 #services-menu .mega-grid {
      max-width: 1240px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 280px 1fr;
      gap: 0;
      min-height: auto;
    }


.blog-pagination {
    padding-top: 2rem;
	padding-bottom: 2rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.blog-pagination .wp-block-query-pagination-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

/* Default state — all page number buttons */
.blog-pagination .page-numbers,
.blog-pagination .wp-block-query-pagination-next,
.blog-pagination .wp-block-query-pagination-previous {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid var(--wp--preset--color--link);
    text-decoration: none;
    color: var(--wp--preset--color--link);
    background-color: #fff;
    transition: all 0.3s ease;
}

/* Hover state */
.blog-pagination a.page-numbers:hover,
.blog-pagination .wp-block-query-pagination-next:hover,
.blog-pagination .wp-block-query-pagination-previous:hover {
    background-color: var(--wp--preset--color--link);
    color: #fff;
    border-color: var(--wp--preset--color--link);
}

/* Active / current page */
.blog-pagination .page-numbers.current {
    background-color: var(--wp--preset--color--link);
    color: #fff;
    border-color: var(--wp--preset--color--link);
}


.wp-block-post-terms a {
    pointer-events: none;
    text-decoration: none;
    color: inherit;
    cursor: default;
}

.wp-block-post-excerpt__more-link{
    color: var(--wp--preset--color--link);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
	font-size: 1rem;
	padding-top: 1rem;
}

.wp-block-post-excerpt__more-link::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 6px;
    position: relative;
    top: 0px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23f78d1e' d='M0,12A12,12,0,1,0,12,0,12.013,12.013,0,0,0,0,12Zm22,0A10,10,0,1,1,12,2,10.011,10.011,0,0,1,22,12ZM11.757,7.757l1.414-1.414,4.243,4.243a2,2,0,0,1,0,2.828l-4.243,4.243-1.414-1.414L15,13H6V11h9Z'/></svg>");
    background-size: contain;
    background-repeat: no-repeat;
}



/* Only for tablet & mobile */
/* Below 1199px → 3 columns */
@media (max-width:1199px){

.team-section.wp-block-columns{
    flex-wrap: wrap !important;
	
        justify-content: space-between;
}

.team-section.wp-block-columns > .wp-block-column{
    flex: 0 0 28% !important;
    max-width: 100% !important;
}

}

/* Below 991px → 2 columns */
@media (max-width:991px){

.team-section.wp-block-columns > .wp-block-column{
    flex: 0 0 45% !important;
    max-width: 100% !important;
}

}

@media (max-width:425px) {

.connect-section{
	gap: 2rem;
}
}

@media (min-width:425px) and (max-width:781px){

.connect-section{
    flex-wrap: wrap !important;
	gap: 2rem;
}

.connect-section.wp-block-columns > .wp-block-column{
    flex-basis: 45% !important;
    max-width: 50% !important;
}
	
}
@media (max-width:781px){
.milestone-section.wp-block-columns > .wp-block-column{
    flex-basis: 45% !important;
    max-width: 50% !important;
}
}

.case-study-filters {
	gap: 0.8rem;
}

.case-study-filters .filter-btn {
    padding: 10px 24px;
    border: 1px solid var(--wp--preset--color--link);
    background: #fff;
    color: var(--wp--preset--color--link);
    cursor: pointer;
}

.case-study-filters .filter-btn.active {
    background: var(--wp--preset--color--link);
    color: #fff;
}

.case-study-filters .filter-btn:hover {
    background: var(--wp--preset--color--link);
    color: #fff;
}


.discover-num-heading-old {
    margin-bottom: 0 !important;
    line-height: 1 !important;
    height: auto;

}

@media screen and (min-width: 1240px) {
    .wp-block-media-text.is-vertically-aligned-top {
        grid-template-columns: 10% auto !important;
    }
}

.apply-btn > p {
 white-space: nowrap;
}
.wp-block-post-title a {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.service-readmore .wp-block-button__link {
    /* RESET GUTENBERG DEFAULTS */
    all: unset;
    cursor: pointer;

    /* YOUR STYLES */
    color: var(--wp--preset--color--link);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
    font-size: 1rem;
   /* padding-top: 1rem;*/
    text-decoration: none;
}

.service-readmore .wp-block-button__link::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 6px;
    position: relative;
    top: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23f78d1e' d='M0,12A12,12,0,1,0,12,0,12.013,12.013,0,0,0,0,12Zm22,0A10,10,0,1,1,12,2,10.011,10.011,0,0,1,22,12ZM11.757,7.757l1.414-1.414,4.243,4.243a2,2,0,0,1,0,2.828l-4.243,4.243-1.414-1.414L15,13H6V11h9Z'/></svg>");

    background-size: contain;
    background-repeat: no-repeat;
}

.faq-section .faq-group details {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}
.faq-section .faq-group summary {
    font-size: 1.25rem;
    line-height: 1.25;
}


/* Tablet: 2 columns (all sections) */
@media (max-width: 1024px) and (min-width: 600px) {
  .bs-services-grid,
  .bs-case-grid,
  .bs-blog-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px;
  }

  .bs-services-grid .wp-block-column {
    width: 100% !important;
  }
}

/* Mobile: 1 column (all sections) */
@media (max-width: 599px) {
  .bs-services-grid,
  .bs-case-grid,
  .bs-blog-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
}

/* Desktop: different layouts */
@media (min-width: 1025px) {
  .bs-services-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .bs-case-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .bs-blog-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

@media (max-width: 782px) {
  .accreditation-section .wp-block-gallery figure.wp-block-image {
    width: fit-content!important;
    flex-grow: 0;
  }

  .accreditation-section .wp-block-gallery figure.wp-block-image img {
    max-width: 6.25rem !important;
    max-height: 10rem;
    width: auto !important;
    height: auto;
    object-fit: contain;
    display: block;
  }

  .accreditation-section .wp-block-gallery {
    justify-content: start;
  }
}

@media (max-width: 600px) {
  .wp-block-media-text > .wp-block-media-text__content {
    padding: 0 16px !important;
  }
}

/* wrapper */
.apply-now {
  margin: 20px 0;
  padding: 8px;
  background-color: #ff00000d;
}

/* link */
.apply-now a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

/* arrow */
.apply-now a::after {
  content: "";
  width: 16px;
  height: 16px;
  display: inline-block;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23f78d1e' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 12h14M13 5l7 7-7 7'/%3E%3C/svg%3E");

  background-size: contain;
  background-repeat: no-repeat;

  transition: transform 0.3s ease;
}

/* hover */
.apply-now a:hover::after {
  transform: translateX(4px);
}
@media (max-width: 1100px) {
  .consultation-orbit-wrapper {
    overflow: hidden;
  }
}

.sidebar-form .intl-tel-input ul.country-list,
.sidebar-form .intl-tel-input .flag-container{
	    width: 100%;
}
.sidebar-form .intl-tel-input.separate-dial-code .selected-dial-code {
	    padding-left: 23px !important;
}
.sidebar-form .wpcf7-form textarea {
	    height: 50px;
    resize: none;
}
.sidebar-form .wpcf7-form-control-wrap {
	    margin: 0 0 40px 0px;
    display: block;
}
.sidebar-form br {
    display: none;
}
.blog-author-outer {
    padding: 0px;
    background-color: #ff00000d;
}

.blog-author-outer .testimonials-profile {
    margin: 0;
}

.blog-author-outer .wp-block-post-template {
    padding: 1.5rem; 
}
.blog-author-outer .wp-block-post-featured-image :where(img) {
    width: 120px;
    height: 120px;
    margin: 0 50px 16px 0;
}
.contact-cta-section .wp-block-media-text__media,
.contact-cta-section .wp-block-media-text__content {
    height: 100%;

}
.contact-cta-section .wp-block-media-text__content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
	display: flex;
    align-items: center;
}
.contact-cta-section.wp-block-media-text > .wp-block-media-text__content {
    padding: clamp(2rem, 4vw, 3rem) !important;
}
.contact-cta-section .wp-block-media-text__media img,
.contact-cta-section .wp-block-media-text__media video {
    height: 100%;
	object-fit: cover;
	object-position: center center;
}

.services-box-outer .wp-block-list {
	padding-left: 20px;
} 
.services-box-outer .wp-block-group {
	height: 100%;
}


@media (max-width: 781px) {
  .service-item .wp-block-media-text{
    grid-template-columns: 10% auto !important;
    align-items: flex-start;
  }

  .service-item .wp-block-media-text__media img {
    max-width: 50px;
    height: auto;
  }

  .service-item .wp-block-media-text__content {
    padding-left: 15px !important;
  }
}
.case-study-main-banner .is-layout-flow{
	border:none;
}
@media (max-width: 767px) {
    .wp-container-core-group-is-layout-9da16794 > * + * {
        margin-block-start: 1.25rem !important;
    }
}
/* 1. Wrapper must stretch */
.review-slider .swiper-wrapper {
    display: flex;
    align-items: stretch !important;
}

/* 2. Slide full height */
.review-slider .swiper-slide {
    display: flex;
    height: auto;
}

/* 3. VERY IMPORTANT: outer columns */
.review-slider .swiper-slide > .wp-block-columns {
    display: flex;
    height: 100%;
}

/* 4. Main card column */
.review-slider .swiper-slide .wp-block-column.is-layout-flow {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

/* 5. Content grow */
.review-slider .wp-block-column.is-layout-flow > p:first-child {
    flex-grow: 1;
}

/* 6. Stars fixed */
.review-slider .wp-block-image {
    flex-shrink: 0;
}

/* 7. Bottom section fixed */
.review-slider .wp-block-columns.alignwide {
    margin-top: auto;
    flex-shrink: 0;
}


 .grecaptcha-badge {
	 width: 70px !important;
	 overflow: hidden !important;
	 transition: all 0.3s ease !important;
	 left: 4px !important;
}
.grecaptcha-badge:hover {
	width: 256px !important;
}

#bssbSocialShare-1 ul.bssbSocialShare li.icon {
    width: calc(20px + 10px + 10px);
}
