@import url('fonts.css');

body{
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
    padding-top: 180px;
}


 @media (min-width: 576px) and (max-width: 767px) {
    /* Your styles here */
    body {
        padding-top: 150px;
    }
}

h1{
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-style: normal;
}

h2 {
   font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 20px;
    letter-spacing: 1px;
}

.container-padding-75{
    padding-top: 75px;
    padding-bottom: 75px;
}


@media (max-width: 767.98px) {
    .container-fluid {
        padding-left: 0;
        padding-right: 0;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}


.mtop15{
    margin-top: 15px !important;
}

.mtop20{
    margin-top: 20px !important;
}

.mtop30{
    margin-top: 30px !important;
}
@media (max-width: 991.98px) {
    .mtop30-lg {
        margin-top: 30px;
    }
}

@media (max-width: 767.98px) {
    .mtop30-md {
        margin-top: 30px;
    }
}

@media (max-width: 575.98px) {
    .mtop30-sm {
        margin-top: 30px;
    }
}

.mtop40{
    margin-top: 40px !important;
}

.mtop50{
    margin-top: 50px !important;
}



/* ***************************** HEADER ******************************** */
/* ***************************** HEADER ******************************** */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    background-color: #fff;
    z-index: 999;
    padding-top: 30px;
    padding-bottom: 30px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}




.navMenu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Flex layout for the nav list */
.navMenu ul {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0; /* Disable flex gap since we use ::before spacing instead */
    padding-left: 0;
    margin: 0;
    list-style: none;
}

/* Reset default list style and alignment */
ul.nav {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
}

/* Nav item base styles */
ul.nav li {
    position: relative;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-style: normal;
    text-transform: uppercase;
    color: #000000;
    padding-bottom: 0;
}

/* Add the pipe between nav items, but only before the 2nd and later */
ul.nav li + li::before {
    content: "|";
    color: #000000;
    padding: 0 12px; /* Double space effect around the pipe */
}

/* Nav link base styles */
ul.nav li a {
    color: #000000;
    padding-bottom: 2px;
    text-decoration: none;
}

/* Link states */
ul.nav li a:visited,
ul.nav li a:active {
    color: #000000;
}

/* Hover behavior for text */
ul.nav li a:hover,
ul.nav li:hover {
    color: #FE0000;
}



.header .logo img{
    max-width: 100%;
    height: auto;
    width: 200px;
}



.row.align-items-center {
    display: flex;
    align-items: center;
}



.mobile-toggle {
    display: none;
    font-size: 28px;
    color: #000;
    cursor: pointer;
    position: absolute;
    top: 70px;
    padding-right: 20px;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 180px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.80);
    z-index: 1000;
    display: none;
    padding-top: 50px;
    /* align-items: center;
    justify-content: flex-end; */
    text-align: right;
}

 @media (min-width: 576px) and (max-width: 767px) {
   .mobile-nav-overlay {
      top: 150px;
   }
 }

.mobile-nav-inner {
    width: 100%;
    padding: 40px 20px;
}

.mobile-nav-overlay ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-overlay ul li {
    margin: 20px 0;
}

.mobile-nav-overlay ul li a {
    color: white;
    font-size: 24px;
    text-decoration: none;
    text-transform: uppercase;
}

.close-btn {
    font-size: 36px;
    color: white;
    position: absolute;
    top: 20px;
    right: 30px;
    cursor: pointer;
}

/* Responsive Behavior */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
        text-align: right;
    }
}


.page-banner {
    position: relative;
    background-image: url('../../images/pi-cheating-couple.jpg'); /* Replace with your image path */
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    min-height: 600px;
    overflow: hidden;
    padding-top: 50px;
    padding-bottom: 50px;
    display: flex;
    align-items: center; /* vertical centering */
    justify-content: center; /* optional: horizontal centering */
}

.aac-banner {
    background-image: url('../../images/pi-workers-comp.jpg'); /* Replace with your image path */
}
.service-banner {
    background-image: url('../../images/pi-fraud-banner.jpg'); /* Replace with your image path */
}
.contact-banner {
    background-image: url('../../images/pi-softball-slide.jpg'); /* Replace with your image path */
}

.page-banner .overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Black at 50% opacity */
    z-index: 1;
}

.home-banner-content{
    position: relative;
    z-index: 2;

    text-align: left;
    color: white;
}

.home-banner-content h1{
    font-family: "Ubuntu", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 20px;
}

.home-banner-content h1 span.h1-big-text, h2.h1-big-text, .home-banner-content h1 span.h1-big-text-smaller{
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 70px;
    display: block;
    margin-top: 20px;
}

@media (max-width: 767.98px) {
    .home-banner-content h1 span.h1-big-text, h2.h1-big-text{
        font-size: 50px;
    }
    .home-banner-content h1 span.h1-big-text-smaller{
        font-size: 45px;
    }

}

.border-button {
    position: relative;
    padding: 12px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    overflow: hidden;
    z-index: 1; /* text is above borders */
    margin-top: 30px;
    display: inline-block;
    text-decoration: none;
}

/* Add border box and layering to pseudo-elements */
.border-button::before,
.border-button::after {
    content: '';
    position: absolute;
    box-sizing: border-box;
    border: 2px solid #FE0000;
    width: 20px;
    height: 20px;
    transition: all 0.4s ease;
    z-index: 0; /* send behind text */
}

/* Top-left corner */
.border-button::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

/* Bottom-right corner */
.border-button::after {
    bottom: 0;
    right: 0;
    border-top: none;
    border-left: none;
}

/* Animate full border on hover */
.border-button:hover::before,
.border-button:hover::after {
    width: 100%;
    height: 100%;
    border
    }


.simple-carousel-fade {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background-color: #000;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 0;
    animation: fade-carousel 16s infinite;
    padding: 0;
}

.carousel-slide:nth-child(1) {
    animation-delay: 0s;
}

.carousel-slide:nth-child(2) {
    animation-delay: 4s;
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px 15px;
    font-size: 18px;
    box-sizing: border-box;
    z-index: 2;
    text-align: left;
    padding-left: 20px;
    padding-right: 20px;
}

.carousel-slide:nth-child(1) { animation-delay: 0s; }
.carousel-slide:nth-child(2) { animation-delay: 4s; }
.carousel-slide:nth-child(3) { animation-delay: 8s; }
.carousel-slide:nth-child(4) { animation-delay: 12s; }

/* ✨ Crossfade keyframes */
@keyframes fade-carousel {
    0%   { opacity: 0; z-index: 0; }
    10%  { opacity: 1; z-index: 1; }
    45%  { opacity: 1; z-index: 1; }
    55%  { opacity: 0; z-index: 0; }
    100% { opacity: 0; z-index: 0; }
}

.hp-row-subtitle{
    font-size: 20px;
    letter-spacing: 1px;
}

h2.hp-row{
   font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 40px;
}

.hp-row-horz-bar-sm{
    height: 5px;
    width: 75px;
    background-color: #FE0000;
    margin-top: 20px;
}


/* Default rotation state */
.rotating-border {
    width: 75px;
    height: 75px;
    border: 1px solid #FE0000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-in-out;
    position: relative;
}

/* Font Awesome icon style */
.icon-wrapper {
    position: absolute;
    font-size: 32px;
    color: #FE0000;
    pointer-events: none;
    transition: transform 0.3s ease-in-out;
}

/* Rotate border when the parent .col-6 is hovered */
.col-6:hover .rotating-border {
    transform: rotate(45deg);
}

/* Counter-rotate icon to keep it upright */
.col-6:hover .icon-wrapper {
    transform: rotate(-45deg);
}

.md-va-pa-map{
    width: 100%;
    text-align: center;
}

.md-va-pa-map img{
    width: 100%;
    height: auto;
    max-width: 400px;
}

.footer{
    font-size: 85%;
    letter-spacing: 0.5 px;
}


.footlinks a{
    color: black;
    text-decoration: none;
}

.footlinks a:hover{
    color: #FE0000;
    text-decoration: underline;
}


ul.mylist {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

ul.mylist li::before {
    content: "\00bb "; /* plain text chevron */
    color: #FE0000;
    font-weight: normal;
    position: relative;
    left: 0;
    margin-right: 8px;
}

ul.mylist li {
    text-indent: 0px;
    padding-bottom: 10px;
}

.myform input{
    min-height: 40px;
    margin-top: 7px;
}

.myform select{
    width: 100%;
    margin-top: 7px;
}

.myform .form-radio-input {
    margin-top: -3px; /* vertically align with label text */
    height: 20px;
    width: 20px;
}

.myform label{
    display:block;
}

.sbox {
    visibility: hidden;
}

.horz-bottom{
    width: 100%;
    height: 5px;
    background-color: #FE0000;
    margin-bottom: 10px;
}

.contact-icon{
    font-size: 28px;
}

.contact-text{
    font-size: 20px;
    margin-top: 5px;
}



@media (min-width: 768px) {
    .contact-us-div {
        padding-right: 30px;
    }

    .contact-form-div {
        border-left: solid thin #ccc;
        padding-left: 40px;
        padding-right: 20px;
    }
}

.contact-text a, .contact-icon a{
    color: #000000;
    text-decoration: none;
}

.contact-text a:hover, .contact-icon a:hover{
    color: #FE0000;
    text-decoration: none;
}
