/*
Theme Name: PRO SQUAD Managed Services
Theme URI: https://github.com/yourusername/prosquad-theme
Description: A modern managed services theme with widgetized homepage sections
Version: 1.0.0
Author: PRO SQUAD
Author URI: https://prosquad.com
License: GPL v2 or later
Text Domain: prosquad
*/

:root {
    --ps-blue: #0082F1;
    --ps-blue-dark: #0d63c4;
    --ps-navy: #050912;
    --ps-black: #18181B;
    --ps-text-gray: #6b7280;
    --ps-light-blue-bg: #eaf3fe;
    --ps-navigation-gray-color: #737373;
    /* Font Variables - Only Alegreya Sans & Geist */
    --ps-font-heading: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --ps-font-body: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --wp-admin-bar-height: 32px;
}

/* Apply to all inner pages (not front page) */
body:not(.home):not(.front-page) {
    background-color: #FAFAFA;
}

/* Or apply to all pages except front page */
body.page:not(.home) {
    background-color: #FAFAFA;
}

/* Main content area for inner pages */
.page #main-content,
.single #main-content,
.archive #main-content,
.search #main-content,
.error404 #main-content {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

/* Ensure the page content has the background */
.ps-inner-hero + #main-content {
    background-color: #FAFAFA;
}

/* Admin bar adjustment for mobile */
@media screen and (max-width: 782px) {
    :root {
        --wp-admin-bar-height: 46px;
    }
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--ps-font-body);
    color: #1a1a1a;
    line-height: 1.7;
}

a {
    text-decoration: none;
}

/* ============================================
   FONT USAGE - Alegreya Sans for Headings, Geist for Everything Else
   ============================================ */

/* HEADINGS - Alegreya Sans */
h1, h2, h3, h4, h5, h6,
.ps-hero1 h1,
.ps-inner-hero-content h1,
.ps-cta h2,
.ps-about h2,
.ps-services h2,
.ps-why h2,
.svc-card h5,
.why-card h5,
.ps-about h2,
.ps-services h2,
.ps-why h2,
.footer-links-widget h6,
.contact-info h6,
.ps-inner-hero-content h1,
.ps-hero1 h1 {
    font-family: var(--ps-font-heading);
    font-weight: 700;
}

/* Headings use Geist font */
/* Special elements use Alegreya Sans */
.ps-navbar .nav-link,
.btn-ps-primary,
.btn-ps-outline-light,
.ps-eyebrow,
.ps-lang-pill,
.ps-inner-hero-content h1,
.ps-cta h2,
.ps-hero1 h1 {
    font-family: var(--ps-font-heading);
}

/* Body text uses Geist */
body,
p,
.lead-txt,
.desc,
.svc-card p,
.why-card p,
.ps-cta p,
.ps-about .desc,
.ps-services > .container > p,
.ps-inner-hero-desc,
footer.ps-footer .copyright,
#main-content .entry-content p,
#main-content .entry-content ul,
#main-content .entry-content ol,
.entry-content,
.post-content,
.comment-content,
.widget_text,
.ps-footer .copyright,
.footer-description,
.navbar-brand,
.ps-navbar .nav-link,
.btn-ps-primary,
.btn-ps-outline-light,
.ps-eyebrow,
.ps-lang-pill,
.ps-breadcrumb,
.social-links .social-icon,
.ps-hero1 .lead-txt,
.ps-about .desc,
.ps-services > .container > p,
.ps-why .why-card p,
.ps-cta p,
.ps-inner-hero-desc,
#main-content .entry-content p,
#main-content .entry-content ul,
#main-content .entry-content ol,
footer.ps-footer .copyright,
.footer-description,
.contact-info p,
.contact-info a,
.footer-links-widget ul li a,
.ps-footer .copyright,
.ps-footer a,
.widget,
.widget_text,
.wp-block-paragraph,
.wp-block-columns,
.wp-block-group,
.wp-block-cover {
    font-family: var(--ps-font-body);
}

/* Headings with specific weights */
h1 {
    font-weight: 800;
}

h2 {
    font-weight: 700;
}

h3 {
    font-weight: 600;
}

h4 {
    font-weight: 600;
}

h5 {
    font-weight: 500;
}

h6 {
    font-weight: 500;
}

/* Buttons */
.btn-ps-primary {
    background: var(--ps-blue);
    color: #fff;
    border: none;
    padding: .65rem 1.6rem;
    border-radius: 8px;
    font-weight: 500;
    transition: background .2s ease;
    display: inline-block;
    font-family: var(--ps-font-heading);
}
.btn-ps-primary-contact {
    background: var(--ps-blue);
    color: #fff;
    border: none;
    padding: .65rem 1rem;
    border-radius: 15px;
    font-weight: 500;
    transition: background .2s ease;
    display: inline-block;
    font-family: var(--ps-font-heading);
    box-shadow: 0px 1px 2px 0px #18181B0D;
}
.btn-ps-primary-contact:hover {
    background: var(--ps-blue-dark);
    color: #fff;
}
.btn-ps-primary:hover {
    background: var(--ps-blue-dark);
    color: #fff;
}

.btn-ps-outline-light {
    background: #fff;
    color: #111;
    border: none;
    padding: .65rem 1.6rem;
    border-radius: 8px;
    font-weight: 500;
    display: inline-block;
    font-family: var(--ps-font-heading);
}

.btn-ps-outline-light:hover {
    background: #e9e9e9;
    color: #111;
}

/* ============================================
   NAVBAR - Overlay on Hero with Admin Bar Support
   ============================================ */
.ps-navbar-outer {
    position: absolute;
    top: calc(20px + var(--wp-admin-bar-height, 0px));
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 0 1rem;
    pointer-events: none;
    transition: top 0.3s ease;
}

/* When admin bar is not present, use default top */
body:not(.admin-bar) .ps-navbar-outer {
    top: 20px;
}

/* When admin bar is present, adjust top position */
body.admin-bar .ps-navbar-outer {
    top: calc(20px + 32px); /* 20px + admin bar height */
}

/* Mobile admin bar adjustment */
@media screen and (max-width: 782px) {
    body.admin-bar .ps-navbar-outer {
        top: calc(20px + 46px); /* 20px + mobile admin bar height */
    }
}

/* Small screens adjustment */
@media screen and (max-width: 600px) {
    body.admin-bar .ps-navbar-outer {
        top: calc(10px + 46px);
    }
    
    .ps-navbar-outer {
        top: calc(10px + var(--wp-admin-bar-height, 0px));
        padding: 0 0.5rem;
    }
    
    body:not(.admin-bar) .ps-navbar-outer {
        top: 10px;
    }
}

.ps-navbar-outer .ps-navbar {
    pointer-events: auto;
}

.ps-navbar {
    width: 100%;
    max-width: 1200px;
    padding: .7rem 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
    transition: all 0.3s ease;
}

.ps-navbar-outer.scrolled .ps-navbar {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, .2);
}

.ps-navbar .nav-link {
    color: var(--ps-navigation-gray-color);
    font-weight: 400;
    font-size: 0.875rem;
    padding: .5rem 1rem;
    transition: color 0.2s ease;
    font-family: var(--ps-font-heading);
}

.ps-navbar .nav-link:hover {
    color: var(--ps-blue);
}

.ps-navbar .nav-link.active {
    color: #18181B;
    font-weight: 400;
}

.ps-lang-pill {
    color: #149247;
    border-radius: 6px;
    padding: .4rem .6rem;
    font-size: .85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-family: var(--ps-font-heading);
}
.ps-lang-pill img {
    width: 24px;
}

/* ============================================
   HERO SECTION - With Background Image
   ============================================ */
.ps-hero1 {
    position: relative;
    min-height: 786px;
    height: 786px;
    display: flex;
    align-items: center;
    background-image: url('assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
    overflow: hidden;
}

/* Hero Overlay for better text readability */
.ps-hero1::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(5, 11, 23, 0.85) 0%, 
        rgba(5, 11, 23, 0.70) 50%,
        rgba(5, 11, 23, 0.60) 100%);
    z-index: 1;
}

.ps-hero1 .hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.ps-hero1 .hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(20, 121, 232, .15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 121, 232, .15) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at bottom right, black 0%, transparent 65%);
    -webkit-mask-image: radial-gradient(ellipse at bottom right, black 0%, transparent 65%);
}

.ps-hero1 .globe-wrap {
    position: absolute;
    right: -80px;
    bottom: -140px;
    width: 520px;
    height: 520px;
    opacity: .6;
    z-index: 0;
    pointer-events: none;
}

.ps-hero1 .hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    text-align: center;
}

.ps-hero1 h1 {
    font-weight: 600;
    font-size: 4.5rem;
    line-height: 1.15;
    color: #fff;
    font-family: var(--ps-font-heading);
}

.ps-hero1 .lead-txt {
    color: #c4cbd6;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 25px;
    font-family: var(--ps-font-body);
}

/* Eyebrow text */
p.ps-eyebrow {
    color: var(--ps-blue)!important;
    font-weight: 600!important;
    font-size: 1rem!important;
    text-transform:capitalize!important;
    font-family: var(--ps-font-heading);
}

/* ============================================
   INNER PAGE HERO - 487px Height with Centered Content
   ============================================ */
.ps-inner-hero {
    position: relative;
    min-height: 487px;
    height: 487px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(5, 11, 23, 0.92) 0%, 
        rgba(5, 11, 23, 0.80) 50%,
        rgba(20, 121, 232, 0.15) 100%
    );
    background-image: url('assets/images/inner-hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Inner Hero Overlay Pattern */
.ps-inner-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(20, 121, 232, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 121, 232, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

/* Globe decoration for inner pages */
.ps-inner-hero::after {
    content: '';
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 1px solid rgba(20, 121, 232, 0.15);
    z-index: 0;
    pointer-events: none;
}

.ps-inner-hero .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ps-inner-hero .row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ps-inner-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
}

.ps-inner-hero-content h1 {
    font-family: var(--ps-font-heading);
    font-weight: 600;
    font-size: 4rem;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 0.5rem;
    text-align: center;
    margin-top: 3rem;;
}

.ps-inner-hero-content h1 span {
    background: linear-gradient(135deg, #1479E8, #4A9EFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ps-inner-hero-desc {
    font-family: var(--ps-font-body);
    font-size: 1.15rem;
    color: #c4cbd6;
    max-width: 650px;
    line-height: 1.3;
    margin: 0.75rem auto 0;
    opacity: 0.9;
    text-align: center;
}

/* Breadcrumb (optional) */
.ps-breadcrumb {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--ps-font-heading);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    flex-wrap: wrap;
}

.ps-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
    text-decoration: none;
}

.ps-breadcrumb a:hover {
    color: #ffffff;
}

.ps-breadcrumb .separator {
    color: rgba(255, 255, 255, 0.4);
}

.ps-breadcrumb .current {
    color: #ffffff;
    font-weight: 500;
}

/* Inner Hero Responsive */
@media (max-width: 991px) {
    .ps-inner-hero {
        min-height: 400px;
        height: auto;
        padding: 120px 0 80px;
    }
    
    .ps-inner-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .ps-inner-hero-desc {
        font-size: 1rem;
        max-width: 90%;
    }
    
    .ps-inner-hero::after {
        width: 300px;
        height: 300px;
        right: -80px;
    }
}

@media (max-width: 768px) {
    .ps-inner-hero {
        min-height: 350px;
        padding: 100px 0 60px;
    }
    
    .ps-inner-hero-content h1 {
        font-size: 2rem;
    }
    
    .ps-inner-hero-desc {
        font-size: 0.95rem;
    }
    
    .ps-inner-hero::after {
        width: 200px;
        height: 200px;
        right: -60px;
    }
}

@media (max-width: 576px) {
    .ps-inner-hero {
        min-height: 300px;
        padding: 80px 0 40px;
    }
    
    .ps-inner-hero-content h1 {
        font-size: 1.6rem;
    }
    
    .ps-inner-hero-desc {
        font-size: 0.9rem;
    }
}

/* ============================================
   LOGOS SECTION
   ============================================ */
.ps-logos {
    padding: 4.5rem 0;
    background: #fff;
}

.ps-logos img {
    max-height: 44px;
    width: auto;
    filter: grayscale(100%);
    opacity: .75;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.ps-about {
    padding: 5rem 0 6rem;
    background: #fff;
}

.ps-about h2 {
    font-weight: 600;
    font-size: 3rem;
    color: #111;
    line-height: 100%;
    font-family: var(--ps-font-heading);
}

.ps-about .desc {
    color: rgba(113, 113, 122, 1);
    font-size: 1.125rem;
    line-height: 1.4;
    margin: 0 auto;
    font-family: var(--ps-font-body);
}

.ps-about .desc .link-blue {
    color: var(--ps-blue);
    font-weight: 500;
}
:where(.wp-block-columns) {
    margin-bottom: 0em !important;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.ps-services {
    padding: 5rem 0 6rem;
    background: linear-gradient(180deg, rgba(0, 130, 241, 0) -23.12%, rgba(0, 130, 241, 0.3) 83.74%);
    background-color: #FFFFFF;
}

.ps-services h2 {
    font-weight: 600;
    font-size: 3rem;
    color: rgba(24, 24, 27, 1);
    font-family: var(--ps-font-heading);
}

.why-pro-squad h2{
    font-weight: 600;
    font-size: 3rem;
    color: rgba(24, 24, 27, 1);
    font-family: var(--ps-font-heading);
}
.services-panel {
    background: #fff;
    border-radius: 22px;
    padding: 2.2rem;
    box-shadow: 0 20px 50px rgba(20, 60, 120, .08);
}

.svc-card {
    border: 1px solid #eaeef3;
    border-radius: 16px;
    padding: 1.7rem;
    height: 100%;
    background: #fff;
    transition: all 0.3s ease;
}

.svc-card.svc-active {
    background: var(--ps-blue);
    color: #fff;
    border: none;
}

.svc-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaf3fe;
    color: var(--ps-blue);
    font-size: 1.3rem;
    margin-bottom: 1.1rem;
}

.svc-card.svc-active .svc-icon {
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

.svc-card h5 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: .6rem;
    font-family: var(--ps-font-heading);
}

.svc-card p {
    font-size: .92rem;
    color: #6b7280;
    margin-bottom: 0;
    line-height: 1.6;
    font-family: var(--ps-font-body);
}

.svc-card.svc-active p {
    color: rgba(255, 255, 255, .9);
}

/* ============================================
   WHY SECTION
   ============================================ */
.ps-why {
    padding: 5rem 0 6rem;
    background: #f2f3f5;
}

.ps-why h2 {
    font-weight: 800;
    font-size: 2.2rem;
    color: #111;
    font-family: var(--ps-font-heading);
}

.why-panel {
    background: #fff;
    border-radius: 22px;
    padding: 3rem;
    position: relative;
    background-image: radial-gradient(#d8dde3 1px, transparent 1px);
    background-size: 16px 16px;
}

.why-inner {
    background: #fff;
    border-radius: 18px;
    max-width: 1050px;
    margin: 0 auto;
    padding: 1rem;
}

.why-card {
    border: 1px solid #eaeef3;
    border-radius: 14px;
    padding: 1.5rem;
    background: #fff;
    height: 100%;
}

.why-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ps-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.why-card h5 {
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: .6rem;
    font-family: var(--ps-font-heading);
}

.why-card p {
    color: #6b7280;
    font-size: .92rem;
    margin-bottom: 0;
    line-height: 1.6;
    font-family: var(--ps-font-body);
}

.why-center-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.why-center-illustration .circle {
    width: 230px;
    height: 230px;
    border-radius: 50%;
    border: 1px dashed #c9d2dc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--ps-blue);
}

/* ============================================
   CTA + FOOTER
   ============================================ */
.ps-cta-wrap {
    padding: 3rem 0 0;
}

.ps-cta {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    padding: 5.5rem 3.5rem;
    isolation: isolate;
}

/* Background with dark overlay */
.ps-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background: 
        url('assets/images/cta_bg_dark.jpg') center/cover no-repeat;
    filter: brightness(0.5) saturate(0.7);
    transition: transform 0.6s ease;
}

/* Hover zoom effect */
.ps-cta:hover::after {
    transform: scale(1.05);
}

/* Dark overlay */
/*
.ps-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(
        ellipse at top left,
        rgba(20, 121, 232, 0.2) 0%,
        rgba(0, 0, 0, 0.6) 40%,
        rgba(0, 0, 0, 0.92) 70%,
        rgba(0, 0, 0, 0.97) 100%
    );
    transition: background 0.3s ease;
}
*/
.ps-cta:hover::before {
    background: radial-gradient(
        ellipse at top left,
        rgba(20, 121, 232, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 40%,
        rgba(0, 0, 0, 0.88) 70%,
        rgba(0, 0, 0, 0.95) 100%
    );
}

/* Content on top */
.ps-cta h2,
.ps-cta p,
.ps-cta .btn-ps-primary {
    position: relative;
    z-index: 2;
}

/* Pattern overlay */
.ps-cta .cta-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.05;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.ps-cta h2 {
    color: #fff;
    font-weight: 600;
    font-size: 3rem;
    position: relative;
    z-index: 2;
    font-family: var(--ps-font-heading);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.ps-cta p {
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    z-index: 2;
    line-height: 36px;
    font-weight: 400;
    font-size: 1.25rem;
    font-family: var(--ps-font-body);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.ps-cta .btn-ps-primary {
    position: relative;
    z-index: 2;
}

footer.ps-footer {
    background: #fff;
    padding: 1.8rem 0 2.5rem;
    border-top: 1px solid #eee;
    margin-top: 2rem;
}

footer.ps-footer .copyright {
    color: #6b7280;
    font-size: .9rem;
    font-family: var(--ps-font-body);
}

.logo-img {
    height: 34px;
}

/* ============================================
   PAGE CONTENT STYLING
   ============================================ */
#main-content {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

#main-content .entry-content h2 {
    font-family: var(--ps-font-heading);
    font-weight: 600;
    font-size: 3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

#main-content .entry-content h3 {
    font-family: var(--ps-font-heading);
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 3rem;
}
h3.service-block-heading{
    font-size: 3rem!important;
    font-weight: 600!important;
}
#main-content .entry-content p {
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
    color: #71717A;
    line-height: 25px;
}

#main-content .entry-content ul,
#main-content .entry-content ol {
    line-height: 1.8;
    margin-bottom: 1.25rem;
    padding-left: 0rem;
}

#main-content .entry-content li {
    margin-bottom: 0.5rem;
    font-size: 1.125rem !important;
}

/* ============================================
   GUTENBERG BLOCK SUPPORT
   ============================================ */
.entry-content .wp-block-group {
    padding: 2rem 0;
}

.entry-content .wp-block-cover {
    min-height: 400px;
}

.entry-content .wp-block-columns {
    gap: 2rem;
}

/* Gutenberg alignment classes */
.alignfull {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: 100vw;
    width: 100vw;
}

.alignwide {
    margin-left: calc(-25vw + 25%);
    margin-right: calc(-25vw + 25%);
    max-width: 100vw;
    width: 100vw;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 991px) {
    .ps-hero1 {
        min-height: 600px;
        height: auto;
        padding: 120px 0 80px;
    }
    
    .ps-hero1 h1 {
        font-size: 2.5rem;
    }
    
    .ps-hero1 .lead-txt {
        font-size: 1rem;
    }
    
    .ps-hero1 .globe-wrap {
        right: -120px;
        bottom: -100px;
        width: 300px;
        height: 300px;
    }
    
    .ps-inner-hero {
        min-height: 400px;
        height: auto;
        padding: 120px 0 80px;
    }
    
    .ps-inner-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .ps-inner-hero-desc {
        font-size: 1rem;
        max-width: 90%;
    }
    
    .ps-inner-hero::after {
        width: 300px;
        height: 300px;
        right: -80px;
    }
    
    .ps-cta {
        padding: 3rem 1.5rem;
    }
    
    .ps-cta h2 {
        font-size: 2rem;
    }
    
    .why-center-illustration {
        display: none;
    }
    
    /* Admin bar adjustment for tablet */
    body.admin-bar .ps-navbar-outer {
        top: calc(15px + 32px);
    }
}

@media (max-width: 768px) {
    .ps-hero1 {
        min-height: 500px;
        padding: 100px 0 60px;
    }
    
    .ps-hero1 h1 {
        font-size: 2rem;
    }
    
    .ps-navbar-outer {
        padding: 0 0.5rem;
    }
    
    .ps-navbar {
        padding: .5rem 1rem;
        border-radius: 12px;
    }
    
    .ps-inner-hero {
        min-height: 350px;
        padding: 100px 0 60px;
    }
    
    .ps-inner-hero-content h1 {
        font-size: 2rem;
    }
    
    .ps-inner-hero-desc {
        font-size: 0.95rem;
    }
    
    .ps-inner-hero::after {
        width: 200px;
        height: 200px;
        right: -60px;
    }
    
    .ps-cta h2 {
        font-size: 1.6rem;
    }
    
    .entry-content .wp-block-columns {
        flex-wrap: wrap;
    }
    
    .entry-content .wp-block-column {
        flex-basis: 100% !important;
        margin-left: 0 !important;
    }
    
    #main-content {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
}

@media (max-width: 600px) {
    .ps-hero1 {
        min-height: 450px;
        padding: 80px 0 40px;
    }
    
    .ps-hero1 h1 {
        font-size: 1.6rem;
    }
    
    .ps-inner-hero {
        min-height: 300px;
        padding: 80px 0 40px;
    }
    
    .ps-inner-hero-content h1 {
        font-size: 1.6rem;
    }
    
    .ps-inner-hero-desc {
        font-size: 0.9rem;
    }
    
    .ps-cta {
        padding: 2rem 1.2rem;
    }
    
    .ps-cta h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .ps-hero1 {
        min-height: 400px;
        padding: 70px 0 30px;
    }
    
    .ps-hero1 h1 {
        font-size: 1.4rem;
    }
    
    .ps-hero1 .lead-txt {
        font-size: 0.9rem;
    }
}

/* ============================================
   SMOOTH SCROLL
   ============================================ */
html {
    scroll-behavior: smooth;
}

/* ============================================
   INNER HERO BACKGROUND IMAGE VIA CUSTOMIZER
   ============================================ */
/* Override background if set in Customizer */
.custom-inner-hero-bg .ps-inner-hero {
    background-image: var(--inner-hero-bg, url('assets/images/inner-hero-bg.png'));
}

/* ============================================
   SIMPLE FIX - THIS WILL DEFINITELY WORK
   ============================================ */

/* Fix the root cause */
html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* Fix alignfull blocks */
.alignfull {
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    max-width: 100vw !important;
    width: 100vw !important;
    box-sizing: border-box !important;
}

/* When alignfull is inside a column - keep it contained */
.wp-block-column .alignfull {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Fix for columns inside alignfull */
.alignfull .wp-block-column {
    overflow: visible !important;
    min-width: 0 !important;
}

/* Prevent any content from overflowing */
.entry-content img,
.entry-content iframe,
.entry-content video,
.entry-content embed,
.entry-content object {
    max-width: 100%;
    height: auto;
}

.entry-content table {
    max-width: 100% !important;
    overflow-x: auto !important;
    display: block !important;
}

/* ============================================
   FOOTER MENU - WORDPRESS GENERATED
   ============================================ */

/* Target any menu in footer widget areas */
#footer-widgets .menu,
#footer-widgets .menu ul,
.footer-links-widget .menu,
.footer-links-widget .menu ul {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

#footer-widgets .menu li,
#footer-widgets .menu ul li,
.footer-links-widget .menu li,
.footer-links-widget .menu ul li {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 8px 0 !important;
    border: none !important;
    background: none !important;
}

#footer-widgets .menu li a,
#footer-widgets .menu ul li a,
.footer-links-widget .menu li a,
.footer-links-widget .menu ul li a {
    color: #ffffff !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
    padding: 0 !important;
    background: none !important;
}

#footer-widgets .menu li a:hover,
#footer-widgets .menu ul li a:hover,
.footer-links-widget .menu li a:hover,
.footer-links-widget .menu ul li a:hover {
    color: rgba(0, 130, 241, 1) !important;
    text-decoration: none !important;
    transform: translateX(4px);
}

/* Remove any bullet points or markers */
#footer-widgets .menu li::before,
#footer-widgets .menu ul li::before,
.footer-links-widget .menu li::before,
.footer-links-widget .menu ul li::before {
    display: none !important;
    content: none !important;
}

.footer-links-widget h6{
    font-family: var(--ps-font-heading);
    font-weight: 600;
    font-size: 1.125rem;
}
.footer-links-widget ul li.menu-item a{
    font-family: var(--ps-font-body);
    font-weight: normal;
    font-size: 1rem;
    color:rgba(212, 212, 216, 1)!important;
}
.footer-brand-widget{
    font-size: 1rem;
    color:rgba(212, 212, 216, 1);
}

/* ============================================
   MENU ITEM ICON SUPPORT
   ============================================ */

/* Menu items with icons */
.nav-link i,
.dropdown-item i,
.header-action-item i {
    display: inline-block;
    line-height: 1;
}

/* Icon-only items */
.nav-item.icon-only .nav-link {
    padding: 0.5rem;
    font-size: 1.2rem;
}

.nav-item.icon-only .nav-link i {
    margin-right: 0 !important;
}

.nav-item.icon-only .nav-link .menu-text {
    display: none;
}

/* Header action items with icons */
.header-action-item .btn-ps-primary i,
.header-action-item .ps-lang-pill i {
    margin-right: 0.5rem;
}

/* Language switcher specific */
.ps-lang-pill img {
    display: inline-block;
    vertical-align: middle;
}

.text-uppercase { 
    text-transform: Capitalize!important;
}

#main-content .entry-content ul.ps-approach-list li, .ps-approach-list li, ul.ps-approach-list li {
    list-style: none !important;
    list-style-image: none !important;
    position: relative;
    padding-left: 1.6rem;
    line-height: 1.5;
}

#main-content .entry-content ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.25em;
    width: 15px;
    height: 15px;
    background-image: url(assets/images/list-style1.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.ps-scope-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.25em;
    width: 15px;
    height: 15px;
    background-image: url(assets/images/list-style1.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
span.ps-service-text-accent {
    color: var(--ps-blue);
    font-weight: 600;
}
body.page-id-15 #main-content{
    padding-bottom: 0rem !important;
}